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

This commit is contained in:
Wandmalfarbe 2019-10-05 18:01:52 +02:00
parent be2d243225
commit 914d67c99f

View File

@ -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