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{}}
|
||||
\fi
|
||||
$endif$
|
||||
|
||||
% set default figure placement to htbp
|
||||
\makeatletter
|
||||
\def\fps@figure{htbp}
|
||||
\makeatother
|
||||
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
$if(lang)$
|
||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
||||
|
@ -225,15 +234,6 @@ $if(dir)$
|
|||
\fi
|
||||
$endif$
|
||||
|
||||
% set default figure placement to htbp
|
||||
\makeatletter
|
||||
\def\fps@figure{htbp}
|
||||
\makeatother
|
||||
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
|
||||
$if(title)$
|
||||
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
||||
$endif$
|
||||
|
|
|
@ -44,6 +44,12 @@
|
|||
\let\oldsubparagraph\subparagraph
|
||||
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
||||
\fi
|
||||
|
||||
% set default figure placement to htbp
|
||||
\makeatletter
|
||||
\def\fps@figure{htbp}
|
||||
\makeatother
|
||||
|
||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||
\usepackage[shorthands=off,ngerman,british,nswissgerman,spanish,french,main=english]{babel}
|
||||
\newcommand{\textgerman}[2][]{\foreignlanguage{ngerman}{#2}}
|
||||
|
@ -77,12 +83,6 @@
|
|||
\newenvironment{LTR}{\beginL}{\endL}
|
||||
\fi
|
||||
|
||||
% set default figure placement to htbp
|
||||
\makeatletter
|
||||
\def\fps@figure{htbp}
|
||||
\makeatother
|
||||
|
||||
|
||||
\date{}
|
||||
|
||||
\begin{document}
|
||||
|
|
Loading…
Reference in a new issue