Graphics, Figures & Tables ⇒ scaling figures
-
- Posts: 1
- Joined: Tue Feb 09, 2010 8:29 pm
scaling figures
My adviser posed a question to me that I could not answer. He is writing a paper where he uses LaTex to draw the figure he needs to illustrate a concept. He wanted to be able to draw the figure, then if it turned out to be just a little too small, be able to scale it without recomputing all the lengths of lines and sizes of circles. Is there a way to perform multiplication in LaTex so that, for example, if I want to draw a horizontal line length 2.57 and then scale that line, I can call a command with the structure
line{0}{multiply{scaling_factor,2.57}}?
I know these are not actual latex commands; I just wanted to illustrate the structure of what I am looking for. Is any of this reasonable? Thanks for any help you can give.
Cheers,
CAD
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
scaling figures
There may exist other ways of doing it, depending on what package(s) is/are being to create the figure in question.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
scaling figures
It's interesting to know which tool or package he uses to draw his figures or whether he does this by using the picture environment from vanilla LaTeX.classactdynamo wrote:[...] My adviser posed a question to me that I could not answer. He is writing a paper where he uses LaTex to draw the figure he needs to illustrate a concept. He wanted to be able to draw the figure, then if it turned out to be just a little too small, be able to scale it without recomputing all the lengths of lines and sizes of circles. [...]
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10