aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.latex13
1 files changed, 6 insertions, 7 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 8cd64b866..11726c0e3 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -1,5 +1,5 @@
% Options for packages loaded elsewhere
-\PassOptionsToPackage{unicode=true$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
+\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
\PassOptionsToPackage{hyphens}{url}
$if(colorlinks)$
\PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor}
@@ -100,7 +100,7 @@ $endif$
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provides euro and other symbols
-\else % if luatex or xelatex
+\else % if luatex or xetex
$if(mathspec)$
\ifxetex
\usepackage{mathspec}
@@ -267,6 +267,10 @@ $if(graphics)$
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
+% Set default figure placement to htbp
+\makeatletter
+\def\fps@figure{htbp}
+\makeatother
$endif$
$if(links-as-notes)$
% Make links footnotes instead of hotlinks:
@@ -304,11 +308,6 @@ $if(pagestyle)$
\pagestyle{$pagestyle$}
$endif$
-% Set default figure placement to htbp
-\makeatletter
-\def\fps@figure{htbp}
-\makeatother
-
$for(header-includes)$
$header-includes$
$endfor$