[pstricks] pstricks in addtocontents
Herbert Voss
LaTeX at zedat.fu-berlin.de
Mon Sep 26 06:57:17 CEST 2005
Christopher Ellison wrote:
> I'm trying to add some pstricks to my table of contents using
> \addtocontents.
>
> If I manually edit the toc file and then recompile it works fine.
> However, I am having trouble using \addtocontents. I have tried this
> along with many variants:
>
> \addtocontents{toc}{\protect{\psframe(2,2)(4,4)}}
\addtocontents{toc}{%
\protect\pspicture(2,2)(4,4)\protect\psframe*[linecolor=red](2,2)(4,4)%
\protect\endpspicture}
Herbert
More information about the PSTricks
mailing list