From How can I see the "implementation" of the \LaTeX command? and How to write (La)TeX (with parentheses) [or any other TeX-related logo], I learn that \LaTeX is implemented as
L\kern -.36em{\sbox \z@ T\vbox to\ht \z@ {\hbox {\check@mathfonts \fontsize \sf@size \z@ \math@fontsfalse \selectfont A}\vss }}\kern -.15em\TeX
The \kern parameter needs to be tweaked according to the font used, as pointed out by Knuth in a TUGboat article. When trying to change that parameter in the code above, however, I get the error ! Undefined control sequence. <argument> \z.
How can I tweak the \kern value of the \LaTeX command (and of the \TeX command)?
\documentclass{article}
\renewcommand{\LaTeX}{L\kern -.20em{\sbox \z@ T\vbox to\ht \z@ {\hbox {\check@mathfonts \fontsize \sf@size \z@ \math@fontsfalse \selectfont A}\vss }}\kern -.10em\TeX}
\begin{document}
\LaTeX
\end{document}
\LaTeXis a protected definition – Sean Allred Jun 09 '15 at 17:22\newcommand{\mylatex}{...}). – Sverre Jun 09 '15 at 17:25hologoandmetalogopackages. – egreg Jun 09 '15 at 17:26