- Remove dependency on amssymb.
- Add \ColorText macro to set text color in dark or normal mode. - Merge \HiperRef into \HiRef. - Add macros for checkbox and ballot x to replace those from amssymb.
This commit is contained in:
@@ -97,6 +97,21 @@
|
||||
\NewDocumentCommand{\abl}{}{{\symfamily ❬}}
|
||||
\NewDocumentCommand{\abr}{}{{\symfamily ❭}}
|
||||
|
||||
\NewDocumentCommand{\checkmark}{s O{PrimeGreen} O{PrimeBrightGreen}}{
|
||||
\bool_if:nTF {#1} {
|
||||
\ColorText[#2][#3][\symfamily]{✓}
|
||||
} {
|
||||
{\symfamily ✓}
|
||||
}
|
||||
}
|
||||
\NewDocumentCommand{\xmark}{s O{PrimeRed} O{PrimeBrightRed}}{
|
||||
\bool_if:nTF {#1} {
|
||||
\ColorText[#2][#3][\symfamily]{✗}
|
||||
} {
|
||||
{\symfamily ✗}
|
||||
}
|
||||
}
|
||||
|
||||
% MenuKeys configuration.
|
||||
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user