Graphics, Figures & Tables ⇒ Scalling drawing pictures in latex
Scalling drawing pictures in latex
I draw pictures using picture and pspicture enviroment. In pictures there is lines, cicles, text and formulas. I need to scale whole picture to adjust in my presentation. I try with \unitlength but this not scale whole image.
Is there a way to scale everything on picture?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
Scalling drawing pictures in latex
use \psscalebox{<factor>}{....} ordim wrote:Hello,
I draw pictures using picture and pspicture enviroment. In pictures there is lines, cicles, text and formulas. I need to scale whole picture to adjust in my presentation. I try with \unitlength but this not scale whole image.
Is there a way to scale everything on picture?
\resizebox{<lenght>}{<height>}{...}% needs graphicx
Herbert
Re: Scalling drawing pictures in latex
Thank you very much.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Scalling drawing pictures in latex
According to Section 4 (Dimensions, coordinates and angles; p. 5ff) of the pstricks manual, you can also set the unit dimension to scale the content of a pspicture environment.
Code: Select all
\psset{unit=0.75cm}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
Scalling drawing pictures in latex
This makes only sense, when you want to scale onlylocalghost wrote:Now that the problem is solved, please mark the topic exactly as described in Section 3 of the Board Rules (to be read before posting).
According to Section 4 (Dimensions, coordinates and angles; p. 5ff) of the pstricks manual, you can also set the unit dimension to scale the content of a pspicture environment.Code: Select all
\psset{unit=0.75cm}
graphical elements, because it does not work for
text labels ...
Herbert