additions and updates
This commit is contained in:
@@ -86,6 +86,18 @@
|
||||
\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}}
|
||||
\newcommand{\xmark}{{\color{BrickRed}\ding{55}}}
|
||||
\newcommand{\imark}{{\color{Orange}\ding{109}}}
|
||||
% status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
|
||||
\RequirePackage{xparse} % for the optional {text} argument
|
||||
\RequirePackage{xspace}
|
||||
\NewDocumentCommand{\pill}{m m m g}{%
|
||||
\CircledParamOpts{inner color=#1, outer color=#2, fill color=#2}{1}{%
|
||||
\textbf{#3}\IfValueT{#4}{ \textbf{--} #4}%
|
||||
}%
|
||||
\IfNoValueT{#4}{\xspace}% keep the space in "\TODO bla"
|
||||
}
|
||||
\newcommand{\DONE}{\pill{black}{LimeGreen}{DONE}}
|
||||
\newcommand{\TODO}{\pill{black}{Goldenrod}{TODO}}
|
||||
\newcommand{\FIXME}{\pill{white}{Red}{FIXME}}
|
||||
|
||||
% Figures
|
||||
|
||||
|
||||
Reference in New Issue
Block a user