[pstricks] psmatrix and whitespace

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Fri Jul 11 14:02:20 CEST 2003


Hi,
could someone explain the behaviour of the following example?

Herbert

\documentclass[a4paper]{article}
\usepackage{pst-node}
\parindent=0pt
\def\r{\rule{1cm}{1pt}}
\begin{document}

The default psmatrix, where the \r macro shows only the
baseline:

\r
\psmatrix
A\\B
\endpsmatrix
\r

Same inside an equation with parenthesis
\[
\r\left(\
\psmatrix
A\\B
\endpsmatrix
\ \right)\r
\]

so far so good, but why does the following construct kills the
vertical whitespace under the B???

\[
\r\left(\
\vcenter{\hbox{$
\psmatrix
A\\B
\endpsmatrix
$}}
\ \right)\r
\]

\end{document}




More information about the PSTricks mailing list