Browse Source

Specifying `mainfont` when using PdfLaTeX should not change anything because `mainfont` is only for XeLaTeX.

pull/125/head
Wandmalfarbe 5 years ago
parent
commit
914d67c99f
  1. 8
      eisvogel.tex

8
eisvogel.tex

@ -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…
Cancel
Save