Made font adjustments depend on compiler

This ensures that we are compatible with Overleaf again; they are not
shipping with my preferred set of fonts.
pull/43/head
Bastian Rieck 2022-09-12 08:52:26 +02:00
parent 0c979c2a8b
commit 8543de88c8
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ system. For instance, you might want to use the following combination:
\setmonofont[Scale=MatchLowercase]{IBM Plex Mono} \setmonofont[Scale=MatchLowercase]{IBM Plex Mono}
\end{verbatim} \end{verbatim}
% %
\ifxetexorluatex
If these fonts exist on your system, your normal text will look If these fonts exist on your system, your normal text will look
{\fontspec{Libre Baskerville}{a little bit different from the other font used {\fontspec{Libre Baskerville}{a little bit different from the other font used
in this example PDF}}, while your sans-serif font {\fontspec[Scale=MatchLowercase]{IBM Plex Sans}will in this example PDF}}, while your sans-serif font {\fontspec[Scale=MatchLowercase]{IBM Plex Sans}will
@ -80,6 +81,7 @@ pair nicely with your} {\fontspec[Scale=MatchLowercase]{IBM Plex Mono}{monospace
You can also remove the \verb|Scale| directive, but I find that most You can also remove the \verb|Scale| directive, but I find that most
fonts pair better if they are adjusted in size a little bit. Experiment fonts pair better if they are adjusted in size a little bit. Experiment
with it until you finds a combination that you enjoy. with it until you finds a combination that you enjoy.
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Features} \section{Features}