Source

Tex settings / texmf / tex / aragilar / font-settings.sty

Full commit
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{font-settings}

%%%% SETTING UP CONFIGURATION ENVIRONMENT %%%%
%% Packages
%\RequirePackage{pgfopts}
%\RequirePackage{boolexpr}
%
%%% Define keys
%\pgfkeys{
%  /ARAFONT/.cd,
%  font-family/.is choice,
%  font-family/Latin Modern/.is if=,
%  mainfont/.store in=\ARAFONT@mainfont,
%  monofont/.store in=\ARAFONT@monofont
%}
%
%%% Define keys if not defined
%
%\ProcessPgfOptions{/ARAFONT}


%% Text Fonts
%\setmainfont{Linux Libertine O}
%\setmainfont{LiberationSerif}
%\setmainfont{Linden Hill}

%\setmainfont{TeX Gyre Bonum}
\setmainfont{TeX Gyre Pagella}
%\setmainfont{TeX Gyre Schola}
%\setmainfont{TeX Gyre Termes}

%\setmainfont{CMU Serif}

%\setmainfont[
%  BoldFont={* Demi},
%  ItalicFont={* 7 Italic},
%  BoldItalicFont={* Demi 10 Oblique},
%  SlantedFont={* Slanted},
%  UprightFeatures={SmallCapsFont={Latin Modern Roman Caps}},
%  BoldFeatures={SmallCapsFont={Latin Modern Roman Caps}},
%  ItalicFeatures={SmallCapsFont={Latin Modern Roman Caps}},
%  BoldItalicFeatures={SmallCapsFont={Latin Modern Roman Caps}},
%  SlantedFeatures={SmallCapsFont={Latin Modern Roman Caps}}
%%  SmallCapsFont={* Caps}
%]{Latin Modern Roman}

\setmonofont{Inconsolata}


%% Maths Fonts
%\setmathfont{Asana Math}
%\setmathfont{STIXGeneral}
\setmathfont{XITS Math}
%\setmathfont{Latin Modern Math}

%\setmathfont{Neo Euler}  %% NOT WORKING YET
\addfontfeatures{Ligatures=Historic}
%\addfontfeatures{Contextuals=Swash,Fractions=On,}