[texhax] Heading question

D. R. Evans doc.evans at gmail.com
Wed Feb 27 17:58:12 CET 2008


Reinhard Kotucha said the following at 02/26/2008 07:38 PM :
> D. R. Evans writes:
>  > If I make the \ifx test so that it reads:
>  >   \ifx a a S \else D
> 
> You obviously compare the letter "a" with a space token.
> 
> Try
> 
>    \ifx a a \message{S} \else \message{D} \fi\end
> 
> and
>    
>    \ifx aa \message{S} \else \message{D} \fi\end

Well that explains that mistake I was making. Thank you. Unfortunately, it
doesn't really point the way to a solution to the problem of how to compare
the contents of \topmark with the contents of \botmark (or \firstmark) :-(

  Doc






More information about the texhax mailing list