Trnum — A Program To Number Figures




Trnum is a preprocessor for NROFF and TROFF text which enables users to label figures, displays, tables, and equations symbolically. This program then translates the labels into consecutive integers which may be printed in a variety of formats. In addition, prefixes and suffixes may be defined in such a way that they are automatically prepended or appended to the number. A number of different counters may be used, and the symbols may appear anywhere in the body of the paper. This document contains a tutorial as well as a detailed description of the program.


This describes an improved version of a program I wrote to number figures in my Ph.D. dissertation. A few other folks found it useful.