[pstricks] psbrace problem

Poul Riis Poul.Riis at skolekom.dk
Mon Dec 9 19:20:20 CET 2013


I still wonder why I can do all sorts of things without problems
(\pspolygon, \psline and so on, see below) - except \psbrace.

I also tried texlive - it is true that the figure is produced, also with
\psbrace, but ghostscript complains....

Poul Riis


\documentclass[12pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[dvips,svgnames,x11names,hyperref]{xcolor}
\usepackage[left=1.5cm,right=1.0cm,top=1.5cm,bottom=1.5cm]{geometry}
\usepackage{pstricks-add}
\usepackage{blindtext}

\begin{document}
~
\Blindtext[6][1]
\begin{pspicture}(6,4)
\pstVerb{/xp 6 def /yp 4 def}
\pnode(0,0){O}
\pnode(!xp yp){P}
\pnode(!xp 2 div yp 2 div){M}
\pnode(!xp 3 div yp 2 mul 3 div){A}
\psframe*[linecolor=Cornsilk1](O)(P)
\pspolygon*[linecolor=Gold1](O)(A)(M)
\psline[linecolor=Blue1](A)(M)
\pscircle*(M){2pt}
\ncline[linecolor=Green3]{A}{P}
%\psbrace*[linecolor=Green3](M)(P){MP}
\end{pspicture}
\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20131209/99034c66/attachment.html>


More information about the PSTricks mailing list