usage => \todo{..... here is some stupid thing....}
Last active
May 14, 2019 13:26
-
-
Save PadreSVK/a2bd0ff6f4c439bc308741a31095f0f9 to your computer and use it in GitHub Desktop.
Setup todo (with list and chapter link) for latex template FEKT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\obsah | |
\seznamobrazku | |
\seznamtabulek | |
\listoflistings | |
%remove - list of todos | |
\listoftodos | |
%remove - list of todos | |
\cleardoublepage\pagestyle{plain} % zapnutí číslování stránek | |
\include{text/uvod} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\makeatletter | |
\newcounter{todo} | |
\newcommand\todo[1]{% | |
\refstepcounter{todo}% | |
\textcolor[rgb]{1,0,0}{TODO => #1 <=TODO}% | |
\addcontentsline{tod}{subsection}{#1~}% | |
}% | |
\newcommand\todoname{todo} | |
\newcommand\listtodoname{List of ToDos} | |
\newcommand\listoftodos{% | |
\newpage | |
\section*{\listtodoname}\@starttoc{tod} | |
\addcontentsline{toc}{chapter}{\listtodoname}% | |
} | |
\makeatother |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment