10
2
Fork 0
has-writeup/fonts.tex

21 lines
787 B
TeX

% why are we in a separate file here?
% pandoc really likes to mess with these commands when they're in the yaml config so, it's a
% separate file out of pandoc's evil clutches now
% i literally had to force upgrade to absolute bleeding edge lualatex to get this working ok
\usepackage{fontspec}
\usepackage{newunicodechar}
\newfontfamily{\emojifont}{Noto Color Emoji}[Renderer=Harfbuzz]
\DeclareTextFontCommand{\textemoji}{\emojifont}
\newunicodechar{🧃}{\textemoji{🧃}}
\newunicodechar{🦈}{\textemoji{🦈}}
\newfontfamily{\symbolfont}{DejaVu Sans}[Renderer=Harfbuzz]
\DeclareTextFontCommand{\textsymbol}{\symbolfont}
\newunicodechar{}{\textsymbol{}}
\newunicodechar{}{\textsymbol{}}
\newunicodechar{}{\textsymbol{}}
\setmonofont{Noto Sans Mono}[Scale=0.9]