[Tex/LaTex] \TeX in small caps

macrossmall-caps

I'm writing a handout for an informal LaTeX course I'm running. I want to use small caps to highlight important words concepts etc. I mention the editor TeXshop, and since I think the names of editors are important, I put it in small caps:

\textsc{\TeX shop}

This doesn't work, since the \TeX macro ignores the small caps, basically. So I tried scaling it myself.

\textsc{\scalebox{0.8}{\TeX} shop}

But this doesn't work because extra space opens up between the \TeX and the shop. So I try to get rid of that space:

\textsc{\scalebox{0.8}{\TeX}\hspace{-0.4em} shop}

Which looks almost right. But not quite. So instead of messing around with tweaking the parameters, I was wondering if there was a better way to do this. I tried looking up the macro in texdoc source2e but my pdf reader's find function isn't case-sensitive, and searching the LaTeX source code for \tex is not helpful…

Best Answer

Somehow this is a non-answer, but I'd suggest to stick with \textsc{\TeX shop}. What is the idea of small caps, after all? They use the usual capital letter, and only for small letters it's "small capital letters", in short "small caps". And the letters in \TeX are all capital from the start, so nothing should change there.

If you really want everything in small caps, then you easily find the definition of \TeX by \show\TeX; the result is essentially shown in Pieter's comment to the question. Some fiddling with the spacing yielded

\documentclass{minimal}
\begin{document}
\textsc{t\kern -.12em\lower.4ex\hbox{e}\kern-.1em xshop}
\end{document}

Related Question