Commit c591863c authored by Sergey Goncharov's avatar Sergey Goncharov
Browse files

simplified todos

parent 7c232b5c
Pipeline #28167 passed with stage
in 33 seconds
......@@ -8,31 +8,18 @@
%\subjecton
\usepackage{ifpdf} %% For switching between pdf and non-pdf mode
\usepackage{color}
\usepackage{xcolor}
\usepackage{ifdraft} %% For access to the draft/final option of the documentclass
\def\todo#1{}
\ifdraft
{
\def\todo{\@ifstar\@@todo\@todo}
\ifpdf
\PassOptionsToPackage{usenames,dvipsnames}{color}
\def\@todo#1{
{\ttfamily\textcolor[RGB]{255,64,64}{TODO:
%{\marginpar[\tt\color{red}{TODO $\to$}]{\tt\color{red}{$\gets$ TODO}}}
#1}
}}
\def\@@todo#1{\noindent\vphantom{.}\!\!\@todo{#1}\\[1ex]}
\pdfcompresslevel=9
\else
\PassOptionsToPackage{usenames,dvips}{color}
\def\@\todo#1{
{\ttfamily TODO:
%\marginpar[\tt TODO $\mathbf{\to}$]{\tt$\mathbf{\gets}$ TODO}
#1}
}
\def\@@todo#1{\noindent\vphantom{.}\!\!\@todo{#1}\\[1ex]}
\fi
\def\todo{\@ifstar\@@todo\@todo}
\ifpdf
\long\def\@todo#1{{\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
}
{}
Markdown is supported
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