CTAN
Comprehensive TeX Archive Network

texdef – Display the definitions of commands

The (Perl) script dis­plays the def­i­ni­tion of com­mand se­quences/macros. Var­i­ous op­tions al­low the se­lec­tion of the used class and pack­age files and other things which can have in­flu­ence on the def­i­ni­tion (be­fore/af­ter the pream­ble, in­side an en­vi­ron­ment, …).

The script cre­ates a tem­po­rary file which is then com­piled us­ing to find the ‘\mean­ing’ of the com­mand se­quence. The re­sult is for­mat­ted and pre­sented to the user. Length or num­ber com­mand se­quences (di­men­sions, \char…, count reg­is­ters, …) are rec­og­nized and the con­tained value is also shown (us­ing \the). Spe­cial def­i­ni­tions like pro­tected macros are also rec­og­nized and the un­der­ly­ing macros are shown as well.

The script will show plain def­i­ni­tions by de­fault. and Cont are sup­ported, in­clud­ing flavours (pdf, Lua, , …). The flavour can be se­lected us­ing an com­mand line op­tion or over the script name: la­texdef will use as de­fault, etc.

Sources /support/texdef
Doc­u­men­ta­tion
Ver­sion 1.7b
Li­cense GNU Gen­eral Public Li­cense, ver­sion 3
Copy­right 2011–2012 Martin Schar­rer
Main­tainer Martin Schar­rer
TDS archive texdef.tds.zip
Con­tained in TeX Live as texdef
MiKTeX as texdef
Topics sup­port for pack­age or doc­u­ment de­bug­ging

Down­load the con­tents of this pack­age in one zip archive (255.0k).

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author