(eplain.info)\csn and \ece


Next: \edefappend Up: Expansion
Enter node , (file) or (file)node

7.6.1 '\csn' and '\ece'
-----------------------

'\csn'{NAME} simply abbreviates '\csname' NAME '\endcsname', thus saving
some typing. The extra level of expansion does take some time, though,
so I don't recommend it for an inner loop.

   '\ece'{TOKEN}{NAME} abbreviates

     \expandafter TOKEN \csname NAME \endcsname

For example,

     \def\fontabbrevdef#1#2{\ece\def{@#1font}{#2}}
     \fontabbrevdef{normal}{ptmr}

defines a control sequence '\@normalfont' to expand to 'ptmr'.


automatically generated by info2www version 1.2.2.9