optimised tab movement

This commit is contained in:
Phani Pavan K
2025-12-17 12:29:40 +05:30
parent a7d022b928
commit 4db5972986

View File

@@ -1,7 +1,7 @@
{ {
"Figure": { "Figure": {
"prefix": "fig", "prefix": "fig",
"body":"\\begin{figure}[htp!]\n \\centering\n \\includegraphics[width=1\\linewidth]{${1:fig_path}}\n \\caption{${2:caption}}\n \\label{fig:${3:label}}\n\\end{figure}\n${4:end}", "body":"\\begin{figure}[htp!]\n \\centering\n \\includegraphics[width=1\\linewidth]{${1:fig_path}}\n \\caption{${3:caption}}\n \\label{fig:${2:label}}\n\\end{figure}\n${4:end}",
"description": "Inserts a figure", "description": "Inserts a figure",
}, },
@@ -22,22 +22,22 @@
}, },
"Section": { "Section": {
"prefix": "sec", "prefix": "sec",
"body": "\\section{${1:section}}", "body": "\\section{${1:section}}\n${2:text}",
"description": "Adds the section command" "description": "Adds the section command"
}, },
"Sub-Section": { "Sub-Section": {
"prefix": "ssc", "prefix": "ssc",
"body": "\\subsection{${1:section}}", "body": "\\subsection{${1:section}}\n${2:text}",
"description": "Adds the subsection command" "description": "Adds the subsection command"
}, },
"Sub-Sub-Section": { "Sub-Sub-Section": {
"prefix": "sss", "prefix": "sss",
"body": "\\subsubsection{${1:section}}", "body": "\\subsubsection{${1:section}}\n${2:text}",
"description": "Adds the subsubsection command" "description": "Adds the subsubsection command"
}, },
"Table": { "Table": {
"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}[htpb!]\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": { "Citation": {