< TeX

Synopsis

\global

Description

\global is a TeX command that declares the following definition or assignment to be global, meaning that if TeX is currently inside a group, the definition or assignment will still remain valid when the group is over. Commands that can follow \global include \def, \edef, \let, \count, \countdef, etc. Also, TeX provides the following abbreviations as primitives:

\gdef = \global\def
\xdef = \global\edef

See Also

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.