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
c591863c
Commit
c591863c
authored
Jul 01, 2019
by
Sergey Goncharov
Browse files
simplified todos
parent
7c232b5c
Pipeline
#28167
passed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
todos.sty
View file @
c591863c
...
...
@@ -8,31 +8,18 @@
%\subjecton
\usepackage
{
ifpdf
}
%% For switching between pdf and non-pdf mode
\usepackage
{
color
}
\usepackage
{
x
color
}
\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
}
{}
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