LaTeX template: load polyglossia after header-includes.
It needs to be loaded as late as possible. Closes #3898.
This commit is contained in:
parent
5fc4980216
commit
732005456e
2 changed files with 15 additions and 15 deletions
|
@ -192,6 +192,15 @@ $else$
|
||||||
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
||||||
\fi
|
\fi
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
|
% set default figure placement to htbp
|
||||||
|
\makeatletter
|
||||||
|
\def\fps@figure{htbp}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
$for(header-includes)$
|
||||||
|
$header-includes$
|
||||||
|
$endfor$
|
||||||
$if(lang)$
|
$if(lang)$
|
||||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
||||||
|
@ -225,15 +234,6 @@ $if(dir)$
|
||||||
\fi
|
\fi
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
% set default figure placement to htbp
|
|
||||||
\makeatletter
|
|
||||||
\def\fps@figure{htbp}
|
|
||||||
\makeatother
|
|
||||||
|
|
||||||
$for(header-includes)$
|
|
||||||
$header-includes$
|
|
||||||
$endfor$
|
|
||||||
|
|
||||||
$if(title)$
|
$if(title)$
|
||||||
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
|
@ -44,6 +44,12 @@
|
||||||
\let\oldsubparagraph\subparagraph
|
\let\oldsubparagraph\subparagraph
|
||||||
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
|
% set default figure placement to htbp
|
||||||
|
\makeatletter
|
||||||
|
\def\fps@figure{htbp}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
\usepackage[shorthands=off,ngerman,british,nswissgerman,spanish,french,main=english]{babel}
|
\usepackage[shorthands=off,ngerman,british,nswissgerman,spanish,french,main=english]{babel}
|
||||||
\newcommand{\textgerman}[2][]{\foreignlanguage{ngerman}{#2}}
|
\newcommand{\textgerman}[2][]{\foreignlanguage{ngerman}{#2}}
|
||||||
|
@ -77,12 +83,6 @@
|
||||||
\newenvironment{LTR}{\beginL}{\endL}
|
\newenvironment{LTR}{\beginL}{\endL}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% set default figure placement to htbp
|
|
||||||
\makeatletter
|
|
||||||
\def\fps@figure{htbp}
|
|
||||||
\makeatother
|
|
||||||
|
|
||||||
|
|
||||||
\date{}
|
\date{}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
Loading…
Reference in a new issue