[pstricks] psmatrix - problem with skip above

Marco Daniel marco.daniel at mada-nada.de
Tue Jan 26 14:08:15 CET 2010


Hello,

first my minimal (or large) example :-)

%%%%%%%%%%%%%%%%%
\documentclass[a4paper, 12pt]{article}
\usepackage{pstricks-add}
\begin{document}
some text some text some text some text some text some text some text
\[%
\begin{psmatrix}[colsep=0.816cm, rowsep=1cm,mcol=c]
    A & & B\\
& C &
\end{psmatrix}%
\psset{nodesep=2pt, arrows=->}
\everypsbox{\scriptstyle}
\ncline{1,1}{1,3}\naput[labelsep=0.1]{f}
\ncline{1,1}{2,2}\nbput[labelsep=0.1]{g}
\ncline{1,3}{2,2}\naput[labelsep=0.1]{h}
\]
some text some text some text some text some text some text some text
\[%
\fbox{%
\begin{psmatrix}[colsep=0.816cm, rowsep=1cm,mcol=c]
    A & & B\\
& C &
\end{psmatrix}%
}
\psset{nodesep=2pt, arrows=->}
\everypsbox{\scriptstyle}
\ncline{1,1}{1,3}\naput[labelsep=0.1]{f}
\ncline{1,1}{2,2}\nbput[labelsep=0.1]{g}
\ncline{1,3}{2,2}\naput[labelsep=0.1]{h}
\]
some text some text some text some text some text some text some text
\end{document}
%%%%%%%%%%%%%%%%%

In the second equation with the fbox you will see that the label "f" is 
not in the calculation of the psmatrix-size.

I found a workaround by \rule{0pt}{0.8cm} but for me it isn't the solution.

Is there a command that I have not found?

regards
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100126/506278ae/attachment.html>


More information about the PSTricks mailing list