3

I need to write Heß in all caps. My publisher does not want XeTeX, so I have to find a good way to get the uppercase ß. The simplest way would be to just use the lower case ß instead. Based on this I tried that:

\documentclass{article}
\begin{document}
\newcommand\newss{\MakeLowercase{ß}}
\MakeUppercase{He\protect\newss}
\end{document}

.. to no avail.

I cannot redefine \MakeUppercase. Any suggestions on how to proceed?

sheß
  • 3,622

1 Answers1

7

You're lucky, because \ss is a \chardef token both in the T1 and OT1 encoding.

\documentclass{article}

\expandafter\let\expandafter\uSS\csname\encodingdefault\string\ss\endcsname

\begin{document}

\MakeUppercase{He\uSS}

\end{document}

This is a typographical abomination, but I believe you already know it.

enter image description here

egreg
  • 1,121,712
  • 1
    What about this answer, https://tex.stackexchange.com/questions/280408/what-is-the-history-of-the-%c3%9f-eszett-in-the-t1-encoding-of-computer-modern/281024#281024, that indicates the uppercase of eszett should be SS? – Steven B. Segletes Jul 17 '20 at 12:16
  • 1
    @StevenB.Segletes Yes, of course! But apparently the OP has to obey some diktat. – egreg Jul 17 '20 at 12:17
  • 2
    @StevenB.Segletes. No, this is outdated. Since 2017, the uppercase ß is officially a letter again (in German at least). https://en.wikipedia.org/wiki/Capital_%E1%BA%9E – sheß Jul 17 '20 at 12:56
  • 2
    @sheß Thanks for the update. Tough to keep up with the Grammar Wars. – Steven B. Segletes Jul 17 '20 at 13:00
  • @egreg. Your solution works. Though sadly, the result is not copy-and-pasteable from the PDF. I guess I can live with that. – sheß Jul 17 '20 at 13:08
  • 1
    @sheß See the accsupp package for placing something different in typeset versus copy/paste. See, for example of something similar, https://tex.stackexchange.com/questions/233390/in-which-way-have-fake-spaces-made-it-to-actual-use/233397#233397 – Steven B. Segletes Jul 17 '20 at 13:30