AZ logo

Package ted:
A (primitive) token list editor.

Just like sed is a stream editor, ted is a token list editor. Actually, it is not as powerfull as sed, but its main feature is that it really works with tokens, not only characters.

The ted package provides two user macros: \Substitute and \ShowTokens. The first is maybe the most useful: it performs substitutions in token lists (even inside braces). The second displays each token of the list (one per line) with its catcode (in the list, not just the current one), and can be useful for debugging or for TeX learners.

Ted is designed to work well even if strange tokens (that is, unusual {charcode, catcode} pairs or tokens with a confusing meaning) occur in the list.

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 ted
TeX Live ted

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

More

Documentation on CTAN
Readme
Package documentation (English)
Package documentation (French)
Documentation off CTAN -none known-
Maintainers
Manuel Pégourié-Gonnard
Version 1.06
License LaTeX Project Public License
Related packages
patch:
Patch loaded packages, etc..
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.