CTAN Comprehensive TeX Archive Network

texdef – Display the definitions of commands

This (Perl) script displays the definitions of command sequences/macros. Various options allow the selection of the used class as well as package files and other factors that may influence the definition (before/after the preamble, inside an environment, …).

The script creates a temporary file which is then compiled using 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 definitions by default. and Cont are supported, including flavours (pdf, Lua, , …). The flavour can be selected using a command line option, or via the script name: latexdef will use as default, etc.

Sources/support/texdef
Documentation
Home pagehttps://github.com/MartinScharrer/texdef
Bug trackerhttps://github.com/MartinScharrer/texdef/issues
Repositoryhttps://github.com/MartinScharrer/texdef.git
Version1.9 2020-09-27
LicensesGNU General Public License, version 3
Copyright2011–2020 Martin Scharrer
MaintainerMartin Scharrer
TDS archivetexdef.tds.zip
Contained inTeX Live as texdef
MiKTeX as texdef
TopicsDebug supp

Download the contents of this package in one zip archive (165.6k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author