[pstricks] PSTricks and standalone package

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon May 16 17:33:33 CEST 2016


Am 16.05.2016 um 17:20 schrieb Clemens Schäfermeier:
> running the latest MiKTeX 64 bit and compiling the attached example, the
> output is a landscape-like pdf, however it used to cropped to the
> bounding box of the drawing.
> Compilation:
>
> latex -> dvips -> gswin64c.exe (with -sPAPERSIZE=a4 -dSAFER -dBATCH
> -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps")
>
> This is, afaik, the standard LaTeX => PS => setting from the
> TeXniCCenter editor.
>
> As it appeared after the latest updates, I suspect some package causing
> that issue. If someone has an idea about the cause, thanks for sharing.

use it this way:

\documentclass[pstricks]{standalone}
\usepackage{pst-optexp}
\begin{document}
	
\begin{pspicture}[showgrid = true](-2,-1)(6,5)
...
\end{pspicture}
	
\end{document}


Herbert


More information about the PSTricks mailing list