Skip to content

Commit

Permalink
Merge pull request #3984 from legokol/master-1
Browse files Browse the repository at this point in the history
Added extra tabs and new lines to snippets for table
  • Loading branch information
James-Yu authored Aug 17, 2023
2 parents 940f441 + 8b69ade commit 856eaee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/latex-snippet.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@
},
"table (caption after tabular)": {
"prefix": "BTA",
"body": "\\begin{table}[${1:htbp}]\n\t\\centering\\begin{tabular}{${4:<columns>}}\n\t\t${0:${TM_SELECTED_TEXT}}\n\t\\end{tabular}\n\t\\caption{${2:<caption>}}\n\t\\label{${3:<label>}}\n\\end{table}",
"body": "\\begin{table}[${1:htbp}]\n\t\\centering\n\t\\begin{tabular}{${4:<columns>}}\n\t\t${0:${TM_SELECTED_TEXT}}\n\t\\end{tabular}\n\t\\caption{${2:<caption>}}\n\t\\label{${3:<label>}}\n\\end{table}",
"description": "table"
},
"table (caption before tabular)": {
"prefix": "BTB",
"body": "\\begin{table}[${1:htbp}]\n\t\\centering\t\\caption{${2:<caption>}}\n\t\\label{${3:<label>}}\n\\begin{tabular}{${4:<columns>}}\n\t\t${0:${TM_SELECTED_TEXT}}\n\t\\end{tabular}\n\\end{table}",
"body": "\\begin{table}[${1:htbp}]\n\t\\centering\n\t\\caption{${2:<caption>}}\n\t\\label{${3:<label>}}\n\t\\begin{tabular}{${4:<columns>}}\n\t\t${0:${TM_SELECTED_TEXT}}\n\t\\end{tabular}\n\\end{table}",
"description": "table"
},
"tikzpicture": {
Expand Down

0 comments on commit 856eaee

Please sign in to comment.