Fix fonts?
This commit is contained in:
@@ -4,17 +4,15 @@
|
||||
}
|
||||
|
||||
% Loading math fonts takes a long time, so skip it in draft mode.
|
||||
% \bool_if:NF \g_draft_bool {
|
||||
% \RequirePackage{notomath}
|
||||
% }
|
||||
\bool_if:NF \g_draft_bool {
|
||||
\RequirePackage{notomath}
|
||||
}
|
||||
|
||||
\NewDocumentCommand{\fontpath}{}{./PrimeTeX/fonts}
|
||||
|
||||
% \def\sbfamily{}
|
||||
|
||||
% Main font: Roboto Serif (Light), with symbols merged in from, in order of
|
||||
% priority, Noto Serif, Noto Emoji, Noto Sans Symbols, and Noto
|
||||
% Sans Symbols 2.
|
||||
% Main font: Roboto Serif (Light)
|
||||
\setmainfont{RobotoSerif}[
|
||||
Path = {\fontpath/},
|
||||
Extension = .ttf,
|
||||
@@ -129,7 +127,7 @@
|
||||
% Text-mode angle bracket ornaments.
|
||||
\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} {
|
||||
\ColorText[#2][#3][]{\textsl{✓}}
|
||||
} {
|
||||
@@ -155,6 +153,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
\NewDocumentCommand{\checkbox}{}{\textsl{☑}}
|
||||
\NewDocumentCommand{\emptybox}{}{\textsl{☐}}
|
||||
\NewDocumentCommand{\xbox}{}{\textsl{☒}}
|
||||
|
||||
%--------------------------- MenuKeys Configuration ----------------------------
|
||||
|
||||
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]
|
||||
|
||||
Reference in New Issue
Block a user