forked from spacecruft/SNOUG
Making changes to fonts required for the document to compile on macOS. Also upgrading the STIX font to STIXTWO and correctly specifying bold, italic and bolditalic variants. This fixes these variants missing in the typeset document.
parent
faaf65e75e
commit
7c134f81b6
|
@ -71,14 +71,24 @@ leftmargin=1cm,rightmargin=1cm
|
|||
% http://mirrors.ctan.org/macros/latex/contrib/fontspec/fontspec.pdf
|
||||
\usepackage{fontspec}
|
||||
\defaultfontfeatures{Ligatures=TeX} % To support LaTeX quoting style
|
||||
\defaultfontfeatures{Path=fonts/} % Specify the location of font files
|
||||
% To get font name, run, for example:
|
||||
% otfinfo -i `kpsewhich lmroman12-regular.otf` | grep "^Full name:"
|
||||
% STIX
|
||||
\setmainfont[Ligatures=TeX]{STIXGeneral-Regular}
|
||||
\setsansfont{STIX2Text}[
|
||||
UprightFont=*-Regular.otf,
|
||||
BoldFont=*-Bold.otf,
|
||||
ItalicFont=*-Italic.otf,
|
||||
BoldItalicFont=*-BoldItalic.otf
|
||||
]
|
||||
% Latin Modern
|
||||
\setmonofont{LMMono12-Regular}
|
||||
\setmonofont{LMMono12-Regular.otf}
|
||||
% Linux Biolinum
|
||||
\setsansfont[Ligatures=TeX]{Linux Biolinum O}
|
||||
\setsansfont{LinBiolinum}[
|
||||
UprightFont=*_R.otf,
|
||||
BoldFont=*_RB.otf,
|
||||
ItalicFont=*_RI.otf
|
||||
]
|
||||
%%% END PREAMBLE FONTS %%%
|
||||
|
||||
%%% MISC %%%
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue