[pstricks] \scalebox incompatible with \documentclass{minimal}?

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Dec 21 21:34:19 CET 2005


Joel Salomon wrote:
> I've been trying to generate embeddable diagrams with PSTricks, and it
> seems I cannot use \scalebox (or \LARGE, for that matter) in a
> document I've begun with \documentclass{minimal}.

makes only sense when you have only PSTricks stuff,
makes it easier to find errors.
If you want to use, then use the article class.

> Does this make sense to people, is there a work-around, and is there a
> real reason to use \documentclass{minimal} rather that
> \documentclass{article}?

with pstricks use \psscalebox or load graphicx


 > On 12/21/05, Herbert Voss <LaTeX at zedat.fu-berlin.de> wrote:
 >
 >>\includegraphics{file name} _without_ an extension will
 >>always choose the right one.
 >
 >
 > So there's no need for ifpdf and \DeclareGraphicsExtensions that
 > someone sent me?

no, if you have _no_ file extension

 >>BTW: there is no need to create a pdf or eps by hand,
 >>choose package pst-pdf and a script, which does it all ...
 >>http://www.dante.de/CTAN/graphics/pstricks/contrib/pst-pdf/
 >
 >
 > I've been creating the grahics standalone, using the following 
(Windows) script:
 > latex %1.tex
 > dvips -E %1.dvi -o %1.ps
 > epstool --copy --bbox %1.ps %1.eps
 > epstopdf %1.eps
 > It's a variant of the scripts from
 > <http://www.tug.org/PSTricks/main.cgi?file=pdf/pdfoutput>.

ok, it is nearly the same, than using package pst-pdf
with one of the scripts.

Herbert




More information about the PSTricks mailing list