Skip to content

Commit

Permalink
Updated templates for pandoc 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 27, 2023
1 parent 1685cf7 commit bd5fcc5
Show file tree
Hide file tree
Showing 5 changed files with 768 additions and 2 deletions.
15 changes: 13 additions & 2 deletions default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ $if(background-image)$
\usebackgroundtemplate{%
\includegraphics[width=\paperwidth]{$background-image$}%
}
% In beamer background-image does not work well when other images are used, so this is the workaround
\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$}
\usebackgroundtemplate{\pgfuseimage{background}}
$endif$
\usepackage{pgfpages}
\setbeamertemplate{caption}[numbered]
Expand Down Expand Up @@ -289,7 +292,12 @@ $if(svg)$
$endif$
$if(strikeout)$
$-- also used for underline
\usepackage{soul}
\ifLuaTeX
\usepackage{luacolor}
\usepackage[soul]{lua-ul}
\else
\usepackage{soul}
\fi
$endif$
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
Expand Down Expand Up @@ -355,13 +363,16 @@ $if(babel-lang)$
$if(mainfont)$
\ifPDFTeX
\else
\babelfont[$babel-lang$]{rm}{$mainfont$}
\babelfont[$babel-lang$]{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
\fi
$endif$
$endif$
$for(babel-otherlangs)$
\babelprovide[import]{$babel-otherlangs$}
$endfor$
$for(babelfonts/pairs)$
\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$}
$endfor$
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
Expand Down
Loading

0 comments on commit bd5fcc5

Please sign in to comment.