compare – Compare two strings
The file defines a macro \compare, which takes two arguments; the macro expands to -1, 0, 1, according as the first argument is less than, equal to, or greater than the second argument. Sorting is alphabetic, using ASCII collating order.
|Contained in||TeX Live as genmisc|
MiKTeX as genmisc
Maybe you are interested in the following packages as well.
- laps: Zero-width boxes for annotations, etc
- arrayjob: Array data structures for (La)TeX
- fenixpar: One-shot changes to token registers such as \everypar
- multiexpand: Variations on the primitive command \expandafter