Fix fonts?

This commit is contained in:
Silcantar
2025-10-14 21:33:01 -05:00
parent 7dccbe372a
commit 809e7e653b
29 changed files with 17 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -17,4 +17,12 @@
\NewDocumentCommand{\Switch}{m +m +O{} +O{}}{ \NewDocumentCommand{\Switch}{m +m +O{} +O{}}{
\int_case:nnTF {#1} {#2} {#3} {#4} \int_case:nnTF {#1} {#2} {#3} {#4}
}
\NewDocumentCommand{\DefineDocumentCommand}{m m m}{
\cs_if_exist:NTF #1 {
\RenewDocumentCommand{#1}{#2}{#3}
} {
\NewDocumentCommand{#1}{#2}{#3}
}
} }

View File

@@ -4,17 +4,15 @@
} }
% Loading math fonts takes a long time, so skip it in draft mode. % Loading math fonts takes a long time, so skip it in draft mode.
% \bool_if:NF \g_draft_bool { \bool_if:NF \g_draft_bool {
% \RequirePackage{notomath} \RequirePackage{notomath}
% } }
\NewDocumentCommand{\fontpath}{}{./PrimeTeX/fonts} \NewDocumentCommand{\fontpath}{}{./PrimeTeX/fonts}
% \def\sbfamily{} % \def\sbfamily{}
% Main font: Roboto Serif (Light), with symbols merged in from, in order of % Main font: Roboto Serif (Light)
% priority, Noto Serif, Noto Emoji, Noto Sans Symbols, and Noto
% Sans Symbols 2.
\setmainfont{RobotoSerif}[ \setmainfont{RobotoSerif}[
Path = {\fontpath/}, Path = {\fontpath/},
Extension = .ttf, Extension = .ttf,
@@ -129,7 +127,7 @@
% Text-mode angle bracket ornaments. % Text-mode angle bracket ornaments.
\NewDocumentCommand{\ab}{s m}{\textsl{〈}#1\textsl{〉}} \NewDocumentCommand{\ab}{s m}{\textsl{〈}#1\textsl{〉}}
\NewDocumentCommand{\checkmark}{s O{PrimeGreen} O{PrimeBrightGreen}}{ \DefineDocumentCommand{\checkmark}{s O{PrimeGreen} O{PrimeBrightGreen}}{
\bool_if:nTF {#1} { \bool_if:nTF {#1} {
\ColorText[#2][#3][]{\textsl{✓}} \ColorText[#2][#3][]{\textsl{✓}}
} { } {
@@ -155,6 +153,10 @@
} }
} }
\NewDocumentCommand{\checkbox}{}{\textsl{☑}}
\NewDocumentCommand{\emptybox}{}{\textsl{☐}}
\NewDocumentCommand{\xbox}{}{\textsl{☒}}
%--------------------------- MenuKeys Configuration ---------------------------- %--------------------------- MenuKeys Configuration ----------------------------
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor] \newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]