10
2
Fork 0
has-writeup/fonts.tex

19 lines
708 B
TeX
Raw Normal View History

2020-05-26 09:55:24 +00:00
% 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{🧃}}
\newfontfamily{\symbolfont}{DejaVu Sans}[Renderer=Harfbuzz]
\DeclareTextFontCommand{\textsymbol}{\symbolfont}
\newunicodechar{}{\textsymbol{}}
\newunicodechar{}{\textsymbol{}}
2020-05-26 15:35:21 +00:00
\setmonofont{Noto Sans Mono}[Scale=0.9]