Skip to content

Commit

Permalink
Fix #2229. Add TBA snippet for table
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelong committed Aug 24, 2020
1 parent e1a1bd8 commit ca36145
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snippets/latex.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@
"body": "\\begin{figure}[${1:htbp}]\n\t\\centering\n\t$0\n\t\\caption{${2:<caption>}}\n\t\\label{${3:<label>}}\n\\end{figure}",
"description": "Insert a new figure"
},
"table": {
"prefix": "BTA",
"body": "\\begin{table}[${1:htbp}]\n\t\\centering\\begin{tabular}{${4:<columns>}}\n\t\t$0\n\t\\end{tabular}\n\t\\caption{${2:<caption>}}\n\t\\label{${3:<label>}}\n\\end{table}",
"description": "Insert a new figure"

This comment has been minimized.

Copy link
@bagustris

bagustris Oct 5, 2020

The description for "BTA" should be "Insert a new Table"

},
"tikzpicture": {
"prefix": "BTP",
"body": "\\begin{tikzpicture}\n\t$0\n\\end{tikzpicture}",
Expand Down

1 comment on commit ca36145

@bagustris
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to request that caption of Table is located in the top by default. It is unnatural to have Table's caption in the bottom and I need to cut paste the caption once I triggered BTA for Table snippet.

Please sign in to comment.