TeX/globaldefs

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

Synopsis[edit | edit source]

\globaldefs

Description[edit | edit source]

\globaldefs is a TeX internal parameter. Normally set to 0. If set equal to a positive number, all following definitions and assignments are treated as if preceded by \global. If set equal to a negative number, none of the following definitions or assignments are global, meaning that an explicit \global is ignored. This remains in effect until \globaldefs is explicitly set to 0 again, or the group containing the \globaldefs reassignment ends (assuming it was not made global as well).

See Also[edit | edit source]