Browse Source

Issue #8: Source Sans Pro is now applied as the main font even when using XeLaTeX with polyglossia.

pull/24/head
Wandmalfarbe 7 years ago
parent
commit
7e493f4172
  1. 4
      eisvogel.tex

4
eisvogel.tex

@ -320,6 +320,8 @@ $if(babel-newcommands)$
$babel-newcommands$
$endif$
\else
% See issue https://github.com/reutenauer/polyglossia/issues/127
\renewcommand*\familydefault{\sfdefault}
% load polyglossia as late as possible as it *could* call bidi if RTL lang (e.g. Hebrew or Arabic)
\usepackage{polyglossia}
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
@ -388,6 +390,8 @@ $if(babel-newcommands)$
$babel-newcommands$
$endif$
\else
% See issue https://github.com/reutenauer/polyglossia/issues/127
\renewcommand*\familydefault{\sfdefault}
% load polyglossia as late as possible as it *could* call bidi if RTL lang (e.g. Hebrew or Arabic)
\usepackage{polyglossia}
\setmainlanguage[]{english}

Loading…
Cancel
Save