Is is possible to (i.e., how do I) redefine the
\LaTeX
command so that I do not have to write either {\LaTeX}
or \LaTeX{}
in order to get the correct spacing after the word?I have tried the following:
Code: Select all
\documentclass{article}
\usepackage{xspace}
\renewcommand*{\LaTeX}{\LaTeX\xspace}
\begin{document}
\LaTeX
\end{document}
Code: Select all
! TeX capacity exceeded, sorry [input stack size=5000].
\LaTeX ->\LaTeX
\xspace
l.7 \LaTeX