Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
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
add comment

1 Answer

up vote 21 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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