pyeasyphd 0.3.12__py3-none-any.whl → 0.3.15__py3-none-any.whl
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.
Potentially problematic release.
This version of pyeasyphd might be problematic. Click here for more details.
- pyeasyphd/data/templates/abbr_full/conferences.json +1 -0
- pyeasyphd/data/templates/abbr_full/journals.json +1 -0
- pyeasyphd/data/templates/abbr_full/keywords.json +1 -0
- pyeasyphd/main/basic_input.py +12 -12
- pyeasyphd/scripts/_base.py +6 -6
- pyeasyphd/scripts/run_article_md.py +4 -4
- pyeasyphd/scripts/run_article_tex.py +4 -4
- pyeasyphd/scripts/run_beamer_tex.py +4 -4
- pyeasyphd/scripts/run_compare.py +4 -4
- pyeasyphd/scripts/run_format.py +4 -4
- pyeasyphd/scripts/run_generate.py +10 -10
- pyeasyphd/scripts/run_search.py +14 -14
- {pyeasyphd-0.3.12.dist-info → pyeasyphd-0.3.15.dist-info}/METADATA +1 -1
- {pyeasyphd-0.3.12.dist-info → pyeasyphd-0.3.15.dist-info}/RECORD +31 -30
- pyeasyphd/data/Templates/TEX/eisvogel.beamer +0 -700
- pyeasyphd/data/Templates/TEX/eisvogel.latex +0 -1040
- /pyeasyphd/data/{Templates/CSL → templates/csl}/apa-no-ampersand.csl +0 -0
- /pyeasyphd/data/{Templates/CSL → templates/csl}/apa.csl +0 -0
- /pyeasyphd/data/{Templates/CSL → templates/csl}/ieee.csl +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Article.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Article_Header.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Article_Tail.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Beamer_Header.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Beamer_Tail.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Style.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/TEVC_Header.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/TEVC_Tail.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/eisvogel.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/math.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/math_commands.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/nextaimathmacros.sty +0 -0
- {pyeasyphd-0.3.12.dist-info → pyeasyphd-0.3.15.dist-info}/WHEEL +0 -0
- {pyeasyphd-0.3.12.dist-info → pyeasyphd-0.3.15.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,700 +0,0 @@
|
|
|
1
|
-
%%
|
|
2
|
-
% Copyright (c) 2017 - 2025, Pascal Wagler;
|
|
3
|
-
% Copyright (c) 2014 - 2025, John MacFarlane
|
|
4
|
-
%
|
|
5
|
-
% All rights reserved.
|
|
6
|
-
%
|
|
7
|
-
% Redistribution and use in source and binary forms, with or without
|
|
8
|
-
% modification, are permitted provided that the following conditions
|
|
9
|
-
% are met:
|
|
10
|
-
%
|
|
11
|
-
% - Redistributions of source code must retain the above copyright
|
|
12
|
-
% notice, this list of conditions and the following disclaimer.
|
|
13
|
-
%
|
|
14
|
-
% - Redistributions in binary form must reproduce the above copyright
|
|
15
|
-
% notice, this list of conditions and the following disclaimer in the
|
|
16
|
-
% documentation and/or other materials provided with the distribution.
|
|
17
|
-
%
|
|
18
|
-
% - Neither the name of John MacFarlane nor the names of other
|
|
19
|
-
% contributors may be used to endorse or promote products derived
|
|
20
|
-
% from this software without specific prior written permission.
|
|
21
|
-
%
|
|
22
|
-
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
23
|
-
% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
24
|
-
% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
25
|
-
% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
26
|
-
% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
27
|
-
% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
28
|
-
% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
29
|
-
% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
30
|
-
% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
31
|
-
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
32
|
-
% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
33
|
-
% POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
-
%%
|
|
35
|
-
|
|
36
|
-
%%
|
|
37
|
-
% This is the Eisvogel pandoc LaTeX template.
|
|
38
|
-
%
|
|
39
|
-
% For usage information and examples visit the official GitHub page:
|
|
40
|
-
% https://github.com/Wandmalfarbe/pandoc-latex-template
|
|
41
|
-
%%
|
|
42
|
-
% Options for packages loaded elsewhere
|
|
43
|
-
\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
|
|
44
|
-
\PassOptionsToPackage{hyphens}{url}
|
|
45
|
-
\PassOptionsToPackage{dvipsnames,svgnames,x11names,table}{xcolor}
|
|
46
|
-
$if(CJKmainfont)$
|
|
47
|
-
\PassOptionsToPackage{space}{xeCJK}
|
|
48
|
-
$endif$
|
|
49
|
-
\documentclass[
|
|
50
|
-
$if(fontsize)$
|
|
51
|
-
$fontsize$,
|
|
52
|
-
$endif$
|
|
53
|
-
ignorenonframetext,
|
|
54
|
-
$if(handout)$
|
|
55
|
-
handout,
|
|
56
|
-
$endif$
|
|
57
|
-
$if(aspectratio)$
|
|
58
|
-
aspectratio=$aspectratio$,
|
|
59
|
-
$endif$
|
|
60
|
-
$if(babel-lang)$
|
|
61
|
-
$babel-lang$,
|
|
62
|
-
$endif$
|
|
63
|
-
$for(classoption)$
|
|
64
|
-
$classoption$$sep$,
|
|
65
|
-
$endfor$
|
|
66
|
-
]{$documentclass$}
|
|
67
|
-
$if(geometry)$
|
|
68
|
-
\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
|
|
69
|
-
$endif$
|
|
70
|
-
\newif\ifbibliography
|
|
71
|
-
$if(background-image)$
|
|
72
|
-
\usebackgroundtemplate{%
|
|
73
|
-
\includegraphics[width=\paperwidth]{$background-image$}%
|
|
74
|
-
}
|
|
75
|
-
% In beamer background-image does not work well when other images are used, so this is the workaround
|
|
76
|
-
\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$}
|
|
77
|
-
\usebackgroundtemplate{\pgfuseimage{background}}
|
|
78
|
-
$endif$
|
|
79
|
-
\usepackage{pgfpages}
|
|
80
|
-
\setbeamertemplate{caption}[numbered]
|
|
81
|
-
\setbeamertemplate{caption label separator}{: }
|
|
82
|
-
\setbeamercolor{caption name}{fg=normal text.fg}
|
|
83
|
-
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
|
84
|
-
$--
|
|
85
|
-
$-- section numbering
|
|
86
|
-
$--
|
|
87
|
-
$if(numbersections)$
|
|
88
|
-
$else$
|
|
89
|
-
% remove section numbering
|
|
90
|
-
\setbeamertemplate{part page}{
|
|
91
|
-
\centering
|
|
92
|
-
\begin{beamercolorbox}[sep=16pt,center]{part title}
|
|
93
|
-
\usebeamerfont{part title}\insertpart\par
|
|
94
|
-
\end{beamercolorbox}
|
|
95
|
-
}
|
|
96
|
-
\setbeamertemplate{section page}{
|
|
97
|
-
\centering
|
|
98
|
-
\begin{beamercolorbox}[sep=12pt,center]{section title}
|
|
99
|
-
\usebeamerfont{section title}\insertsection\par
|
|
100
|
-
\end{beamercolorbox}
|
|
101
|
-
}
|
|
102
|
-
\setbeamertemplate{subsection page}{
|
|
103
|
-
\centering
|
|
104
|
-
\begin{beamercolorbox}[sep=8pt,center]{subsection title}
|
|
105
|
-
\usebeamerfont{subsection title}\insertsubsection\par
|
|
106
|
-
\end{beamercolorbox}
|
|
107
|
-
}
|
|
108
|
-
$endif$
|
|
109
|
-
$for(beameroption)$
|
|
110
|
-
\setbeameroption{$beameroption$}
|
|
111
|
-
$endfor$
|
|
112
|
-
% Prevent slide breaks in the middle of a paragraph
|
|
113
|
-
\widowpenalties 1 10000
|
|
114
|
-
\raggedbottom
|
|
115
|
-
$if(section-titles)$
|
|
116
|
-
\AtBeginPart{
|
|
117
|
-
\frame{\partpage}
|
|
118
|
-
}
|
|
119
|
-
\AtBeginSection{
|
|
120
|
-
\ifbibliography
|
|
121
|
-
\else
|
|
122
|
-
\frame{\sectionpage}
|
|
123
|
-
\fi
|
|
124
|
-
}
|
|
125
|
-
\AtBeginSubsection{
|
|
126
|
-
\frame{\subsectionpage}
|
|
127
|
-
}
|
|
128
|
-
$endif$
|
|
129
|
-
\usepackage{iftex}
|
|
130
|
-
\ifPDFTeX
|
|
131
|
-
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
|
132
|
-
\usepackage[utf8]{inputenc}
|
|
133
|
-
\usepackage{textcomp} % provide euro and other symbols
|
|
134
|
-
\else % if luatex or xetex
|
|
135
|
-
$if(mathspec)$
|
|
136
|
-
\ifXeTeX
|
|
137
|
-
\usepackage{mathspec} % this also loads fontspec
|
|
138
|
-
\else
|
|
139
|
-
\usepackage{unicode-math} % this also loads fontspec
|
|
140
|
-
\fi
|
|
141
|
-
$else$
|
|
142
|
-
\usepackage{unicode-math} % this also loads fontspec
|
|
143
|
-
$endif$
|
|
144
|
-
\defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme
|
|
145
|
-
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
|
|
146
|
-
\fi
|
|
147
|
-
$if(fontfamily)$
|
|
148
|
-
$else$
|
|
149
|
-
$-- Set default font before Beamer theme so the theme can override it
|
|
150
|
-
\usepackage{lmodern}
|
|
151
|
-
$endif$
|
|
152
|
-
$-- Set Beamer theme before user font settings so they can override theme
|
|
153
|
-
$if(theme)$
|
|
154
|
-
\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
|
|
155
|
-
$endif$
|
|
156
|
-
$if(colortheme)$
|
|
157
|
-
\usecolortheme[$for(colorthemeoptions)$$colorthemeoptions$$sep$,$endfor$]{$colortheme$}
|
|
158
|
-
$endif$
|
|
159
|
-
$if(fonttheme)$
|
|
160
|
-
\usefonttheme[$for(fontthemeoptions)$$fontthemeoptions$$sep$,$endfor$]{$fonttheme$}
|
|
161
|
-
$endif$
|
|
162
|
-
$if(mainfont)$
|
|
163
|
-
\usefonttheme{serif} % use mainfont rather than sansfont for slide text
|
|
164
|
-
$endif$
|
|
165
|
-
$if(innertheme)$
|
|
166
|
-
\useinnertheme[$for(innerthemeoptions)$$innerthemeoptions$$sep$,$endfor$]{$innertheme$}
|
|
167
|
-
$endif$
|
|
168
|
-
$if(outertheme)$
|
|
169
|
-
\useoutertheme[$for(outerthemeoptions)$$outerthemeoptions$$sep$,$endfor$]{$outertheme$}
|
|
170
|
-
$endif$
|
|
171
|
-
$-- User font settings (must come after default font and Beamer theme)
|
|
172
|
-
$if(fontfamily)$
|
|
173
|
-
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
|
174
|
-
$endif$
|
|
175
|
-
\ifPDFTeX\else
|
|
176
|
-
% xetex/luatex font selection
|
|
177
|
-
$if(mainfont)$
|
|
178
|
-
$if(mainfontfallback)$
|
|
179
|
-
\ifLuaTeX
|
|
180
|
-
\usepackage{luaotfload}
|
|
181
|
-
\directlua{luaotfload.add_fallback("mainfontfallback",{
|
|
182
|
-
$for(mainfontfallback)$"$mainfontfallback$"$sep$,$endfor$
|
|
183
|
-
})}
|
|
184
|
-
\fi
|
|
185
|
-
$endif$
|
|
186
|
-
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$}
|
|
187
|
-
$endif$
|
|
188
|
-
$if(sansfont)$
|
|
189
|
-
$if(sansfontfallback)$
|
|
190
|
-
\ifLuaTeX
|
|
191
|
-
\usepackage{luaotfload}
|
|
192
|
-
\directlua{luaotfload.add_fallback("sansfontfallback",{
|
|
193
|
-
$for(sansfontfallback)$"$sansfontfallback$"$sep$,$endfor$
|
|
194
|
-
})}
|
|
195
|
-
\fi
|
|
196
|
-
$endif$
|
|
197
|
-
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$$if(sansfontfallback)$,RawFeature={fallback=sansfontfallback}$endif$]{$sansfont$}
|
|
198
|
-
$endif$
|
|
199
|
-
$if(monofont)$
|
|
200
|
-
$if(monofontfallback)$
|
|
201
|
-
\ifLuaTeX
|
|
202
|
-
\usepackage{luaotfload}
|
|
203
|
-
\directlua{luaotfload.add_fallback("monofontfallback",{
|
|
204
|
-
$for(monofontfallback)$"$monofontfallback$"$sep$,$endfor$
|
|
205
|
-
})}
|
|
206
|
-
\fi
|
|
207
|
-
$endif$
|
|
208
|
-
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$if(monofontfallback)$,RawFeature={fallback=monofontfallback}$endif$]{$monofont$}
|
|
209
|
-
$endif$
|
|
210
|
-
$for(fontfamilies)$
|
|
211
|
-
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
|
|
212
|
-
$endfor$
|
|
213
|
-
$if(mathfont)$
|
|
214
|
-
$if(mathspec)$
|
|
215
|
-
\ifXeTeX
|
|
216
|
-
\setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
|
217
|
-
\else
|
|
218
|
-
\setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
|
219
|
-
\fi
|
|
220
|
-
$else$
|
|
221
|
-
\setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
|
222
|
-
$endif$
|
|
223
|
-
$endif$
|
|
224
|
-
$if(CJKmainfont)$
|
|
225
|
-
\ifXeTeX
|
|
226
|
-
\usepackage{xeCJK}
|
|
227
|
-
\setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
|
228
|
-
$if(CJKsansfont)$
|
|
229
|
-
\setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$}
|
|
230
|
-
$endif$
|
|
231
|
-
$if(CJKmonofont)$
|
|
232
|
-
\setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$}
|
|
233
|
-
$endif$
|
|
234
|
-
\fi
|
|
235
|
-
$endif$
|
|
236
|
-
$if(luatexjapresetoptions)$
|
|
237
|
-
\ifLuaTeX
|
|
238
|
-
\usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
|
|
239
|
-
\fi
|
|
240
|
-
$endif$
|
|
241
|
-
$if(CJKmainfont)$
|
|
242
|
-
\ifLuaTeX
|
|
243
|
-
\usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
|
|
244
|
-
\setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
|
245
|
-
\fi
|
|
246
|
-
$endif$
|
|
247
|
-
\fi
|
|
248
|
-
$if(zero-width-non-joiner)$
|
|
249
|
-
%% Support for zero-width non-joiner characters.
|
|
250
|
-
\makeatletter
|
|
251
|
-
\def\zerowidthnonjoiner{%
|
|
252
|
-
% Prevent ligatures and adjust kerning, but still support hyphenating.
|
|
253
|
-
\texorpdfstring{%
|
|
254
|
-
\TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}%
|
|
255
|
-
\ifvmode\else\nobreak\hskip\z@skip\fi}{}%
|
|
256
|
-
}{}%
|
|
257
|
-
}
|
|
258
|
-
\makeatother
|
|
259
|
-
\ifPDFTeX
|
|
260
|
-
\DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner}
|
|
261
|
-
\else
|
|
262
|
-
\catcode`^^^^200c=\active
|
|
263
|
-
\protected\def ^^^^200c{\zerowidthnonjoiner}
|
|
264
|
-
\fi
|
|
265
|
-
%% End of ZWNJ support
|
|
266
|
-
$endif$
|
|
267
|
-
% Use upquote if available, for straight quotes in verbatim environments
|
|
268
|
-
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
|
269
|
-
\IfFileExists{microtype.sty}{% use microtype if available
|
|
270
|
-
\usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
|
|
271
|
-
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
|
272
|
-
}{}
|
|
273
|
-
|
|
274
|
-
$if(linestretch)$
|
|
275
|
-
\usepackage{setspace}
|
|
276
|
-
$else$
|
|
277
|
-
% Use setspace anyway because we change the default line spacing.
|
|
278
|
-
% The spacing is changed early to affect the titlepage and the TOC.
|
|
279
|
-
\usepackage{setspace}
|
|
280
|
-
\setstretch{1.2}
|
|
281
|
-
$endif$
|
|
282
|
-
$--
|
|
283
|
-
$-- paragraph formatting
|
|
284
|
-
$--
|
|
285
|
-
$if(indent)$
|
|
286
|
-
$else$
|
|
287
|
-
\makeatletter
|
|
288
|
-
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
|
289
|
-
\IfFileExists{parskip.sty}{%
|
|
290
|
-
\usepackage{parskip}
|
|
291
|
-
}{% else
|
|
292
|
-
\setlength{\parindent}{0pt}
|
|
293
|
-
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
|
294
|
-
}{% if KOMA class
|
|
295
|
-
\KOMAoptions{parskip=half}}
|
|
296
|
-
\makeatother
|
|
297
|
-
$endif$
|
|
298
|
-
$if(beamer)$
|
|
299
|
-
$else$
|
|
300
|
-
$if(block-headings)$
|
|
301
|
-
% Make \paragraph and \subparagraph free-standing
|
|
302
|
-
\makeatletter
|
|
303
|
-
\ifx\paragraph\undefined\else
|
|
304
|
-
\let\oldparagraph\paragraph
|
|
305
|
-
\renewcommand{\paragraph}{
|
|
306
|
-
\@ifstar
|
|
307
|
-
\xxxParagraphStar
|
|
308
|
-
\xxxParagraphNoStar
|
|
309
|
-
}
|
|
310
|
-
\newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
|
|
311
|
-
\newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
|
|
312
|
-
\fi
|
|
313
|
-
\ifx\subparagraph\undefined\else
|
|
314
|
-
\let\oldsubparagraph\subparagraph
|
|
315
|
-
\renewcommand{\subparagraph}{
|
|
316
|
-
\@ifstar
|
|
317
|
-
\xxxSubParagraphStar
|
|
318
|
-
\xxxSubParagraphNoStar
|
|
319
|
-
}
|
|
320
|
-
\newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
|
|
321
|
-
\newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
|
|
322
|
-
\fi
|
|
323
|
-
\makeatother
|
|
324
|
-
$endif$
|
|
325
|
-
$endif$
|
|
326
|
-
$--
|
|
327
|
-
$-- verbatim in notes
|
|
328
|
-
$--
|
|
329
|
-
$if(verbatim-in-note)$
|
|
330
|
-
\usepackage{fancyvrb}
|
|
331
|
-
$endif$
|
|
332
|
-
$-- highlighting
|
|
333
|
-
$if(listings)$
|
|
334
|
-
\usepackage{listings}
|
|
335
|
-
\newcommand{\passthrough}[1]{#1}
|
|
336
|
-
\lstset{defaultdialect=[5.3]Lua}
|
|
337
|
-
\lstset{defaultdialect=[x86masm]Assembler}
|
|
338
|
-
$endif$
|
|
339
|
-
$if(listings-no-page-break)$
|
|
340
|
-
\usepackage{etoolbox}
|
|
341
|
-
\BeforeBeginEnvironment{lstlisting}{\par\noindent\begin{minipage}{\linewidth}}
|
|
342
|
-
\AfterEndEnvironment{lstlisting}{\end{minipage}\par\addvspace{\topskip}}
|
|
343
|
-
$endif$
|
|
344
|
-
$if(lhs)$
|
|
345
|
-
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
|
346
|
-
$endif$
|
|
347
|
-
$if(highlighting-macros)$
|
|
348
|
-
$highlighting-macros$
|
|
349
|
-
|
|
350
|
-
% Workaround/bugfix from jannick0.
|
|
351
|
-
% See https://github.com/jgm/pandoc/issues/4302#issuecomment-360669013)
|
|
352
|
-
% or https://github.com/Wandmalfarbe/pandoc-latex-template/issues/2
|
|
353
|
-
%
|
|
354
|
-
% Redefine the verbatim environment 'Highlighting' to break long lines (with
|
|
355
|
-
% the help of fvextra). Redefinition is necessary because it is unlikely that
|
|
356
|
-
% pandoc includes fvextra in the default template.
|
|
357
|
-
\usepackage{fvextra}
|
|
358
|
-
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,fontsize=$if(code-block-font-size)$$code-block-font-size$$else$\small$endif$,commandchars=\\\{\}}
|
|
359
|
-
|
|
360
|
-
$endif$
|
|
361
|
-
$--
|
|
362
|
-
$-- tables
|
|
363
|
-
$--
|
|
364
|
-
$if(tables)$
|
|
365
|
-
\usepackage{longtable,booktabs,array}
|
|
366
|
-
$if(multirow)$
|
|
367
|
-
\usepackage{multirow}
|
|
368
|
-
$endif$
|
|
369
|
-
\usepackage{calc} % for calculating minipage widths
|
|
370
|
-
$if(beamer)$
|
|
371
|
-
\usepackage{caption}
|
|
372
|
-
% Make caption package work with longtable
|
|
373
|
-
\makeatletter
|
|
374
|
-
\def\fnum@table{\tablename~\thetable}
|
|
375
|
-
\makeatother
|
|
376
|
-
$else$
|
|
377
|
-
% Correct order of tables after \paragraph or \subparagraph
|
|
378
|
-
\usepackage{etoolbox}
|
|
379
|
-
\makeatletter
|
|
380
|
-
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
|
|
381
|
-
\makeatother
|
|
382
|
-
% Allow footnotes in longtable head/foot
|
|
383
|
-
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
|
|
384
|
-
\makesavenoteenv{longtable}
|
|
385
|
-
$endif$
|
|
386
|
-
$endif$
|
|
387
|
-
$--
|
|
388
|
-
$-- graphics
|
|
389
|
-
$--
|
|
390
|
-
$if(graphics)$
|
|
391
|
-
\usepackage{graphicx}
|
|
392
|
-
\makeatletter
|
|
393
|
-
\newsavebox\pandoc@box
|
|
394
|
-
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
|
|
395
|
-
\sbox\pandoc@box{#1}%
|
|
396
|
-
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
|
|
397
|
-
\Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
|
|
398
|
-
\ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
|
|
399
|
-
\ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
|
|
400
|
-
\else\usebox{\pandoc@box}%
|
|
401
|
-
\fi%
|
|
402
|
-
}
|
|
403
|
-
% Set default figure placement to htbp
|
|
404
|
-
% Make use of float-package and set default placement for figures to H.
|
|
405
|
-
% The option H means 'PUT IT HERE' (as opposed to the standard h option which means 'You may put it here if you like').
|
|
406
|
-
\usepackage{float}
|
|
407
|
-
\floatplacement{figure}{$if(float-placement-figure)$$float-placement-figure$$else$H$endif$}
|
|
408
|
-
\makeatother
|
|
409
|
-
$endif$
|
|
410
|
-
$if(svg)$
|
|
411
|
-
\usepackage{svg}
|
|
412
|
-
$endif$
|
|
413
|
-
$--
|
|
414
|
-
$-- strikeout/underline
|
|
415
|
-
$--
|
|
416
|
-
$if(strikeout)$
|
|
417
|
-
\ifLuaTeX
|
|
418
|
-
\usepackage{luacolor}
|
|
419
|
-
\usepackage[soul]{lua-ul}
|
|
420
|
-
\else
|
|
421
|
-
\usepackage{soul}
|
|
422
|
-
$if(beamer)$
|
|
423
|
-
\makeatletter
|
|
424
|
-
\let\HL\hl
|
|
425
|
-
\renewcommand\hl{% fix for beamer highlighting
|
|
426
|
-
\let\set@color\beamerorig@set@color
|
|
427
|
-
\let\reset@color\beamerorig@reset@color
|
|
428
|
-
\HL}
|
|
429
|
-
\makeatother
|
|
430
|
-
$endif$
|
|
431
|
-
$if(CJKmainfont)$
|
|
432
|
-
\ifXeTeX
|
|
433
|
-
% soul's \st doesn't work for CJK:
|
|
434
|
-
\usepackage{xeCJKfntef}
|
|
435
|
-
\renewcommand{\st}[1]{\sout{#1}}
|
|
436
|
-
\fi
|
|
437
|
-
$endif$
|
|
438
|
-
\fi
|
|
439
|
-
$endif$
|
|
440
|
-
$--
|
|
441
|
-
$-- CSL citations
|
|
442
|
-
$--
|
|
443
|
-
$if(csl-refs)$
|
|
444
|
-
% definitions for citeproc citations
|
|
445
|
-
\NewDocumentCommand\citeproctext{}{}
|
|
446
|
-
\NewDocumentCommand\citeproc{mm}{%
|
|
447
|
-
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
|
|
448
|
-
\makeatletter
|
|
449
|
-
% allow citations to break across lines
|
|
450
|
-
\let\@cite@ofmt\@firstofone
|
|
451
|
-
% avoid brackets around text for \cite:
|
|
452
|
-
\def\@biblabel#1{}
|
|
453
|
-
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
|
|
454
|
-
\makeatother
|
|
455
|
-
\newlength{\cslhangindent}
|
|
456
|
-
\setlength{\cslhangindent}{1.5em}
|
|
457
|
-
\newlength{\csllabelwidth}
|
|
458
|
-
\setlength{\csllabelwidth}{3em}
|
|
459
|
-
\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
|
|
460
|
-
{\begin{list}{}{%
|
|
461
|
-
\setlength{\itemindent}{0pt}
|
|
462
|
-
\setlength{\leftmargin}{0pt}
|
|
463
|
-
\setlength{\parsep}{0pt}
|
|
464
|
-
% turn on hanging indent if param 1 is 1
|
|
465
|
-
\ifodd #1
|
|
466
|
-
\setlength{\leftmargin}{\cslhangindent}
|
|
467
|
-
\setlength{\itemindent}{-1\cslhangindent}
|
|
468
|
-
\fi
|
|
469
|
-
% set entry spacing
|
|
470
|
-
\setlength{\itemsep}{#2\baselineskip}}}
|
|
471
|
-
{\end{list}}
|
|
472
|
-
\usepackage{calc}
|
|
473
|
-
\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
|
|
474
|
-
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
|
|
475
|
-
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
|
|
476
|
-
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
|
477
|
-
$endif$
|
|
478
|
-
$--
|
|
479
|
-
$-- Babel language support
|
|
480
|
-
$--
|
|
481
|
-
$if(lang)$
|
|
482
|
-
\ifLuaTeX
|
|
483
|
-
\usepackage[bidi=basic,shorthands=off,$for(babeloptions)$,$babeloptions$$endfor$]{babel}
|
|
484
|
-
\else
|
|
485
|
-
\usepackage[bidi=default,shorthands=off,$for(babeloptions)$,$babeloptions$$endfor$]{babel}
|
|
486
|
-
\fi
|
|
487
|
-
$if(babel-lang)$
|
|
488
|
-
$if(mainfont)$
|
|
489
|
-
\ifPDFTeX
|
|
490
|
-
\else
|
|
491
|
-
\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$}
|
|
492
|
-
\fi
|
|
493
|
-
$endif$
|
|
494
|
-
$endif$
|
|
495
|
-
$for(babelfonts/pairs)$
|
|
496
|
-
\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$}
|
|
497
|
-
$endfor$
|
|
498
|
-
\ifLuaTeX
|
|
499
|
-
\usepackage{selnolig} % disable illegal ligatures
|
|
500
|
-
\fi
|
|
501
|
-
$endif$
|
|
502
|
-
$--
|
|
503
|
-
$-- pagestyle
|
|
504
|
-
$--
|
|
505
|
-
$if(pagestyle)$
|
|
506
|
-
\pagestyle{$pagestyle$}
|
|
507
|
-
$endif$
|
|
508
|
-
$--
|
|
509
|
-
$-- prevent overfull lines
|
|
510
|
-
$--
|
|
511
|
-
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
|
512
|
-
$--
|
|
513
|
-
$-- tight lists
|
|
514
|
-
$--
|
|
515
|
-
\providecommand{\tightlist}{%
|
|
516
|
-
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
517
|
-
$--
|
|
518
|
-
$-- subfigure support
|
|
519
|
-
$--
|
|
520
|
-
$if(subfigure)$
|
|
521
|
-
\usepackage{subcaption}
|
|
522
|
-
$endif$
|
|
523
|
-
$--
|
|
524
|
-
$-- text direction support for pdftex
|
|
525
|
-
$--
|
|
526
|
-
$if(dir)$
|
|
527
|
-
\ifPDFTeX
|
|
528
|
-
\TeXXeTstate=1
|
|
529
|
-
\newcommand{\RL}[1]{\beginR #1\endR}
|
|
530
|
-
\newcommand{\LR}[1]{\beginL #1\endL}
|
|
531
|
-
\newenvironment{RTL}{\beginR}{\endR}
|
|
532
|
-
\newenvironment{LTR}{\beginL}{\endL}
|
|
533
|
-
\fi
|
|
534
|
-
$endif$
|
|
535
|
-
$--
|
|
536
|
-
$-- bibliography support support for natbib and biblatex
|
|
537
|
-
$--
|
|
538
|
-
$if(natbib)$
|
|
539
|
-
\usepackage[$natbiboptions$]{natbib}
|
|
540
|
-
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
|
|
541
|
-
$endif$
|
|
542
|
-
$if(biblatex)$
|
|
543
|
-
\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
|
|
544
|
-
$for(bibliography)$
|
|
545
|
-
\addbibresource{$bibliography$}
|
|
546
|
-
$endfor$
|
|
547
|
-
$endif$
|
|
548
|
-
$--
|
|
549
|
-
$-- csquotes
|
|
550
|
-
$--
|
|
551
|
-
$if(csquotes)$
|
|
552
|
-
\usepackage[$for(csquotesoptions)$$csquotesoptions$$sep$,$endfor$]{csquotes}
|
|
553
|
-
$endif$
|
|
554
|
-
$for(header-includes)$
|
|
555
|
-
$header-includes$
|
|
556
|
-
$endfor$
|
|
557
|
-
\usepackage{bookmark}
|
|
558
|
-
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
|
|
559
|
-
\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$}
|
|
560
|
-
$if(links-as-notes)$
|
|
561
|
-
% Make links footnotes instead of hotlinks:
|
|
562
|
-
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
|
|
563
|
-
$endif$
|
|
564
|
-
$if(verbatim-in-note)$
|
|
565
|
-
\VerbatimFootnotes % allow verbatim text in footnotes
|
|
566
|
-
$endif$
|
|
567
|
-
\definecolor{default-linkcolor}{HTML}{A50000}
|
|
568
|
-
\definecolor{default-filecolor}{HTML}{A50000}
|
|
569
|
-
\definecolor{default-citecolor}{HTML}{4077C0}
|
|
570
|
-
\definecolor{default-urlcolor}{HTML}{4077C0}
|
|
571
|
-
|
|
572
|
-
\hypersetup{
|
|
573
|
-
$if(title-meta)$
|
|
574
|
-
pdftitle={$title-meta$},
|
|
575
|
-
$endif$
|
|
576
|
-
$if(author-meta)$
|
|
577
|
-
pdfauthor={$author-meta$},
|
|
578
|
-
$endif$
|
|
579
|
-
$if(lang)$
|
|
580
|
-
pdflang={$lang$},
|
|
581
|
-
$endif$
|
|
582
|
-
$if(subject)$
|
|
583
|
-
pdfsubject={$subject$},
|
|
584
|
-
$endif$
|
|
585
|
-
$if(keywords)$
|
|
586
|
-
pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
|
|
587
|
-
$endif$
|
|
588
|
-
$if(colorlinks)$
|
|
589
|
-
colorlinks=true,
|
|
590
|
-
linkcolor={$if(linkcolor)$$linkcolor$$else$default-linkcolor$endif$},
|
|
591
|
-
filecolor={$if(filecolor)$$filecolor$$else$default-filecolor$endif$},
|
|
592
|
-
citecolor={$if(citecolor)$$citecolor$$else$default-citecolor$endif$},
|
|
593
|
-
urlcolor={$if(urlcolor)$$urlcolor$$else$default-urlcolor$endif$},
|
|
594
|
-
$else$
|
|
595
|
-
$if(boxlinks)$
|
|
596
|
-
$else$
|
|
597
|
-
hidelinks,
|
|
598
|
-
$endif$
|
|
599
|
-
$endif$
|
|
600
|
-
breaklinks=true,
|
|
601
|
-
pdfcreator={LaTeX via pandoc with the Eisvogel template}}
|
|
602
|
-
|
|
603
|
-
$if(title)$
|
|
604
|
-
\title$if(shorttitle)$[$shorttitle$]$endif${$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
|
605
|
-
$endif$
|
|
606
|
-
$if(subtitle)$
|
|
607
|
-
\subtitle$if(shortsubtitle)$[$shortsubtitle$]$endif${$subtitle$}
|
|
608
|
-
$endif$
|
|
609
|
-
\author$if(shortauthor)$[$shortauthor$]$endif${$for(author)$$author$$sep$ \and $endfor$}
|
|
610
|
-
\date$if(shortdate)$[$shortdate$]$endif${$date$}
|
|
611
|
-
$if(institute)$
|
|
612
|
-
\institute$if(shortinstitute)$[$shortinstitute$]$endif${$for(institute)$$institute$$sep$ \and $endfor$}
|
|
613
|
-
$endif$
|
|
614
|
-
$if(titlegraphic)$
|
|
615
|
-
\titlegraphic{
|
|
616
|
-
$for(titlegraphic)$
|
|
617
|
-
\includegraphics$if(titlegraphicoptions)$[$for(titlegraphicoptions)$$titlegraphicoptions$$sep$, $endfor$]$endif${$titlegraphic$}$sep$\enspace
|
|
618
|
-
$endfor$}
|
|
619
|
-
$endif$
|
|
620
|
-
$if(logo)$
|
|
621
|
-
\logo{\includegraphics{$logo$}}
|
|
622
|
-
$endif$
|
|
623
|
-
|
|
624
|
-
\begin{document}
|
|
625
|
-
$if(title)$
|
|
626
|
-
\frame{\titlepage}
|
|
627
|
-
$if(abstract)$
|
|
628
|
-
\begin{abstract}
|
|
629
|
-
$abstract$
|
|
630
|
-
\end{abstract}
|
|
631
|
-
$endif$
|
|
632
|
-
$endif$
|
|
633
|
-
|
|
634
|
-
$for(include-before)$
|
|
635
|
-
$include-before$
|
|
636
|
-
|
|
637
|
-
$endfor$
|
|
638
|
-
$if(toc)$
|
|
639
|
-
$if(toc-title)$
|
|
640
|
-
\renewcommand*\contentsname{$toc-title$}
|
|
641
|
-
$endif$
|
|
642
|
-
\begin{frame}[allowframebreaks]
|
|
643
|
-
$if(toc-title)$
|
|
644
|
-
\frametitle{$toc-title$}
|
|
645
|
-
$endif$
|
|
646
|
-
\setcounter{tocdepth}{$toc-depth$}
|
|
647
|
-
\tableofcontents
|
|
648
|
-
\end{frame}
|
|
649
|
-
$if(toc-own-page)$
|
|
650
|
-
\newpage
|
|
651
|
-
$endif$
|
|
652
|
-
\setcounter{tocdepth}{$toc-depth$}
|
|
653
|
-
\tableofcontents
|
|
654
|
-
}
|
|
655
|
-
$endif$
|
|
656
|
-
$if(lof)$
|
|
657
|
-
\listoffigures
|
|
658
|
-
$endif$
|
|
659
|
-
$if(lot)$
|
|
660
|
-
\listoftables
|
|
661
|
-
$endif$
|
|
662
|
-
$if(linestretch)$
|
|
663
|
-
\setstretch{$linestretch$}
|
|
664
|
-
$endif$
|
|
665
|
-
$body$
|
|
666
|
-
|
|
667
|
-
$if(natbib)$
|
|
668
|
-
$if(bibliography)$
|
|
669
|
-
$if(biblio-title)$
|
|
670
|
-
$if(has-chapters)$
|
|
671
|
-
\renewcommand\bibname{$biblio-title$}
|
|
672
|
-
$else$
|
|
673
|
-
\renewcommand\refname{$biblio-title$}
|
|
674
|
-
$endif$
|
|
675
|
-
$endif$
|
|
676
|
-
\begin{frame}[allowframebreaks]{$biblio-title$}
|
|
677
|
-
$if(nocite-ids)$
|
|
678
|
-
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
|
|
679
|
-
$endif$
|
|
680
|
-
\bibliographytrue
|
|
681
|
-
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
|
682
|
-
\end{frame}
|
|
683
|
-
|
|
684
|
-
$endif$
|
|
685
|
-
$endif$
|
|
686
|
-
$if(biblatex)$
|
|
687
|
-
\begin{frame}[allowframebreaks]{$biblio-title$}
|
|
688
|
-
$if(nocite-ids)$
|
|
689
|
-
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
|
|
690
|
-
$endif$
|
|
691
|
-
\bibliographytrue
|
|
692
|
-
\printbibliography[heading=none]
|
|
693
|
-
\end{frame}
|
|
694
|
-
|
|
695
|
-
$endif$
|
|
696
|
-
$for(include-after)$
|
|
697
|
-
$include-after$
|
|
698
|
-
|
|
699
|
-
$endfor$
|
|
700
|
-
\end{document}
|