1

The result of the following MWE is up with the newest TeX Live 2019.

\documentclass{article}
\begin{document}
  \updefault
\end{document}

Why was the default value of \updefault changed from n to up?

  • 2
    There is something about changes to the font selection mechanism in latex-project.org/news/latex2e-news/ltnews31.pdf but I haven't gone through the details. – campa Feb 11 at 14:50
  • I don't find the answer in the ltnews31 or source2e:( – hair-splitter Feb 11 at 15:55
  • I didn't claim the answer was in there; that's why I posted only a comment. If I understand correctly, what formerly was \upshape is now \normalshape, which is a shorthand for \upshape\ulcshape (the latter being also new). You can find the changes in source2e but there is no exact explanation as why. Hopefully someone from the LaTeX team will answer. – campa Feb 11 at 16:03
3

In the new latex \itshape and \scshape has been splitted. They can now (if the font has the shapes) be set independently. This change means that \updefault only describes the slant (up). The new command \normalshape can be use to reset both.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}

{ \itshape Abc \scshape  Abc \upshape Abc }

{ \itshape Abc \scshape  Abc \normalshape Abc }


\end{document}

Output latex 20200202:

enter image description here

Old output of the first line:

enter image description here

  • Thank you very much the answer! – hair-splitter Feb 11 at 16:24

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.