From 534d1aa04758352b367adc5e7d999a43e74703ef Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Fri, 3 Oct 2025 10:08:16 -0500 Subject: [PATCH] - Fix symbols font. - Add text-mode angle bracket ornament macros. --- packages/Fonts.sty | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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]