[texhax] Problem with \LaTeX macro
Chris Rowley
C.A.Rowley at open.ac.uk
Sun Apr 24 22:50:53 CEST 2005
Michael
Nothing wrong with \LaTeX, or the macro:-) (except that it probably ends,
quite reasonably, with the LaTeX command \@ (q.v.)).
Try \newcommand\at{\char'100 } and think about things like \char'1002 etc.
And, as you know, don't use \def in LaTeX or They will get you ... somehow!!
chris
> The following minimal file
>
> \documentclass{article}
> \def\@{\char'100}
> \begin{document}
> \LaTeX 2e
> \end{document}
>
> leads to an error message. If you remove the 2 it doesn't. Any number
> from 1 to 7 will casue the error message, but 8 and 9 (nor any other
> character I tested) does. The message is
>
> "Bad character code"
>
> and then "e". This occurs in a paper submitted by an online journal and I
> can obviously do whatever he wants in a different, but I am curious what
> is going on.
>
> Michael Barr
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
More information about the texhax
mailing list