generator-latex-template 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/generators/app/index.js +161 -100
- package/generators/app/templates/Dockerfile.dante +9 -0
- package/generators/app/templates/Dockerfile.reitzig +25 -0
- package/generators/app/templates/Makefile +0 -13
- package/generators/app/templates/README.en.md +30 -22
- package/generators/app/templates/Texlivefile +98 -0
- package/generators/app/templates/bibliography.bib +11 -0
- package/generators/app/templates/dot.dockerignore +429 -0
- package/generators/app/templates/figure.example.en.tex +1 -1
- package/generators/app/templates/font.preamble.en.tex +1 -4
- package/generators/app/templates/{dot.latexmkrc → latexmkrc} +3 -3
- package/generators/app/templates/main.de.tex +3 -0
- package/generators/app/templates/main.en.tex +42 -23
- package/generators/app/templates/siunitx.preamble.en.tex +0 -5
- package/package.json +9 -9
- package/CHANGELOG.md +0 -76
- package/generators/app/templates/bibliography.bib.bak +0 -37
- package/generators/app/templates/main.de.pdf +0 -0
- package/generators/app/templates/main.de.synctex.gz +0 -0
- package/generators/app/templates/main.en.aux +0 -3
- package/generators/app/templates/main.en.fdb_latexmk +0 -38
- package/generators/app/templates/main.en.fls +0 -52
- package/generators/app/templates/main.en.log +0 -251
- package/generators/app/templates/main.en.pdf +0 -0
- package/generators/app/templates/main.en.synctex.gz +0 -0
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
Dockerfile
|
|
2
|
+
|
|
3
|
+
main.pdf
|
|
4
|
+
main-*.pdf
|
|
5
|
+
graphics/*.pdf_tex
|
|
6
|
+
democode.tex
|
|
7
|
+
|
|
8
|
+
# plantuml
|
|
9
|
+
*-plantuml.latex
|
|
10
|
+
*-plantuml.txt
|
|
11
|
+
|
|
12
|
+
# latexindent
|
|
13
|
+
*.bak
|
|
14
|
+
*.bak?
|
|
15
|
+
*.bak??
|
|
16
|
+
|
|
17
|
+
# tex4ht
|
|
18
|
+
*.4ct
|
|
19
|
+
*.4tc
|
|
20
|
+
|
|
21
|
+
# configured in packages_and_options.tex
|
|
22
|
+
*.code
|
|
23
|
+
|
|
24
|
+
# IntelliJ
|
|
25
|
+
.idea/
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Created by https://www.gitignore.io/api/code,latex,linux,emacs,jabref,windows,libreoffice,microsoftoffice
|
|
31
|
+
# Edit at https://www.gitignore.io/?templates=code,latex,linux,emacs,jabref,windows,libreoffice,microsoftoffice
|
|
32
|
+
|
|
33
|
+
### Code ###
|
|
34
|
+
.vscode/*
|
|
35
|
+
!.vscode/settings.json
|
|
36
|
+
!.vscode/tasks.json
|
|
37
|
+
!.vscode/launch.json
|
|
38
|
+
!.vscode/extensions.json
|
|
39
|
+
|
|
40
|
+
### Emacs ###
|
|
41
|
+
# -*- mode: gitignore; -*-
|
|
42
|
+
*~
|
|
43
|
+
\#*\#
|
|
44
|
+
/.emacs.desktop
|
|
45
|
+
/.emacs.desktop.lock
|
|
46
|
+
*.elc
|
|
47
|
+
auto-save-list
|
|
48
|
+
tramp
|
|
49
|
+
.\#*
|
|
50
|
+
|
|
51
|
+
# Org-mode
|
|
52
|
+
.org-id-locations
|
|
53
|
+
*_archive
|
|
54
|
+
|
|
55
|
+
# flymake-mode
|
|
56
|
+
*_flymake.*
|
|
57
|
+
|
|
58
|
+
# eshell files
|
|
59
|
+
/eshell/history
|
|
60
|
+
/eshell/lastdir
|
|
61
|
+
|
|
62
|
+
# elpa packages
|
|
63
|
+
/elpa/
|
|
64
|
+
|
|
65
|
+
# reftex files
|
|
66
|
+
*.rel
|
|
67
|
+
|
|
68
|
+
# AUCTeX auto folder
|
|
69
|
+
/auto/
|
|
70
|
+
|
|
71
|
+
# cask packages
|
|
72
|
+
.cask/
|
|
73
|
+
dist/
|
|
74
|
+
|
|
75
|
+
# Flycheck
|
|
76
|
+
flycheck_*.el
|
|
77
|
+
|
|
78
|
+
# server auth directory
|
|
79
|
+
/server/
|
|
80
|
+
|
|
81
|
+
# projectiles files
|
|
82
|
+
.projectile
|
|
83
|
+
|
|
84
|
+
# directory configuration
|
|
85
|
+
.dir-locals.el
|
|
86
|
+
|
|
87
|
+
# network security
|
|
88
|
+
/network-security.data
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### JabRef ###
|
|
92
|
+
# JabRef - https://www.jabref.org/
|
|
93
|
+
*.bak
|
|
94
|
+
*.sav
|
|
95
|
+
|
|
96
|
+
### LaTeX ###
|
|
97
|
+
## Core latex/pdflatex auxiliary files:
|
|
98
|
+
*.aux
|
|
99
|
+
*.lof
|
|
100
|
+
*.log
|
|
101
|
+
*.lot
|
|
102
|
+
*.fls
|
|
103
|
+
*.out
|
|
104
|
+
*.toc
|
|
105
|
+
*.fmt
|
|
106
|
+
*.fot
|
|
107
|
+
*.cb
|
|
108
|
+
*.cb2
|
|
109
|
+
.*.lb
|
|
110
|
+
|
|
111
|
+
## Intermediate documents:
|
|
112
|
+
*.dvi
|
|
113
|
+
*.xdv
|
|
114
|
+
*-converted-to.*
|
|
115
|
+
# these rules might exclude image files for figures etc.
|
|
116
|
+
# *.ps
|
|
117
|
+
# *.eps
|
|
118
|
+
# *.pdf
|
|
119
|
+
|
|
120
|
+
## Generated if empty string is given at "Please type another file name for output:"
|
|
121
|
+
.pdf
|
|
122
|
+
|
|
123
|
+
## Bibliography auxiliary files (bibtex/biblatex/biber):
|
|
124
|
+
*.bbl
|
|
125
|
+
*.bcf
|
|
126
|
+
*.blg
|
|
127
|
+
*-blx.aux
|
|
128
|
+
*-blx.bib
|
|
129
|
+
*.run.xml
|
|
130
|
+
|
|
131
|
+
## Build tool auxiliary files:
|
|
132
|
+
*.fdb_latexmk
|
|
133
|
+
*.synctex
|
|
134
|
+
*.synctex(busy)
|
|
135
|
+
*.synctex.gz
|
|
136
|
+
*.synctex.gz(busy)
|
|
137
|
+
*.pdfsync
|
|
138
|
+
|
|
139
|
+
## Build tool directories for auxiliary files
|
|
140
|
+
# latexrun
|
|
141
|
+
latex.out/
|
|
142
|
+
|
|
143
|
+
## Auxiliary and intermediate files from other packages:
|
|
144
|
+
# algorithms
|
|
145
|
+
*.alg
|
|
146
|
+
*.loa
|
|
147
|
+
|
|
148
|
+
# achemso
|
|
149
|
+
acs-*.bib
|
|
150
|
+
|
|
151
|
+
# amsthm
|
|
152
|
+
*.thm
|
|
153
|
+
|
|
154
|
+
# beamer
|
|
155
|
+
*.nav
|
|
156
|
+
*.pre
|
|
157
|
+
*.snm
|
|
158
|
+
*.vrb
|
|
159
|
+
|
|
160
|
+
# changes
|
|
161
|
+
*.soc
|
|
162
|
+
|
|
163
|
+
# comment
|
|
164
|
+
*.cut
|
|
165
|
+
|
|
166
|
+
# cprotect
|
|
167
|
+
*.cpt
|
|
168
|
+
|
|
169
|
+
# elsarticle (documentclass of Elsevier journals)
|
|
170
|
+
*.spl
|
|
171
|
+
|
|
172
|
+
# endnotes
|
|
173
|
+
*.ent
|
|
174
|
+
|
|
175
|
+
# fixme
|
|
176
|
+
*.lox
|
|
177
|
+
|
|
178
|
+
# feynmf/feynmp
|
|
179
|
+
*.mf
|
|
180
|
+
*.mp
|
|
181
|
+
*.t[1-9]
|
|
182
|
+
*.t[1-9][0-9]
|
|
183
|
+
*.tfm
|
|
184
|
+
|
|
185
|
+
#(r)(e)ledmac/(r)(e)ledpar
|
|
186
|
+
*.end
|
|
187
|
+
*.?end
|
|
188
|
+
*.[1-9]
|
|
189
|
+
*.[1-9][0-9]
|
|
190
|
+
*.[1-9][0-9][0-9]
|
|
191
|
+
*.[1-9]R
|
|
192
|
+
*.[1-9][0-9]R
|
|
193
|
+
*.[1-9][0-9][0-9]R
|
|
194
|
+
*.eledsec[1-9]
|
|
195
|
+
*.eledsec[1-9]R
|
|
196
|
+
*.eledsec[1-9][0-9]
|
|
197
|
+
*.eledsec[1-9][0-9]R
|
|
198
|
+
*.eledsec[1-9][0-9][0-9]
|
|
199
|
+
*.eledsec[1-9][0-9][0-9]R
|
|
200
|
+
|
|
201
|
+
# glossaries
|
|
202
|
+
*.acn
|
|
203
|
+
*.acr
|
|
204
|
+
*.glg
|
|
205
|
+
*.glo
|
|
206
|
+
*.gls
|
|
207
|
+
*.glsdefs
|
|
208
|
+
|
|
209
|
+
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
|
|
210
|
+
# *.ist
|
|
211
|
+
|
|
212
|
+
# gnuplottex
|
|
213
|
+
*-gnuplottex-*
|
|
214
|
+
|
|
215
|
+
# gregoriotex
|
|
216
|
+
*.gaux
|
|
217
|
+
*.gtex
|
|
218
|
+
|
|
219
|
+
# htlatex
|
|
220
|
+
*.4ct
|
|
221
|
+
*.4tc
|
|
222
|
+
*.idv
|
|
223
|
+
*.lg
|
|
224
|
+
*.trc
|
|
225
|
+
*.xref
|
|
226
|
+
|
|
227
|
+
# hyperref
|
|
228
|
+
*.brf
|
|
229
|
+
|
|
230
|
+
# knitr
|
|
231
|
+
*-concordance.tex
|
|
232
|
+
# TODO Comment the next line if you want to keep your tikz graphics files
|
|
233
|
+
*.tikz
|
|
234
|
+
*-tikzDictionary
|
|
235
|
+
|
|
236
|
+
# listings
|
|
237
|
+
*.lol
|
|
238
|
+
|
|
239
|
+
# luatexja-ruby
|
|
240
|
+
*.ltjruby
|
|
241
|
+
|
|
242
|
+
# makeidx
|
|
243
|
+
*.idx
|
|
244
|
+
*.ilg
|
|
245
|
+
*.ind
|
|
246
|
+
|
|
247
|
+
# minitoc
|
|
248
|
+
*.maf
|
|
249
|
+
*.mlf
|
|
250
|
+
*.mlt
|
|
251
|
+
*.mtc[0-9]*
|
|
252
|
+
*.slf[0-9]*
|
|
253
|
+
*.slt[0-9]*
|
|
254
|
+
*.stc[0-9]*
|
|
255
|
+
|
|
256
|
+
# minted
|
|
257
|
+
_minted*
|
|
258
|
+
*.pyg
|
|
259
|
+
|
|
260
|
+
# morewrites
|
|
261
|
+
*.mw
|
|
262
|
+
|
|
263
|
+
# nomencl
|
|
264
|
+
*.nlg
|
|
265
|
+
*.nlo
|
|
266
|
+
*.nls
|
|
267
|
+
|
|
268
|
+
# pax
|
|
269
|
+
*.pax
|
|
270
|
+
|
|
271
|
+
# pdfpcnotes
|
|
272
|
+
*.pdfpc
|
|
273
|
+
|
|
274
|
+
# sagetex
|
|
275
|
+
*.sagetex.sage
|
|
276
|
+
*.sagetex.py
|
|
277
|
+
*.sagetex.scmd
|
|
278
|
+
|
|
279
|
+
# scrwfile
|
|
280
|
+
*.wrt
|
|
281
|
+
|
|
282
|
+
# sympy
|
|
283
|
+
*.sout
|
|
284
|
+
*.sympy
|
|
285
|
+
sympy-plots-for-*.tex/
|
|
286
|
+
|
|
287
|
+
# pdfcomment
|
|
288
|
+
*.upa
|
|
289
|
+
*.upb
|
|
290
|
+
|
|
291
|
+
# pythontex
|
|
292
|
+
*.pytxcode
|
|
293
|
+
pythontex-files-*/
|
|
294
|
+
|
|
295
|
+
# tcolorbox
|
|
296
|
+
*.listing
|
|
297
|
+
|
|
298
|
+
# thmtools
|
|
299
|
+
*.loe
|
|
300
|
+
|
|
301
|
+
# TikZ & PGF
|
|
302
|
+
*.dpth
|
|
303
|
+
*.md5
|
|
304
|
+
*.auxlock
|
|
305
|
+
|
|
306
|
+
# todonotes
|
|
307
|
+
*.tdo
|
|
308
|
+
|
|
309
|
+
# vhistory
|
|
310
|
+
*.hst
|
|
311
|
+
*.ver
|
|
312
|
+
|
|
313
|
+
# easy-todo
|
|
314
|
+
*.lod
|
|
315
|
+
|
|
316
|
+
# xcolor
|
|
317
|
+
*.xcp
|
|
318
|
+
|
|
319
|
+
# xmpincl
|
|
320
|
+
*.xmpi
|
|
321
|
+
|
|
322
|
+
# xindy
|
|
323
|
+
*.xdy
|
|
324
|
+
|
|
325
|
+
# xypic precompiled matrices
|
|
326
|
+
*.xyc
|
|
327
|
+
|
|
328
|
+
# endfloat
|
|
329
|
+
*.ttt
|
|
330
|
+
*.fff
|
|
331
|
+
|
|
332
|
+
# Latexian
|
|
333
|
+
TSWLatexianTemp*
|
|
334
|
+
|
|
335
|
+
## Editors:
|
|
336
|
+
# WinEdt
|
|
337
|
+
|
|
338
|
+
# Texpad
|
|
339
|
+
.texpadtmp
|
|
340
|
+
|
|
341
|
+
# LyX
|
|
342
|
+
*.lyx~
|
|
343
|
+
|
|
344
|
+
# Kile
|
|
345
|
+
*.backup
|
|
346
|
+
|
|
347
|
+
# KBibTeX
|
|
348
|
+
*~[0-9]*
|
|
349
|
+
|
|
350
|
+
# auto folder when using emacs and auctex
|
|
351
|
+
./auto/*
|
|
352
|
+
*.el
|
|
353
|
+
|
|
354
|
+
# expex forward references with \gathertags
|
|
355
|
+
*-tags.tex
|
|
356
|
+
|
|
357
|
+
# standalone packages
|
|
358
|
+
*.sta
|
|
359
|
+
|
|
360
|
+
### LaTeX Patch ###
|
|
361
|
+
# glossaries
|
|
362
|
+
*.glstex
|
|
363
|
+
|
|
364
|
+
### LibreOffice ###
|
|
365
|
+
# LibreOffice locks
|
|
366
|
+
.~lock.*#
|
|
367
|
+
|
|
368
|
+
### Linux ###
|
|
369
|
+
|
|
370
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
371
|
+
.fuse_hidden*
|
|
372
|
+
|
|
373
|
+
# KDE directory preferences
|
|
374
|
+
.directory
|
|
375
|
+
|
|
376
|
+
# Linux trash folder which might appear on any partition or disk
|
|
377
|
+
.Trash-*
|
|
378
|
+
|
|
379
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
|
380
|
+
.nfs*
|
|
381
|
+
|
|
382
|
+
### MicrosoftOffice ###
|
|
383
|
+
*.tmp
|
|
384
|
+
|
|
385
|
+
# Word temporary
|
|
386
|
+
~$*.doc*
|
|
387
|
+
|
|
388
|
+
# Word Auto Backup File
|
|
389
|
+
Backup of *.doc*
|
|
390
|
+
|
|
391
|
+
# Excel temporary
|
|
392
|
+
~$*.xls*
|
|
393
|
+
|
|
394
|
+
# Excel Backup File
|
|
395
|
+
*.xlk
|
|
396
|
+
|
|
397
|
+
# PowerPoint temporary
|
|
398
|
+
~$*.ppt*
|
|
399
|
+
|
|
400
|
+
# Visio autosave temporary files
|
|
401
|
+
*.~vsd*
|
|
402
|
+
|
|
403
|
+
### Windows ###
|
|
404
|
+
# Windows thumbnail cache files
|
|
405
|
+
Thumbs.db
|
|
406
|
+
Thumbs.db:encryptable
|
|
407
|
+
ehthumbs.db
|
|
408
|
+
ehthumbs_vista.db
|
|
409
|
+
|
|
410
|
+
# Dump file
|
|
411
|
+
*.stackdump
|
|
412
|
+
|
|
413
|
+
# Folder config file
|
|
414
|
+
[Dd]esktop.ini
|
|
415
|
+
|
|
416
|
+
# Recycle Bin used on file shares
|
|
417
|
+
$RECYCLE.BIN/
|
|
418
|
+
|
|
419
|
+
# Windows Installer files
|
|
420
|
+
*.cab
|
|
421
|
+
*.msi
|
|
422
|
+
*.msix
|
|
423
|
+
*.msm
|
|
424
|
+
*.msp
|
|
425
|
+
|
|
426
|
+
# Windows shortcuts
|
|
427
|
+
*.lnk
|
|
428
|
+
|
|
429
|
+
# End of https://www.gitignore.io/api/code,latex,linux,emacs,jabref,windows,libreoffice,microsoftoffice
|
|
@@ -15,8 +15,8 @@ Figure~\ref{fig:label} shows something interesting.
|
|
|
15
15
|
\end{figure}
|
|
16
16
|
<%- eexample %>
|
|
17
17
|
<%- include('floatflt.example.en.tex', this); %>
|
|
18
|
-
|
|
19
18
|
<% if (documentclass == 'ieee') { -%>
|
|
19
|
+
|
|
20
20
|
One can span a figure across mulitple columns by using \verb+\begin{figure*}+.
|
|
21
21
|
See <% if (cleveref) { %>\cref<% } else { %>Fig.~\ref<% } %>{fig:16x9} as an example.
|
|
22
22
|
|
|
@@ -45,10 +45,7 @@ lualatex
|
|
|
45
45
|
\setmonofont[StylisticSet={1,3},Scale=.9]{Inconsolatazi4}
|
|
46
46
|
<% } -%>
|
|
47
47
|
<% break; default: -%>
|
|
48
|
-
<%
|
|
49
|
-
<%# no special configuration required for lualatex to use the LaTeX default font.
|
|
50
|
-
See https://tex.stackexchange.com/a/423225/9075 for details
|
|
51
|
-
} else if (documentclass === 'ieee' { -%>
|
|
48
|
+
<% if (documentclass === 'ieee') { -%>
|
|
52
49
|
<%# The default font configuration of the IEEE template is used -%>
|
|
53
50
|
<% } else { -%>
|
|
54
51
|
<%# Default LaTeX Font and LuaLaTeX -%>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
#Remove it, it you want lualatex to stop on errors
|
|
3
|
-
$pdflatex = '<%= latexcompiler %> <% if (requiresShellEscape) { %>--shell-escape <% }
|
|
1
|
+
# `-file-line-error` is similar to `--interaction nonstopmode`, but shows the concrete line number
|
|
2
|
+
# Remove it, it you want lualatex to stop on errors
|
|
3
|
+
$pdflatex = '<%= latexcompiler %> <% if (requiresShellEscape) { %>--shell-escape <% } %>--interaction nonstopmode --synctex=-1 %O %S | texlogsieve';
|
|
4
4
|
|
|
5
5
|
#Use SumatraPDF instead of the default PDF viewer
|
|
6
6
|
$pdf_previewer = 'start "C:\Program Files\SumatraPDF\SumatraPDF.exe"';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
<% if (preparereitzig) { -%>
|
|
2
|
+
\RequirePackage{snapshot}
|
|
3
|
+
<% } -%>
|
|
1
4
|
<% switch (documentclass) { case "lncs": -%>
|
|
2
5
|
% This template has been tested with LLNCS DOCUMENT CLASS -- version 2.20 (10-Mar-2018)
|
|
3
6
|
|
|
@@ -13,12 +16,6 @@
|
|
|
13
16
|
<% } -%>
|
|
14
17
|
% !BIB program = <%= bibtextool %>
|
|
15
18
|
% -*- coding:utf-8 mod:LaTeX -*-
|
|
16
|
-
<% if (documentclass == 'scientific-thesis') { -%>
|
|
17
|
-
|
|
18
|
-
% EN: The following package allows \\ at the title page
|
|
19
|
-
% For more information see https://github.com/latextemplates/scientific-thesis-cover/issues/4
|
|
20
|
-
\RequirePackage{kvoptions-patch}
|
|
21
|
-
<% } -%>
|
|
22
19
|
<% switch (documentclass) { case "lncs": -%>
|
|
23
20
|
|
|
24
21
|
% "a4paper" enables:
|
|
@@ -42,10 +39,13 @@
|
|
|
42
39
|
% To disable outputting page headers and footers, remove "runningheads"
|
|
43
40
|
\documentclass[runningheads,a4paper,english]{llncs}[2018/03/10]
|
|
44
41
|
<% break; case "acmart": -%>
|
|
42
|
+
|
|
43
|
+
<% if (texlive >= 2021) { -%>
|
|
45
44
|
% We balance the last page using the package "pbalance" (see https://ctan.org/pkg/pbalance), because it "just works" (in contrast to balance.sty or other solutions)
|
|
46
|
-
|
|
47
|
-
\documentclass[
|
|
45
|
+
<% } -%>
|
|
46
|
+
\documentclass[<%= acm_format %>,<% if (acm_review) { %>review,<% } %><% if (texlive >= 2021) { %>pbalance<% } else { %>balance<% } %>]{acmart}
|
|
48
47
|
<% break; case "ieee": -%>
|
|
48
|
+
|
|
49
49
|
% DO NOT DOWNLOAD IEEEtran.cls - Use the one of your LaTeX distribution
|
|
50
50
|
% For the final version, replace "draftcls" by "final"
|
|
51
51
|
\documentclass[<%= ieee_variant %>,<%= papersize %>paper]{IEEEtran}[2015/08/26]
|
|
@@ -60,7 +60,11 @@
|
|
|
60
60
|
\usepackage{balance}
|
|
61
61
|
<% } -%>
|
|
62
62
|
|
|
63
|
-
<% break;
|
|
63
|
+
<% break; case "scientific-thesis": -%>
|
|
64
|
+
|
|
65
|
+
% EN: The following package allows \\ at the title page
|
|
66
|
+
% For more information see https://github.com/latextemplates/scientific-thesis-cover/issues/4
|
|
67
|
+
\RequirePackage{kvoptions-patch}
|
|
64
68
|
\documentclass[
|
|
65
69
|
% fontsize=11pt is the standard
|
|
66
70
|
numbers=noenddot,
|
|
@@ -76,7 +80,11 @@
|
|
|
76
80
|
% draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin
|
|
77
81
|
draft=false
|
|
78
82
|
]{scrbook}
|
|
79
|
-
<% break;
|
|
83
|
+
<% break; default: -%>
|
|
84
|
+
|
|
85
|
+
% not yet supported template. Please report to the author of generator-latex-template
|
|
86
|
+
\documentclass{scrbook}
|
|
87
|
+
<% } -%>
|
|
80
88
|
|
|
81
89
|
% backticks (`) are rendered as such in verbatim environments.
|
|
82
90
|
% See following links for details:
|
|
@@ -137,8 +145,10 @@
|
|
|
137
145
|
<%- include('floatflt.preamble.en.tex', this); -%>
|
|
138
146
|
<% } -%>
|
|
139
147
|
<% if (todo == 'pdfcomment') { -%>
|
|
148
|
+
|
|
140
149
|
<%- include('pdfcomment.preamble.en.tex', this); -%>
|
|
141
150
|
<% } else { -%>
|
|
151
|
+
|
|
142
152
|
<%- include('plainlatextodo.preamble.en.tex', this); -%>
|
|
143
153
|
<% } -%>
|
|
144
154
|
|
|
@@ -150,9 +160,10 @@
|
|
|
150
160
|
<%- include('siunitx.preamble.en.tex'); %>
|
|
151
161
|
<%- include('hyperref.preamble.en.tex', this); %>
|
|
152
162
|
<%- include('subfig.preamble.en.tex', this); %>
|
|
153
|
-
<% if (texlive >= 2021) { %><%- include('mindflow.preamble.en.tex', this);
|
|
154
|
-
<%
|
|
155
|
-
|
|
163
|
+
<% if (texlive >= 2021) { %><%- include('mindflow.preamble.en.tex', this); %>
|
|
164
|
+
<% } -%>
|
|
165
|
+
<% if (cleveref) { %><%- include('cleveref.preamble.en.tex', this); %>
|
|
166
|
+
<% } -%>
|
|
156
167
|
\usepackage{lipsum}
|
|
157
168
|
<% if (examples) { -%>
|
|
158
169
|
|
|
@@ -674,13 +685,18 @@ This <% if (heading1 == "\\chapter") {%>chapter<% } else { %>section<% } %> cont
|
|
|
674
685
|
It focuses on minimal examples, which can be directly adapted to the content
|
|
675
686
|
|
|
676
687
|
<%- include('paragraphs.example.en.tex', this); %>
|
|
677
|
-
<% if (texlive >= 2021) { %><%- include('mindflow.example.en.tex', this);
|
|
688
|
+
<% if (texlive >= 2021) { %><%- include('mindflow.example.en.tex', this); %>
|
|
689
|
+
<% } -%>
|
|
678
690
|
<%- include('hyphenation.example.en.tex', this); %>
|
|
679
691
|
<%- include('siunitx.example.en.tex', this); %>
|
|
680
|
-
<% if (enquotes == 'csquotes') { %><%- include('csquotes.example.en.tex', this);
|
|
681
|
-
<%
|
|
682
|
-
<% if (enquotes == '
|
|
683
|
-
<%
|
|
692
|
+
<% if (enquotes == 'csquotes') { %><%- include('csquotes.example.en.tex', this); %>
|
|
693
|
+
<% } -%>
|
|
694
|
+
<% if (enquotes == 'textcmds') { %><%- include('textcmds.example.en.tex', this); %>
|
|
695
|
+
<% } -%>
|
|
696
|
+
<% if (enquotes == 'plainlatex') { %><%- include('plainlatex.enquotes.example.en.tex', this); %>
|
|
697
|
+
<% } -%>
|
|
698
|
+
<% if (cleveref) { %><%- include('cleveref.example.en.tex', this); %>
|
|
699
|
+
<% } -%>
|
|
684
700
|
<%- include('figure.example.en.tex', this); %>
|
|
685
701
|
<%- include('subfloat.example.en.tex', this); %>
|
|
686
702
|
<%- include('tables.example.en.tex', this); %>
|
|
@@ -716,23 +732,26 @@ You should explicitly discuss limitations and shortcomings of your work and deta
|
|
|
716
732
|
|
|
717
733
|
<% switch (documentclass) { case "lncs": -%>
|
|
718
734
|
\subsubsection*{Acknowledgments}
|
|
735
|
+
|
|
719
736
|
<% break; case "acmart": -%>
|
|
720
|
-
\
|
|
737
|
+
\begin{acks}
|
|
721
738
|
<% break; case "ieee": -%>
|
|
722
739
|
% regular IEEE prefers the singular form
|
|
723
740
|
\section*{Acknowledgment}
|
|
741
|
+
|
|
724
742
|
<% break; default: -%>
|
|
725
743
|
<% break; } -%>
|
|
726
|
-
<% if ((documentclass == 'acmart') || (documentclass == 'lncs') || (documentclass
|
|
744
|
+
<% if ((documentclass == 'acmart') || (documentclass == 'lncs') || (documentclass == 'ieee')) { -%>
|
|
745
|
+
Identification of funding sources and other support, and thanks to individuals and groups that assisted in the research and the preparation of the work should be included in an acknowledgment section, which is placed just before the reference section in your document \cite{acmart}.
|
|
727
746
|
<% if (howtotext) { -%>
|
|
747
|
+
|
|
728
748
|
The hints on writing a paper/thesis are taken from Dirk Fahland's \href{https://github.com/dfahland/Master-or-Bachelor-thesis-Template-Eindhoven-University-of-Technology}{LaTeX template for Bachelor and Master theses at Eindhoven University of Technology}.
|
|
729
|
-
<% } else { -%>
|
|
730
|
-
\ldots
|
|
731
|
-
<% } -%>
|
|
732
749
|
<% } -%>
|
|
733
750
|
<% if (documentclass == 'acmart') { -%>
|
|
734
751
|
|
|
735
752
|
For more \LaTeX{} hints for ACM read on at \url{https://www.acm.org/publications/taps/latex-best-practices}.
|
|
753
|
+
\end{acks}
|
|
754
|
+
<% } -%>
|
|
736
755
|
<% } -%>
|
|
737
756
|
|
|
738
757
|
%%% ===============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-latex-template",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Generates a latex template to be used as start for writing scientific works (papers, articles, theses)",
|
|
5
5
|
"homepage": "https://github.com/latextemplates/generator-latex-template",
|
|
6
6
|
"author": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"yeoman-generator"
|
|
21
21
|
],
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"eslint": "^7.
|
|
23
|
+
"eslint": "^8.7.0",
|
|
24
24
|
"eslint-config-prettier": "^8.3.0",
|
|
25
|
-
"eslint-config-xo": "^0.
|
|
25
|
+
"eslint-config-xo": "^0.39.0",
|
|
26
26
|
"eslint-plugin-prettier": "^4.0.0",
|
|
27
|
-
"husky": "^7.0.
|
|
28
|
-
"jest": "^27.
|
|
29
|
-
"lint-staged": "^
|
|
30
|
-
"prettier": "^2.
|
|
27
|
+
"husky": "^7.0.4",
|
|
28
|
+
"jest": "^27.4.7",
|
|
29
|
+
"lint-staged": "^12.3.1",
|
|
30
|
+
"prettier": "^2.5.1",
|
|
31
31
|
"yeoman-assert": "^3.1.1",
|
|
32
32
|
"yeoman-test": "^6.2.0"
|
|
33
33
|
},
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"basic-ftp": "^4.6.6",
|
|
39
|
-
"chalk": "
|
|
39
|
+
"chalk": "~4.1.2",
|
|
40
40
|
"minimist": "^1.2.5",
|
|
41
41
|
"unzipper": "^0.10.11",
|
|
42
|
-
"yeoman-generator": "^5.
|
|
42
|
+
"yeoman-generator": "^5.6.1",
|
|
43
43
|
"yeoman-option-or-prompt": "^2.0.1",
|
|
44
44
|
"yosay": "^2.0.2"
|
|
45
45
|
},
|