Skip to content

Commit

Permalink
Updated templates for pandoc 2.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jul 19, 2021
1 parent 4aeaa58 commit 24f4d37
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
58 changes: 29 additions & 29 deletions default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -36,35 +36,6 @@ $for(classoption)$
$classoption$$sep$,
$endfor$
]{$documentclass$}
$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
$if(beamer)$
$else$
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
\makeatother
$endif$
\subtitle{$subtitle$}
$endif$
\author{$for(author)$$author$$sep$ \and $endfor$}
\date{$date$}
$if(beamer)$
$if(institute)$
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
$endif$
$if(titlegraphic)$
\titlegraphic{\includegraphics{$titlegraphic$}}
$endif$
$if(logo)$
\logo{\includegraphics{$logo$}}
$endif$
$endif$

$if(beamer)$
$if(background-image)$
\usebackgroundtemplate{%
Expand Down Expand Up @@ -452,6 +423,35 @@ $if(csquotes)$
\usepackage{csquotes}
$endif$

$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
$if(beamer)$
$else$
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
\makeatother
$endif$
\subtitle{$subtitle$}
$endif$
\author{$for(author)$$author$$sep$ \and $endfor$}
\date{$date$}
$if(beamer)$
$if(institute)$
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
$endif$
$if(titlegraphic)$
\titlegraphic{\includegraphics{$titlegraphic$}}
$endif$
$if(logo)$
\logo{\includegraphics{$logo$}}
$endif$
$endif$

\begin{document}
$if(has-frontmatter)$
\frontmatter
Expand Down
3 changes: 2 additions & 1 deletion styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
padding-top: $if(margin-top)$$margin-top$$else$50px$endif$;
padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$;
hyphens: auto;
word-wrap: break-word;
overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
Expand Down Expand Up @@ -93,6 +93,7 @@
pre code {
padding: 0;
overflow: visible;
overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;
Expand Down

0 comments on commit 24f4d37

Please sign in to comment.