bachotex2008-javier-mugica-pearl1.tex
bachotex2008-javier-mugica-pearl1.tex
—
TeX document,
1 KB
Zawartość pliku
%%% \if plaiting \tt % Suppose we have the construction \let\ifouter=\iftrue \ifouter <true code> \else <false code> \fi % and suppose that in true block there is another \if test that has to be built % using \csname..\endcsname. \expandafter\let\csname if@inner\endcsname\iftrue % Does the following work? \ifouter \csname if@inner\endcsname <double true code> \csname fi\endcsname \else <false code> \fi % Only if the inner test is true. Otherwise the condition will not be balanced. % But we can plait \if blocks as in \ifouter \iftrue \csname if@inner\endcsname <triple true code> % \else % does not spoil the game \fi \csname fi\endcsname \else <false code> \fi \end
Akcje Dokumentu