- Fix symbols font.

- Add text-mode angle bracket ornament macros.
This commit is contained in:
2025-10-03 10:08:16 -05:00
parent d6eb238eb5
commit 534d1aa047

View File

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