Merge changes from the pandoc default latex template

This commit is contained in:
Wandmalfarbe 2021-01-31 22:36:08 +01:00
parent 9c56c48b99
commit 196279a218

View File

@ -140,22 +140,18 @@ $else$
$endif$ $endif$
$if(linestretch)$ $if(linestretch)$
\usepackage{setspace} \usepackage{setspace}
\setstretch{$linestretch$}
$else$ $else$
\usepackage{setspace} \usepackage{setspace}
\setstretch{1.2} \setstretch{1.2}
$endif$ $endif$
\usepackage{amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\usepackage{amssymb}
\else % if luatex or xetex \else % if luatex or xetex
$if(mathspec)$ $if(mathspec)$
\ifxetex \ifxetex
\usepackage{amssymb}
\usepackage{mathspec} \usepackage{mathspec}
\else \else
\usepackage{unicode-math} \usepackage{unicode-math}
@ -343,6 +339,9 @@ $highlighting-macros$
$endif$ $endif$
$if(tables)$ $if(tables)$
\usepackage{longtable,booktabs,array} \usepackage{longtable,booktabs,array}
$if(multirow)$
\usepackage{multirow}
$endif$
\usepackage{calc} % for calculating minipage widths \usepackage{calc} % for calculating minipage widths
$if(beamer)$ $if(beamer)$
\usepackage{caption} \usepackage{caption}
@ -495,6 +494,9 @@ $if(csl-refs)$
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break} \newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} \newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
$endif$ $endif$
$if(csquotes)$
\usepackage{csquotes}
$endif$
$if(title)$ $if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$} \title{$title$$if(thanks)$\thanks{$thanks$}$endif$}