- 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

@@ -209,6 +209,22 @@
\colorlet{boxedcoloroutline}{textColor}
\NewDocumentCommand{\ColorText}{
O{PrimeBlue}
O{PrimeBrightBlue}
O{}
+m
}{
\group_begin:
\bool_if:NTF \g_dark_mode_bool {
\color{#2}
} {
\color{#1}
}
#3 #4
\group_end:
}
\NewDocumentCommand{\boxedcolor}{
% #1: Text inside box.
o