Open main menu

Command/texdefinition

< Command
Revision as of 14:59, 3 December 2021 by Taco (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


\texdefinition

Summary

The command \texdefinition executes a command

Settings

\texdefinition{...}
{...}name

Description

Executes the command given as argument, if it exists. Otherwise does nothing.

This command is itself not expandable, which makes it useful especially when command names need to be input or output to files. It is heavily used by the bibliography code, for example.

Examples

Example 1

\texdefinition{section}{Section title}

Notes

See also

Help from ConTeXt-Mailinglist/Forum