TeX/csname

SynopsisEdit

\csname

DescriptionEdit

Used with \endcsname. The text between the two commands build the name of a TeX command.

ExampleEdit

 \def\x{paragraph}
 
 % \def\startparagraph#1{...}
 \def\csname start\x\endcsname#1{...}
 
 % \def\stopparagraph#1{...}
 \def\csname stop\x\endcsname#1{...} 
 
 % \startparagraph{mytext}
 \csname start\x\endcsname{mytext}
Last modified on 5 December 2012, at 19:52