add todo package for quick aliases of some todonotes
This commit is contained in:
parent
07ccba4d23
commit
ba8092f2f6
4 changed files with 52 additions and 0 deletions
26
src/utils/todo.pysty
Normal file
26
src/utils/todo.pysty
Normal file
|
@ -0,0 +1,26 @@
|
|||
__HEADER__(Easy standards for the todonotes package)
|
||||
|
||||
\RequirePackage[colorinlistoftodos]{todonotes}
|
||||
\RequirePackage{xparse}
|
||||
|
||||
% Make \todo{} available inside minipages
|
||||
\usepackage{marginnote}
|
||||
\let\marginpar\marginnote
|
||||
|
||||
\setuptodonotes{tickmarkheight=0.1cm, size=\small}
|
||||
|
||||
\newcommand\todoref{
|
||||
\todo[color=red!40]{Add reference.}
|
||||
}
|
||||
|
||||
\newcommand\todoquestion{
|
||||
\todo[color=black!10, size=\tiny]
|
||||
}
|
||||
|
||||
\newcommand\todotex{
|
||||
\todo[color=green!75!black]
|
||||
}
|
||||
|
||||
\newcommand\todotypo{
|
||||
\todo[color=blue!40, size=\tiny]{Typo corrected, double check this.}
|
||||
}
|
1
tests/utils/todo/Makefile
Symbolic link
1
tests/utils/todo/Makefile
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../COMPILE_MAKEFILE
|
5
tests/utils/todo/test.tdo
Normal file
5
tests/utils/todo/test.tdo
Normal file
|
@ -0,0 +1,5 @@
|
|||
\contentsline {todo}{\color@fb@x {}{black}{}{orange}{\leavevmode {\color {orange}o}}\ test}{1}{}%
|
||||
\contentsline {todo}{\color@fb@x {}{black}{}{red!40}{\leavevmode {\color {red!40}o}}\ Add reference.}{1}{}%
|
||||
\contentsline {todo}{\color@fb@x {}{black}{}{black!10}{\leavevmode {\color {black!10}o}}\ what is this?}{1}{}%
|
||||
\contentsline {todo}{\color@fb@x {}{black}{}{green!75!black}{\leavevmode {\color {green!75!black}o}}\ test}{1}{}%
|
||||
\contentsline {todo}{\color@fb@x {}{black}{}{blue!40}{\leavevmode {\color {blue!40}o}}\ Typo corrected, double check this.}{1}{}%
|
20
tests/utils/todo/test.tex
Normal file
20
tests/utils/todo/test.tex
Normal file
|
@ -0,0 +1,20 @@
|
|||
\documentclass{article}
|
||||
|
||||
\usepackage{mkessler-todo}
|
||||
|
||||
\begin{document}
|
||||
\listoftodos
|
||||
Just a small test.
|
||||
\todo{test}
|
||||
|
||||
hi
|
||||
\todoref
|
||||
|
||||
test
|
||||
\todoquestion{what is this?}
|
||||
|
||||
bla
|
||||
\todotex{test}
|
||||
|
||||
\todotypo
|
||||
\end{document}
|
Loading…
Reference in a new issue