additions and updates

This commit is contained in:
khannurien
2026-10-21 14:56:15 +00:00
parent a8426be8bd
commit 296b08e420
8 changed files with 155 additions and 83 deletions

View File

@@ -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}