Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Informatik 8
TexCommon
Commits
4a6f1b76
Commit
4a6f1b76
authored
Jan 26, 2020
by
Sergey Goncharov
Browse files
+todo in math mode
parent
39b43133
Pipeline
#36877
passed with stage
in 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
todos.sty
View file @
4a6f1b76
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment