- Replace all \newcommands with \NewDocumentCommand.
- Add Ragged2e dependency for better alignment options. - Refine marginalia, widow control.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
\colorlet{boxedcoloroutline}{black}
|
||||
|
||||
\newcommand{\boxedcolor}[3][\rule{0pt}{1ex}\rule{1ex}{0pt}]{%
|
||||
\NewDocumentCommand{\boxedcolor}{O{\rule{0pt}{1ex}\rule{1ex}{0pt}} m m}{%
|
||||
\providelength[\fboxsep]{\fboxsepdefault}%
|
||||
\providelength[\fboxrule]{\fboxruledefault}%
|
||||
%
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
\providelength[12.3599pt]{\warningboxsizeoffset}
|
||||
|
||||
\newcommand{\warningbox}[2][\textwidth - \warningboxsizeoffset]{%
|
||||
\NewDocumentCommand{\warningbox}{O{\textwidth-\warningboxsizeoffset} +m}{%
|
||||
\noindent%
|
||||
\fcolorbox{WarningBoxFGColor}{WarningBoxBGColor}{%
|
||||
\noindent%
|
||||
|
||||
Reference in New Issue
Block a user