mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Prepared font handling for fontspec (LuaLaTeX or XeLaTeX)
This commit is contained in:
parent
16cf3edd49
commit
a2fc3c3623
13 changed files with 67 additions and 9 deletions
|
|
@ -21,13 +21,27 @@
|
|||
%-------------------------------------------------------------------------------
|
||||
% package options
|
||||
%-------------------------------------------------------------------------------
|
||||
\RequirePackage{tgpagella}
|
||||
\renewcommand*{\familydefault}{\rmdefault}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% overall style definition
|
||||
%-------------------------------------------------------------------------------
|
||||
% fonts
|
||||
%\ifxetexorluatex
|
||||
% \setmainfont{Tex-Gyre Pagella}
|
||||
% \setsansfont{Tex-Gyre Pagella}
|
||||
% \setmathfont{Tex-Gyre Pagella}
|
||||
% \setmathfont[range=\mathit,\mathsfit]{Tex-Gyre Pagella Italic}
|
||||
% \setmathfont[range=\mathbfup,\mathbfsfup]{Tex-Gyre Pagella Bold}
|
||||
% \setmathfont[range=\mathbfit,\mathbfsfit]{Tex-Gyre Pagella Bold Italic}
|
||||
%\else
|
||||
\IfFileExists{tgpagella.sty}%
|
||||
{%
|
||||
\RequirePackage{tgpagella}%
|
||||
\renewcommand*{\familydefault}{\rmdefault}}%
|
||||
{}
|
||||
%\fi
|
||||
|
||||
% commands
|
||||
\newcommand*{\maketitlesymbol}{%
|
||||
{~~~\textbullet~~~}}% \textbullet forces the use of the CMSY font, even when latin modern fonts are used :(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue