Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LaTeX's TODO package.

86 views
Skip to first unread message

Yochai

unread,
Aug 29, 2004, 8:37:16 PM8/29/04
to
Hi,

It seems that LaTeX's TODO package doesn't work inside theorems,
itemize environments, etc...

Is this problem familiar?
How can I solve it?

Thanks, Yochai.

p.s:
Don't familiar with LaTeX's TODO package? (A nice utility for managing
the TODO list of you book/article.) Try it:
http://www.ctan.org/tex-archive/macros/latex/contrib/todo/?action=/tex-archive/macros/latex/contrib/

Lee Rudolph

unread,
Aug 30, 2004, 7:38:54 AM8/30/04
to
twi...@bgumail.bgu.ac.il (Yochai) writes:

>Hi,
>
>It seems that LaTeX's TODO package doesn't work inside theorems,
>itemize environments, etc...
>
>Is this problem familiar?

"Familiar" in the sense that I myself just noticed it last week,
yes. (Since I hadn't noticed it the last time I used todo.sty,
about one year ago, I did wonder whether this newly-observed
misbehavior had been triggered by some other change in my
preamble; for instance, this time around the documentclass is
elsart where in the previous instance it was amsart, and there
are various other packages present that weren't there last time.
But I didn't experiment to find out, so for all I know, I was
just lucky previously.)

>How can I solve it?

Being lazy, I just moved my TODOs out of the environments
that wouldn't tolerate them (and am still putting off DOing them,
too). I look forward to an informed answer to (y)our question,
perhaps from Javier Bezos himself!

Lee Rudolph

Yochai

unread,
Aug 30, 2004, 8:20:22 PM8/30/04
to
I use two commands two smelly-"solve" it, when I am inside a theorem,
proof, etc…


Here they are:
~~~~~~~~~~

\newcommand{\goTODO}[2] {\marginpar{\tiny{#1 \ref{#2}}}}
\newcommand{\TODO}[3] {\todo[#1]{\label{#2} #3}}

Usage sample: (Inside AmS's proof environment)
~~~~~~~~~~

… Notice that there are $\binom{N-n}{(N-n)/2}$
optimal\goTODO{To Fix}{ts26/08/04,14:30} solutions for $(P,Q)$,
therefore there exist…
\end{proof}

\TODO{To Fix}{ts26/08/04,14:30}{I use here the standard \AmS's binom
command. The parentheses are small or what?}


You can use it in the meanwhile… But of course, I wonder if there is
better way to handle it?

I saw a very similar package called "fixme", which is used for the
same purpose – but didn't check it yet… (I guess it has the same
problem, since it seems a little problematic to be fully compatible
with all TeX's environment.)

Any recommendations on the "fixme" package?


Thanks, Yochai.

Yochai

unread,
Aug 30, 2004, 8:25:22 PM8/30/04
to
The two new commands is better from putting the todo after the proof,
since (I think) you mark the place where you want TO DO something...
(locality:))
0 new messages