Commit 4a6f1b76 authored by Sergey Goncharov's avatar Sergey Goncharov
Browse files

+todo in math mode

parent 39b43133
Pipeline #36877 passed with stage
in 32 seconds
......@@ -11,13 +11,14 @@
\usepackage{xcolor}
\usepackage{ifdraft} %% For access to the draft/final option of the documentclass
\def\todo#1{}
\def\todo#1{} % undefine, if defined previously
\ifdraft
{
\def\ensuretext#1{\ifmmode\text{#1}\else{#1}\fi}
\def\todo{\@ifstar\@@todo\@todo}
\ifpdf
\long\def\@todo#1{{\ttfamily\color[RGB]{255,64,64}TODO: #1}}
\long\def\@todo#1{\ensuretext{\ttfamily\color[RGB]{255,64,64}TODO: #1}}
\long\def\@@todo#1{{\hfill\\\noindent\ttfamily\color[RGB]{255,64,64}TODO: #1\hfill\\[1ex]}}
\else
\fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment