CTAN Comprehensive TeX Archive Network

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.

Sources/macros/generic/misc/compare.tex
Version 1993-02-15
LicensesPublic Domain Software
MaintainerÉamonn McManus
Contained inTeX Live as compare
MiKTeX as genmisc
TopicsMacro support

Community Comments

Loading...
Guest Book Sitemap Contact Contact Author