AZ logo

Package texdef:
Display the definitions of TeX commands.

The (Perl) script displays the definition of (La)TeX command sequences/macros. Various options allow the selection of the used class and package files and other things which can have influence on the definition (before/after the preamble, inside an environment, …).

The script creates a temporary TeX file which is then compiled using (La)TeX to find the ‘\meaning’ of the command sequence. The result is formatted and presented to the user. Length or number command sequences (dimensions, \char…, count registers, …) are recognized and the contained value is also shown (using \the). Special definitions like protected macros are also recognized and the underlying macros are shown as well.

The script will show plain TeX definitions by default. LaTeX and ConTeXt are supported, including flavours (pdf(la)tex, lua(la)tex, xe(la)tex, …). The flavour can be selected using an command line option or over the script name: latexdef will use LaTeX as default, etc.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX texdef
TeX Live texdef

You can also visit texdef's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Readme
Package documentation
Documentation off CTAN -none known-
Maintainers
Martin Scharrer
Version 1.7b
License GNU General Public License (GPL), version 3 or later
Related packages -none recorded-
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Other

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.