Jump to content

TeX/gdef

From Wikibooks, open books for an open world
< TeX

Synopsis

[edit | edit source]

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

Description

[edit | edit source]

\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.