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.

main
Vel 2022-09-18 14:02:49 +12:00
parent faaf65e75e
commit 7c134f81b6
8 changed files with 13 additions and 3 deletions

View File

@ -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.