CTAN Comprehensive TeX Archive Network

texdef – Display the definitions of commands

This (Perl) script dis­plays the def­i­ni­tions of com­mand se­quences/macros. Var­i­ous op­tions al­low the se­lec­tion of the used class as well as pack­age files and other fac­tors that may in­flu­ence 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 a com­mand line op­tion, or via the script name: la­texdef will use as de­fault, etc.

Home pagehttps://bit­bucket.org/mar­tin_schar­rer/texdef/
Bug trackerhttps://bit­bucket.org/mar­tin_schar­rer/texdef/is­sues
Ver­sion1.8a 2018-03-28
Li­censesGNU Gen­eral Public Li­cense, ver­sion 3
Copy­right2011–2018 Martin Schar­rer
Main­tainerMartin Schar­rer
TDS archivetexdef.tds.zip
Con­tained inTeX Live as texdef
MiKTeX as texdef
TopicsDe­bug supp

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

Com­mu­nity Com­ments



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


Pack­age Links

Guest Book Sitemap Contact Contact Author