LaTeX: use mainfont instead of romanfont, allow multiple geometry.
This commit is contained in:
parent
efd4ae929d
commit
329c356da6
1 changed files with 5 additions and 5 deletions
|
@ -5,8 +5,8 @@
|
|||
\usepackage{fontspec,xltxtra,xunicode}
|
||||
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
||||
\newcommand{\euro}{€}
|
||||
$if(romanfont)$
|
||||
\setromanfont{$romanfont$}
|
||||
$if(mainfont)$
|
||||
\setmainfont{$mainfont$}
|
||||
$endif$
|
||||
$if(sansfont)$
|
||||
\setsansfont{$sansfont$}
|
||||
|
@ -19,8 +19,8 @@ $endif$
|
|||
\usepackage{fontspec}
|
||||
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
||||
\newcommand{\euro}{€}
|
||||
$if(romanfont)$
|
||||
\setromanfont{$romanfont$}
|
||||
$if(mainfont)$
|
||||
\setmainfont{$mainfont$}
|
||||
$endif$
|
||||
$if(sansfont)$
|
||||
\setsansfont{$sansfont$}
|
||||
|
@ -34,7 +34,7 @@ $endif$
|
|||
\fi
|
||||
\fi
|
||||
$if(geometry)$
|
||||
\usepackage[$geometry$]{geometry}
|
||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||
$endif$
|
||||
$if(natbib)$
|
||||
\usepackage{natbib}
|
||||
|
|
Loading…
Reference in a new issue