Highlighting a paragraph in LaTeX #2
In my last post regarding this topic I couldn't really find a solution to highlight the background of a a paragraph in LaTeX when it contained block-level elements like citations.
What actually does work exactly as I wanted it to in the first place is using the todonotes package:
\usepackage[bordercolor=white,backgroundcolor=gray!30,linecolor=black,colorinlistoftodos]{todonotes}
\newcommand{\rework}[1]{\todo[color=yellow,inline]{Rework: #1}}
Now marking up a paragraph in \rework{paragraph(s)} results in:
edit: this throws yet another an error
! TeX capacity exceeded, sorry [input stack size=1500].
when the paragraph contains a footnote. Oh well - will have to do for now anyway.
Attachments
-
paragraph-highlight2.png
(35.9 KB) - added by hkbruegm
3 months ago.
rss




Comments
No comments.