\gdef <command> <parameter-text> {<replacement-text>}
\gdef 的工作方式類似於\def,只是定義被自動設定為\global,換句話說,從當前組的外部可以訪問該定義。
\gdef