add cite and ref commands
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
id = "latexnips"
|
id = "latexnips"
|
||||||
name = "Latex Snippets"
|
name = "Latex Snippets"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
schema_version = 1
|
schema_version = 1
|
||||||
authors = ["Phani Pavan K <kphanipavan@gmail.com>"]
|
authors = ["Phani Pavan K <kphanipavan@gmail.com>"]
|
||||||
description = "Common Latex Snippets, common action from overleaf toolbar."
|
description = "Common Latex Snippets, common action from overleaf toolbar."
|
||||||
|
|||||||
@@ -39,5 +39,15 @@
|
|||||||
"prefix": "tab",
|
"prefix": "tab",
|
||||||
"body": "\\begin{table}[htb!]\n \\begin{center}\n \\caption{${1:caption}}\n \\label{tab:${2:label}}\n \\resizebox{1\\linewidth}{!}{\n \\begin{tabular}{${3:columns}}\n ${4:data}\n \\end{tabular}}\n \\end{center}\n\\end{table}",
|
"body": "\\begin{table}[htb!]\n \\begin{center}\n \\caption{${1:caption}}\n \\label{tab:${2:label}}\n \\resizebox{1\\linewidth}{!}{\n \\begin{tabular}{${3:columns}}\n ${4:data}\n \\end{tabular}}\n \\end{center}\n\\end{table}",
|
||||||
"description": "Adds table template"
|
"description": "Adds table template"
|
||||||
}
|
},
|
||||||
|
"Citation": {
|
||||||
|
"prefix": "cit",
|
||||||
|
"body": "~\\cite{${1:citation}}",
|
||||||
|
"description": "Adds the Cite command"
|
||||||
|
},
|
||||||
|
"Reference": {
|
||||||
|
"prefix": "ref",
|
||||||
|
"body": "~\\ref{${1:citation}}",
|
||||||
|
"description": "Adds the Ref command"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user