forked from maehr/academic-pandoc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
presentation.tex
528 lines (447 loc) · 15.9 KB
/
presentation.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{beamer}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math} % this also loads fontspec
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\usepackage{color}
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Add ',fontsize=\small' for more characters per line
\newenvironment{Shaded}{}{}
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{#1}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\BuiltInTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{#1}}}
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{#1}}
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{#1}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{#1}}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
\newcommand{\ExtensionTok}[1]{#1}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{#1}}
\newcommand{\ImportTok}[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}}
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
\newcommand{\NormalTok}[1]{#1}
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{#1}}
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{#1}}
\newcommand{\RegionMarkerTok}[1]{#1}
\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{#1}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1}}}}
\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\usepackage{graphicx}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother
\ifLuaTeX
\usepackage{luacolor}
\usepackage[soul]{lua-ul}
\else
\usepackage{soul}
\fi
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
% definitions for citeproc citations
\NewDocumentCommand\citeproctext{}{}
\NewDocumentCommand\citeproc{mm}{%
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
\makeatletter
% allow citations to break across lines
\let\@cite@ofmt\@firstofone
% avoid brackets around text for \cite:
\def\@biblabel#1{}
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
\makeatother
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newlength{\csllabelwidth}
\setlength{\csllabelwidth}{3em}
\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
{\begin{list}{}{%
\setlength{\itemindent}{0pt}
\setlength{\leftmargin}{0pt}
\setlength{\parsep}{0pt}
% turn on hanging indent if param 1 is 1
\ifodd #1
\setlength{\leftmargin}{\cslhangindent}
\setlength{\itemindent}{-1\cslhangindent}
\fi
% set entry spacing
\setlength{\itemsep}{#2\baselineskip}}}
{\end{list}}
\usepackage{calc}
\newcommand{\CSLBlock}[1]{\hfill\break#1\hfill\break}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
\ifLuaTeX
\usepackage[bidi=basic]{babel}
\else
\usepackage[bidi=default]{babel}
\fi
\babelprovide[main,import]{american}
\babelprovide[import]{english}
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same}
\hypersetup{
pdftitle={Title},
pdfauthor={Eleanor Roosevelt; John Peters Humphrey},
pdflang={en-US},
hidelinks,
pdfcreator={LaTeX via pandoc}}
\title{Title}
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
\makeatother
\subtitle{Subtitle}
\author{\href{[email protected]}{Eleanor
Roosevelt} \and \href{[email protected]}{John Peters Humphrey}}
\date{1 January 2023}
\begin{document}
\maketitle
{
\setcounter{tocdepth}{3}
\tableofcontents
}
\section{Heading 1}\label{heading-1}
All human beings are born free and equal in dignity and rights. All
human beings are born free and equal in dignity and rights. All human
beings are born free and equal in dignity and rights. All human beings
are born free and equal in dignity and rights.
This is a note visible in PowerPoint.
\begin{itemize}
\tightlist
\item
It can contain Markdown
\item
like this list
\end{itemize}
\subsection{Heading 2}\label{heading-2}
All human beings are born free and equal in dignity and rights.
\subsubsection{Heading 3}\label{heading-3}
All human beings are born free and equal in dignity and rights.
\paragraph{Heading 4}\label{heading-4}
All human beings are born free and equal in dignity and rights.
\subsection{Bold}\label{bold}
\textbf{All human beings are born free and equal in dignity and rights.}
All human beings are born free and equal in dignity and rights.All human
beings are born free and equal in dignity and rights.All human beings
are born free and equal in dignity and rights.
\subsection{Italic}\label{italic}
\emph{All human beings are born free and equal in dignity and rights.}
All human beings are born free and equal in dignity and rights.All human
beings are born free and equal in dignity and rights.All human beings
are born free and equal in dignity and rights.
\subsection{Bold and italic}\label{bold-and-italic}
\textbf{\emph{All human beings are born free and equal in dignity and
rights.}} All human beings are born free and equal in dignity and
rights.All human beings are born free and equal in dignity and
rights.All human beings are born free and equal in dignity and rights.
\subsection{Struck through}\label{struck-through}
\st{All human beings are born free and equal in dignity and rights.} All
human beings are born free and equal in dignity and rights.All human
beings are born free and equal in dignity and rights.All human beings
are born free and equal in dignity and rights.
\subsection{Numbered lists}\label{numbered-lists}
\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
\tightlist
\item
All human beings are born free and equal in dignity and rights.
\item
All human beings are born free and equal in dignity and rights.
\item
All human beings are born free and equal in dignity and rights.
\item
All human beings are born free and equal in dignity and rights.
\end{enumerate}
\subsection{Unnumbered lists}\label{unnumbered-lists}
\begin{itemize}
\tightlist
\item
All human beings are born free and equal in dignity and rights.
\begin{itemize}
\tightlist
\item
All human beings are born free and equal in dignity and rights.
\end{itemize}
\item
All human beings are born free and equal in dignity and rights.
\end{itemize}
\subsection{Mixed lists}\label{mixed-lists}
\begin{itemize}
\tightlist
\item
All human beings are born free and equal in dignity and rights.
\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
\tightlist
\item
All human beings are born free and equal in dignity and rights.
\item
All human beings are born free and equal in dignity and rights.
\end{enumerate}
\item
All human beings are born free and equal in dignity and rights.
\end{itemize}
\subsection{Figures and captions}\label{figures-and-captions}
\begin{figure}
\centering
\includegraphics[width=\textwidth,height=0.6\textheight]{images/Eleanor_Roosevelt_and_Human_Rights_Declaration.jpeg}
\caption{Eleanor Roosevelt hält die englische Version der Allgemeinen
Erklärung der Menschenrechte (FDR Presidential Library \& Museum, CC BY
2.0 \url{https://creativecommons.org/licenses/by/2.0}, via Wikimedia
Commons)}
\end{figure}
\subsection{Code}\label{code}
\begin{Shaded}
\begin{Highlighting}[]
\FunctionTok{ping}\NormalTok{ wikipedia.org}
\end{Highlighting}
\end{Shaded}
\subsection{URLs and email addresses}\label{urls-and-email-addresses}
\href{https://www.wikipedia.org/}{wikipedia.org},
\href{mailto:[email protected]}{\nolinkurl{[email protected]}}. All
human beings are born free and equal in dignity and rights. All human
beings are born free and equal in dignity and rights. All human beings
are born free and equal in dignity and rights. All human beings are born
free and equal in dignity and rights.
\subsection{Tables}\label{tables}
\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}@{}}
\caption{Table caption}\tabularnewline
\toprule\noalign{}
\begin{minipage}[b]{\linewidth}\raggedright
column 1
\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
column 2
\end{minipage} \\
\midrule\noalign{}
\endfirsthead
\toprule\noalign{}
\begin{minipage}[b]{\linewidth}\raggedright
column 1
\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
column 2
\end{minipage} \\
\midrule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
All human beings are born free and equal in dignity and rights. & All
human beings are born free and equal in dignity and rights. \\
All human beings are born free and equal in dignity and rights. & All
human beings are born free and equal in dignity and rights. \\
All human beings are born free and equal in dignity and rights. & All
human beings are born free and equal in dignity and rights. \\
All human beings are born free and equal in dignity and rights. & All
human beings are born free and equal in dignity and rights. \\
\end{longtable}
\subsection{Footnotes}\label{footnotes}
All human beings are born free and equal in dignity and rights. All
human beings are born free and equal in dignity and rights. All human
beings are born free and equal in dignity and rights. All human beings
are born free and equal in dignity and rights.\footnote{All human beings
are born free and equal in dignity and rights.}
\subsection{Quotes}\label{quotes}
\begin{quote}
All human beings are born free and equal in dignity and rights.
\end{quote}
All human beings are born free and equal in dignity and rights. All
human beings are born free and equal in dignity and rights. All human
beings are born free and equal in dignity and rights. All human beings
are born free and equal in dignity and rights.
\subsection{Scientific citations}\label{scientific-citations}
\begin{otherlanguage}{english}
\begin{quote}
All human beings are born free and equal in dignity and rights. They are
endowed with reason and conscience and should act towards one another in
a spirit of brotherhood. United Nations (1948)
\end{quote}
\end{otherlanguage}
All human beings are born free and equal in dignity and rights. All
human beings are born free and equal in dignity and rights. All human
beings are born free and equal in dignity and rights. All human beings
are born free and equal in dignity and rights.(United Nations 1948)
\subsection{Two columns of equal
width}\label{two-columns-of-equal-width}
Left column text.
Another text line.
\begin{itemize}
\tightlist
\item
Item 1.
\item
Item 2.
\item
Item 3.
\end{itemize}
\subsection{Two columns of with 40:60
split}\label{two-columns-of-with-4060-split}
Left column text.
Another text line.
\begin{itemize}
\tightlist
\item
Item 1.
\item
Item 2.
\item
Item 3.
\end{itemize}
\subsection{Three columns with equal
split}\label{three-columns-with-equal-split}
Left column text.
Another text line.
Middle column list:
\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
\tightlist
\item
Item 1.
\item
Item 2.
\end{enumerate}
Right column list:
\begin{itemize}
\tightlist
\item
Item 1.
\item
Item 2.
\end{itemize}
\subsection{Three columns with 30:40:30
split}\label{three-columns-with-304030-split}
Left column text.
Another text line.
Middle column list:
\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
\tightlist
\item
Item 1.
\item
Item 2.
\end{enumerate}
Right column list:
\begin{itemize}
\tightlist
\item
Item 1.
\item
Item 2.
\end{itemize}
\subsection{Two columns: image and
text}\label{two-columns-image-and-text}
\includegraphics[width=\textwidth,height=0.5\textheight]{images/Eleanor_Roosevelt_and_Human_Rights_Declaration.jpeg}
Text in the right column.
List from the right column:
\begin{itemize}
\tightlist
\item
Item 1.
\item
Item 2.
\end{itemize}
\subsection{Two columns: image and
table}\label{two-columns-image-and-table}
\includegraphics[width=\textwidth,height=0.5\textheight]{images/Eleanor_Roosevelt_and_Human_Rights_Declaration.jpeg}
\begin{longtable}[]{@{}lc@{}}
\toprule\noalign{}
\textbf{Item} & \textbf{Option} \\
\midrule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
Item 1 & Option 1 \\
Item 2 & Option 2 \\
\end{longtable}
\subsection{Bibliography}\label{bibliography}
\phantomsection\label{refs}
\begin{CSLReferences}{1}{0}
\bibitem[\citeproctext]{ref-brown2016}
Brown, Gordon, ed. 2016. \emph{The {Universal} {Declaration} of {Human}
{Rights} in the 21st Century, a Living Document in a Changing World}.
Cambridge, {[}New York{]}: Open Book Publishers ; NYU Global Institute
for Advanced Study.
\bibitem[\citeproctext]{ref-unitednations1948}
United Nations. 1948. \emph{Universal Declaration of Human Rights}.
\end{CSLReferences}
\end{document}