# [texhax] the \let command

tom sgouros tomfool at as220.org
Mon Nov 27 14:56:00 CET 2006

A lot of unnecessary fog was generated here by assuming the question is
a common one.  But the following:

\let\tie\t
\def\t{t}
\let\mycedilla\c
\def\c{c}

\t bb
\tie bb
\c b
\mycedilla b

\end

Works as you'd expect in plain TeX.  But this does not work:

\documentclass{article}
\begin{document}

\let\tie\t
\def\t{t}
\let\mycedilla\c
\def\c{c}

\t bb
\tie bb
\c b
\mycedilla b

\end{document}

You'll see that the only difference is LaTeX.  This is not an issue of
someone misunderstanding or forgetting the meaning of \let (like I do
all the time), but of something that works in TeX and doesn't work in
LaTeX.  Any explanations would be welcome in this quarter, too.

-tom

--
------------------------
tomfool at as220 dot org
http://sgouros.com
http://whatcheer.net