|
107 | 107 | "\t\\floatname{algorithm}{${1:Algorithm}}",
|
108 | 108 | "\t\\algrenewcommand\\algorithmicrequire{\\textbf{${2:Input: }}}",
|
109 | 109 | "\t\\algrenewcommand\\algorithmicensure{\\textbf{${3:Output: }}}",
|
110 |
| - "\t\\caption{$4}\\label{alg:$5}", |
| 110 | + "\t\\caption{$4}%", |
| 111 | + "\t\\label{alg:$5}", |
111 | 112 | "\t\\begin{algorithmic}[1]",
|
112 | 113 | "\t\t\\Require \\$input\\$",
|
113 | 114 | "\t\t\\Ensure \\$output\\$",
|
|
282 | 283 | "\t\\begin{center}",
|
283 | 284 | "\t\t\\includegraphics[width=0.95\\textwidth]{figures/$1}",
|
284 | 285 | "\t\\end{center}",
|
285 |
| - "\t\\caption{$3}\\label{fig:$4}", |
| 286 | + "\t\\caption{$3}%", |
| 287 | + "\t\\label{fig:$4}", |
286 | 288 | "\\end{figure}",
|
287 | 289 | "$0"
|
288 | 290 | ],
|
|
293 | 295 | "body": [
|
294 | 296 | "\\begin{figure}",
|
295 | 297 | "\t\\includegraphics[width=0.45\\textwidth]{figures/$1}",
|
296 |
| - "\t\\caption{$2}\\label{fig:$3}", |
| 298 | + "\t\\caption{$2}%", |
| 299 | + "\t\\label{fig:$3}", |
297 | 300 | "\\end{figure}",
|
298 | 301 | "$0"
|
299 | 302 | ],
|
|
304 | 307 | "body": [
|
305 | 308 | "\\begin{figure*}",
|
306 | 309 | "\t\\includegraphics[width=0.45\\textwidth]{figures/$1}",
|
307 |
| - "\t\\caption{$2}\\label{fig:$3}", |
| 310 | + "\t\\caption{$2}%", |
| 311 | + "\t\\label{fig:$3}", |
308 | 312 | "\\end{figure*}",
|
309 | 313 | "$0"
|
310 | 314 | ],
|
|
314 | 318 | "prefix": "table",
|
315 | 319 | "body": [
|
316 | 320 | "\\begin{table}",
|
317 |
| - "\t\\caption{$1}\\label{tab:$2}", |
| 321 | + "\t\\caption{$1}%", |
| 322 | + "\t\\label{tab:$2}", |
318 | 323 | "\t\\begin{center}",
|
319 | 324 | "\t\t\\begin{tabular}[c]{l|l}",
|
320 | 325 | "\t\t\t\\hline",
|
|
336 | 341 | "prefix": "table:acm",
|
337 | 342 | "body": [
|
338 | 343 | "\\begin{table}",
|
339 |
| - "\t\\caption{$1}\\label{tab:$2}", |
| 344 | + "\t\\caption{$1}%", |
| 345 | + "\t\\label{tab:$2}", |
340 | 346 | "\t\\begin{tabular}{${3:ccl}}",
|
341 | 347 | "\t\t\\toprule",
|
342 | 348 | "\t\t$4",
|
|
354 | 360 | "prefix": "table:acm:*",
|
355 | 361 | "body": [
|
356 | 362 | "\\begin{table*}",
|
357 |
| - "\t\\caption{$1}\\label{tab:$2}", |
| 363 | + "\t\\caption{$1}%", |
| 364 | + "\t\\label{tab:$2}", |
358 | 365 | "\t\\begin{tabular}{${3:ccl}}",
|
359 | 366 | "\t\t\\toprule",
|
360 | 367 | "\t\t$4",
|
|
0 commit comments