[texhax] the \let command

tom sgouros tomfool at as220.org
Mon Nov 27 16:49:25 CET 2006


Philip TAYLOR <P.Taylor at Rhul.Ac.Uk> wrote:

> Can you define "doesn't work" ?  It does what I would
> na\"\i vely expect it to do, without knowing exactly what
> the LaTeX command "\t" (-> .\OML-cmd \t \OML\t ) is
> expected to do ...

Perhaps this will make it clearer:

\documentclass{article}

\begin{document}

\t bb

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

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

\end{document}

Please explain why the "\t bb" at the beginning of the file behaves
differently from the "\tie bb" further down.  When I try this, the first
"\t bb" makes a tie over the "bb", but the "\tie bb" produces what
appears to be an italic "t" followed by a "bb".  My understanding of the
\let would imply to me that the \tie should be identical to the original
definition of the \t, but it is not.  Why not?

 -tom

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


More information about the texhax mailing list