additions and updates
This commit is contained in:
@@ -25,6 +25,19 @@
|
||||
\MakeOuterQuote{"}
|
||||
\usepackage{enumitem}
|
||||
\usepackage[dvipsnames]{xcolor}
|
||||
\usepackage{circledsteps}
|
||||
% status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
|
||||
\usepackage{xparse} % for the optional {text} argument
|
||||
\usepackage{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}}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{titlesec}
|
||||
\usepackage{booktabs}
|
||||
|
||||
Reference in New Issue
Block a user