Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 12
    \scalebox worked great for me! Commented Jul 5, 2018 at 17:28
  • 5
    \resizebox needs units specified (pt or em or cm, etc), otherwise generates error Illegal units of measure inserted. \scalebox worked for me. Commented Jul 23, 2020 at 13:56
  • 3
    @SanderHeinsalu FYI: You can also use \textwidth or \linewidth in \resizebox{<horizontal size>}{<vertical size>}{%content}. Commented Jul 30, 2021 at 21:45