mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-19 22:37:51 +00:00
Specifying mainfont
when using PdfLaTeX should not change anything because mainfont
is only for XeLaTeX.
This commit is contained in:
parent
be2d243225
commit
914d67c99f
@ -574,6 +574,13 @@ $endif$
|
||||
% 'default' option sets the default
|
||||
% font family to Source Sans Pro, not \sfdefault.
|
||||
%
|
||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||
$if(fontfamily)$
|
||||
$else$
|
||||
\usepackage[default]{sourcesanspro}
|
||||
\usepackage{sourcecodepro}
|
||||
$endif$
|
||||
\else % if not pdftex
|
||||
$if(mainfont)$
|
||||
$else$
|
||||
\usepackage[default]{sourcesanspro}
|
||||
@ -598,6 +605,7 @@ $endif$
|
||||
\makeatother
|
||||
\fi
|
||||
$endif$
|
||||
\fi
|
||||
|
||||
%
|
||||
% heading color
|
||||
|
Loading…
Reference in New Issue
Block a user