- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user