Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty

raw
1 %%
2 %% This is file `lwarp-easy-todo.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `easy-todo')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18
19 \LWR@ProvidesPackagePass{easy-todo}[2014/01/01]
20
21 \let\LWR@easytodo@origlistoftodos\listoftodos
22
23 \renewcommand{\listoftodos}{%
24 \begingroup
25 \renewcommand{\flushright}{}
26 \LWR@easytodo@origlistoftodos
27 \endgroup
28 }
29
30 \VerifyCommand[lwarp][easy-todo]{\todoii}{04C63A894C30C706AC60DD6B58FDEDA2}
31
32 \renewcommand{\todoii}[2]{%
33 \ifthenelse{\equal{\@todoobeyfinal}{true}}%
34 {%
35 \ifoptionfinal{\todoenable{false}}{\todoenable{true}}%
36 }%
37 {}%
38 \ifthenelse{\equal{\@todoenable}{true}}%
39 {%
40 \refstepcounter{todos}%
41 \noindent{%
42 \todocolor%
43 \LWR@textcurrentcolor{%
44 \normalfont\scriptsize{\bfseries{\thetodos.#1}}%
45 }%
46 }%
47 \addcontentsline{lod}{todos}{\protect{\thetodos. }\LWR@isolate{#2}}%
48 }%
49 {}%
50 }
51
52
53 \endinput
54 %%
55 %% End of file `lwarp-easy-todo.sty'.