TeX/gdef

From Wikibooks, open books for an open world
< TeX
Jump to: navigation, search

Synopsis[edit]

\gdef <command> <parameter-text> {<replacement-text>}

Description[edit]

\gdef works as \def except that the definition is automatically set as \global, or in other words, visible from the outside of the current group.