1

I want to set a small portion of text in a font size not covered by the standard font switches and found two ways to do so:

  1. Define a new font switch: \newcommand\newfs{\fontsize{48}{60}\selectfont}, then apply it to my text: {\newfs This is in 48 pt.}.
  2. Use a scalebox (requires the graphicx package, which I need anyway): \scalebox{5}{This is scaled up by the factor 5.}.

What is the difference between the two, and is there a reason to choose one over the other?

  • 2
    You can't have line breaks if you use scalebox and the spaces between the words can no longer stretch. Depending on the actual font the look can be different. – Ulrike Fischer May 18 '18 at 10:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.