- 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:
2025-10-03 16:48:21 -05:00
parent 534d1aa047
commit b290268986
4 changed files with 85 additions and 34 deletions

View File

@@ -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]