411 REFERENCE · Wikibooks
TeX/csname
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Synopsis
\csname
Description
Used with \endcsname. The text between the two commands build the name of a TeX command.
Example
\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}