[pstricks] Scaling pstricks output

Peter Hutnick tex at hutnick.com
Mon Jul 12 20:47:20 CEST 2004


Jean-Come Charpentier wrote:

> Peter Hutnick wrote:

>> Any chance of using a LaTeX unit, like 2in or 144pt?
>>
> 
> Sure!
> \psset{unit=2in}
> or
> \psset{unit=144pt}

Sorry, I was thinking one thing, and wrote another.  What I mean is: is 
there a way to give an overall dimension.  My concern is that I want 
these things to be robust enough that if I change my margins it will all 
still come out correctly, or if I change the scale (in the x/y sense) of 
a figure I don't have to recalculate the unit size to get the right 
overall width.  That's why I lead in with the \scale macro.

What would be ideal would be to set each one so that it would 
grow/shrink to fit \marginparwidth automagically.  I'm looking for what 
I would expect \scale{\marginparwidth} to do.

Thanks again for all your help.

-Peter




More information about the PSTricks mailing list