# TeX/gdef

< TeX

## Synopsis

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

## Description

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