[pstricks] Problems with \psbrace again
Herbert Voss
Herbert.Voss at fu-berlin.de
Tue Nov 6 08:00:08 CET 2007
Alan Ristow schrieb:
> I am having trouble with \psbrace again. When I run the example from the
> pstricks-add docs:
>
> \documentclass{article}
> \usepackage{pstricks}
> \usepackage{pstricks-add}
> \listfiles
> \begin{document}
> \begin{pspicture}(4,4)
> \psgrid[subgriddiv=0,griddots=10]
> \pnode(0,0){A}
> \pnode(4,4){B}
> \psbrace[linecolor=red,ref=lC](A)(B){Text I}
> \psbrace*[linecolor=blue,ref=lC](3,4)(0,1){Text II}
> \psbrace[fillcolor=white](3,0)(3,4){III}
> \end{pspicture}
> \end{document}
>
> I get the following error:
>
> ERROR: Undefined control sequence.
>
> --- TeX said ---
> <argument> ...\psk at nodesepA add exch \tx at UserCoor
you need the latest pstricks core packages
http://perce.de/LaTeX/pstricks/pstricks.tex
http://perce.de/LaTeX/pstricks/pstricks.pro
or write into the doc preamble:
\makeatletter
\pst at def{UserCoor}< \pst at number\psyunit div exch \pst at number\psxunit div
exch >
\pst at def{ScreenCoor}< \pst at number\psyunit mul exch \pst at number\psxunit
mul exch >
\makeatother
Herbert
More information about the PSTricks
mailing list