talk-2018-11-uppsala/texlib/todo.sty

12 lines
399 B
Text
Raw Normal View History

\RequirePackage{xcolor}
\definecolor{todobg}{HTML}{FF5F00}
\definecolor{todofg}{HTML}{3700DA}
\definecolor{notebg}{HTML}{87C23C}
\definecolor{notefg}{HTML}{BC3423}
\newcommand{\qtodo}[1]{\colorbox{todobg}{\textcolor{todofg}{#1}}}
\newcommand{\todo}[1]{\qtodo{\textbf{TODO:}\,#1}}
\newcommand{\qnote}[1]{\colorbox{notebg}{\textcolor{notefg}{#1}}}
\newcommand{\tnote}[1]{\qnote{\textbf{NOTE:}\,#1}}