[pstricks] weird margins with a0poster
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Sep 9 11:38:49 CEST 2010
Am 08.09.2010 21:15, schrieb maja zaloznik:
> Hi!
>
> First of all, when I say weird, I simply mean "I don't understand" (as one
> does colloquially).
>
> Here's my example:
>
> \documentclass[portrait, a0b]{a0poster}
>
> \usepackage{pstricks}
>
>
> \begin{document}
>
> \psframebox{
>
> \begin{minipage}[c][10cm][c]{\textwidth}
>
> text
>
> \end{minipage}
>
> }
>
>
> \psframebox[framesep=0cm]{
>
> \begin{minipage}[c][10cm][c]{\textwidth}
>
> text
>
> \end{minipage}
>
> }
>
>
> \begin{pspicture}(0,0)(\textwidth,10cm)
>
> \psframe[linecolor=red](0,0)(\textwidth, 10cm )
>
> \end{pspicture}
>
>
> \end{document}
>
> Its a poster, so ideally one would want both margins to be equal? Which they
> are not, but further more I'm not sure why a psframebox with 0 framesep is
> still wider than a pspicture if they are both \textwidth.
it is not a pstricks problem. You have to pay attention for
inserted spaces from LaTeX:
\documentclass[portrait, a0b]{a0poster}
\usepackage{pstricks,calc}
\begin{document}
\psframebox{% <=== !!!!
\begin{minipage}[c][10cm][c]{\textwidth-2\pslinewidth}
text
\end{minipage}% <=== !!!!
}
\psframebox[framesep=0cm]{% <=== !!!!
\begin{minipage}[c][10cm][c]{\textwidth-2\pslinewidth}
text
\end{minipage}% <=== !!!!
}
\begin{pspicture}(0,0)(\textwidth,10cm)
\psframe[linecolor=red](0,0)(\textwidth, 10cm )
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list