Recognitions:

## Problem with latex todonotes package

I tried out the latex todonotes package. Specifically I defined in the preamble:

\usepackage{todonotes}
\newcommand{\tinytodo}[2][]
{\todo[size=\small,inline]{\renewcommand{\baselinestretch}{0.5}%
\selectfont%
[\uppercase{#1}]:~#2%
\par
}}

In the body I use:

\tinytodo[A]{accute'' vs. protracted'' }

I get the following error message in the log:

Runaway argument?
{\@firstoftwo {\let \l@ngrel@x \relax \renew@command }}\def \reserved@b \ETC.
! Paragraph ended before \reserved@a was complete.
<to be read again>
\par
l.82 ...accute'' vs. protracted'' }

?
[2]

Although ignoring it yields a correct pdf, I would like to get rid of it. Any ideas?
 PhysOrg.com science news on PhysOrg.com >> City-life changes blackbird personalities, study shows>> Origins of 'The Hoff' crab revealed (w/ Video)>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
 Recognitions: Science Advisor Thank you. I shall try it out on monday.

Recognitions:

## Problem with latex todonotes package

I tried it out. linespace did not change the interline spacing and I still get the same error messages.

Recognitions:
Hmm... this works for me, in TeXLive on Windows, and no error messages.
Code:
\documentclass{article}
\usepackage{todonotes}
\newcommand{\tinytodo}[2][]
\selectfont%
[\uppercase{#1}]:~#2%
\par
}}

\begin{document}
Some  text. \\
Line two
\tinytodo[A]
{A note with two lines\\
A note with two lines}
Line three \\
Line four
\end{document}
PDF output attached.
Attached Files
 todo.pdf (23.7 KB, 2 views)
 Recognitions: Science Advisor I am using not article but svjour3.cls. Maybe that's the problem. I'll try it out. Thanx for your help!

 Similar discussions for: Problem with latex todonotes package Thread Forum Replies Introductory Physics Homework 2 Introductory Physics Homework 2 Introductory Physics Homework 1 Programming & Comp Sci 3 Forum Feedback & Announcements 4