- Fix symbols font.
- Add text-mode angle bracket ornament macros.
This commit is contained in:
@@ -70,8 +70,12 @@
|
|||||||
BoldItalicFont = *-BoldItalic,
|
BoldItalicFont = *-BoldItalic,
|
||||||
]
|
]
|
||||||
|
|
||||||
% Box drawing font: Noto Sans Symbols 2
|
% Symbol font: Noto Sans Symbols 2
|
||||||
\newfontfamily{\bxfamily}{\fontpath/NotoSansSymbols2-regular.ttf}
|
\newfontfamily{\symfamily}{NotoSansSymbols2}[
|
||||||
|
Path = {\fontpath/},
|
||||||
|
Extension = .ttf,
|
||||||
|
UprightFont = *-Regular,
|
||||||
|
]
|
||||||
|
|
||||||
\setmathrm{RobotoSerif}
|
\setmathrm{RobotoSerif}
|
||||||
|
|
||||||
@@ -81,13 +85,18 @@
|
|||||||
\NewDocumentCommand{\slab}{m}{{\sbfamily{}#1}}
|
\NewDocumentCommand{\slab}{m}{{\sbfamily{}#1}}
|
||||||
\NewDocumentCommand{\code}{m}{\mono{\small{}#1}}
|
\NewDocumentCommand{\code}{m}{\mono{\small{}#1}}
|
||||||
\NewDocumentCommand{\emoji}{m}{{\emfamily{}#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.
|
% Line-breaking zero-width space.
|
||||||
\NewDocumentCommand{\zws}{}{\hspace{0pt}}
|
\NewDocumentCommand{\zws}{}{\hspace{0pt}}
|
||||||
% Line-breaking dot.
|
% Line-breaking dot.
|
||||||
\NewDocumentCommand{\bdot}{}{.\zws}
|
\NewDocumentCommand{\bdot}{}{.\zws}
|
||||||
|
|
||||||
|
% Text-mode angle bracket ornaments.
|
||||||
|
\NewDocumentCommand{\abl}{}{{\symfamily ❬}}
|
||||||
|
\NewDocumentCommand{\abr}{}{{\symfamily ❭}}
|
||||||
|
|
||||||
% MenuKeys configuration.
|
% MenuKeys configuration.
|
||||||
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]
|
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user