13

I want to understand the TeX instructions

  \ifx\@tempb`\edef\next##1{%

Especially, I want understand what meaning of ` symbol before \edef.
As I know ifx compare two statements, symbol ` for symbol taking - `\A takes a code of symbol A. Or I am wrong? Thanks.

  • I have replaced the ` character with a ' character as there is an interference with TeX.SX formatting and the TeX character. – percusse Feb 21 '12 at 14:29
21

The ` there has no connection to the use of ` to get the character code of a symbol, it should be read as

\ifx\@tempb`
    \edef\next....

that is if the two tokens \@tempb and ` are equal then define \next to be something. They will be equal if for example \@tempb had been defined by

\let\@tempb=`

or (if I recognise that code fragment:-) if it had been defined by \futurelet rather than \let.

  • Yes, David, this is fragment from one of yours answers on my question. I want understand those deeper. Thanks for explanation. – Andrew Feb 21 '12 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.