[pstricks] minipage[t] and pspicture
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Nov 24 23:08:54 CET 2011
Am 24.11.2011 20:21, schrieb Hendrik Maryns:
> I don?t understand why the pspicture rags out above the line, even
> though the minipage has [t]. [c] works as expected (or at least it
> looks better), but there seems to be no difference between [t] and [b]
this has nothing to do with PSTricks, it will be the same
problem with an ordinary \fbox. The pspicture environment is
a box and for TeX like a single character. If you want to align
both at the top create a virtual line for both with \vspace{0pt}:
\documentclass{scrartcl}
\usepackage{pstricks,calc}
\begin{document}
\noindent
\begin{minipage}[t]{\linewidth-4.1cm}\vspace{0pt}
Je wil de hoogte van een flatgebouw weten. Het enige wat je hebt is
een stok
\end{minipage}
\begin{minipage}[t]{4cm}\vspace{0pt}
\begin{pspicture}(0,0)(4,5)
\psframe(0,0)(4,5)
\end{pspicture}
\end{minipage}
\end{document}
Herbert
More information about the PSTricks
mailing list