Merge changes from the pandoc default latex template (#337)

- Merge changes from the pandoc default LaTeX template (as of 2023-03-29, a5159c2).
This commit is contained in:
Pascal Wagler 2023-04-17 15:03:53 +02:00 committed by GitHub
parent fee142b4fd
commit 2a55eb75a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,12 @@ $if(svg)$
$endif$
$if(strikeout)$
$-- also used for underline
\ifLuaTeX
\usepackage{luacolor}
\usepackage[soul]{lua-ul}
\else
\usepackage{soul}
\fi
$endif$
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
@ -451,15 +456,15 @@ $if(babel-lang)$
$if(mainfont)$
\ifPDFTeX
\else
\babelfont[$babel-lang$]{rm}{$mainfont$}
\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
\fi
$endif$
$endif$
$for(babel-otherlangs)$
\babelprovide[import]{$babel-otherlangs$}
$endfor$
$for(babelfonts)$
\babelfont[$babelfonts.language$]{rm}{$babelfonts.font$}
$for(babelfonts/pairs)$
\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$}
$endfor$
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands