forked from spacecruft/SNOUG
Fixing font spec so code compiles on macOS without any additional system fonts needing to be installed.
parent
ff17b6992a
commit
eb8543eb9f
|
@ -71,14 +71,19 @@ 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}
|
||||
% Latin Modern
|
||||
\setmonofont{LMMono12-Regular}
|
||||
\setmonofont{LMMono12-Regular.otf}
|
||||
% Linux Biolinum
|
||||
\setsansfont[Ligatures=TeX]{Linux Biolinum O}
|
||||
\setsansfont{LinBiolinum}[ % Linux Biolinum
|
||||
UprightFont=*_R.otf,
|
||||
BoldFont=*_RB.otf,
|
||||
ItalicFont=*_RI.otf
|
||||
]
|
||||
|
||||
%%% END PREAMBLE FONTS %%%
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue