diff --git a/packages/Fonts.sty b/packages/Fonts.sty index a5c38ec..1df9350 100644 --- a/packages/Fonts.sty +++ b/packages/Fonts.sty @@ -70,8 +70,12 @@ BoldItalicFont = *-BoldItalic, ] -% Box drawing font: Noto Sans Symbols 2 -\newfontfamily{\bxfamily}{\fontpath/NotoSansSymbols2-regular.ttf} +% Symbol font: Noto Sans Symbols 2 +\newfontfamily{\symfamily}{NotoSansSymbols2}[ + Path = {\fontpath/}, + Extension = .ttf, + UprightFont = *-Regular, +] \setmathrm{RobotoSerif} @@ -81,13 +85,18 @@ \NewDocumentCommand{\slab}{m}{{\sbfamily{}#1}} \NewDocumentCommand{\code}{m}{\mono{\small{}#1}} \NewDocumentCommand{\emoji}{m}{{\emfamily{}#1}} -\NewDocumentCommand{\maths}{m}{{\mtfamily{#1}}} +\NewDocumentCommand{\maths}{m}{{\mtfamily{}#1}} +\NewDocumentCommand{\symb}{m}{{\symfamily{}#1}} % Line-breaking zero-width space. \NewDocumentCommand{\zws}{}{\hspace{0pt}} % Line-breaking dot. \NewDocumentCommand{\bdot}{}{.\zws} +% Text-mode angle bracket ornaments. +\NewDocumentCommand{\abl}{}{{\symfamily ❬}} +\NewDocumentCommand{\abr}{}{{\symfamily ❭}} + % MenuKeys configuration. \newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]