Page Layout ⇒ autosize fonts
autosize fonts
I was wondering if there is a way to fit a text into a box (or something else) by automatically reducing or increasing the font size. For instance, I specify a 2inx2in box and the text I want in it; and the font size that best fits the box is automatically selected.
Thanks,
Efo
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
autosize fonts
Code: Select all
\resizebox{1in}{!}{Some text}