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.

4
  • Thank you very much Mrs. Fischer. It worked. I would never imagine the definition of \newsavebox should be after \begin{document}. Commented Nov 4, 2019 at 15:41
  • I installed the package cm-super. With this package I got good looking fonts whether I placed the command \newsavebox i.e., after or behind the \begin{document}. Placing it before \begin{document} seems much better to keep my text code organized. Thanks once again. Commented Nov 4, 2019 at 17:30
  • if you put the newsavebox in the preamble your example 1 will use a different font. With lmodern this is not noticable as lmodern and cm are quite similar, but try with \usepackage[default]{roboto} instead of lmodern. Commented Nov 4, 2019 at 17:34
  • Ok. I tested and it happened what you said. The combinations are very clear now. Commented Nov 4, 2019 at 17:59