Is there a macro available that will turn "1" into "first", "2" into "second", etc. Let's call this macro "wordth
". Then, for example, if item number 2 in an enumerate
environment is labeled by \label{item:blah}
, I could write something like
The \wordth{\ref{item:blah}} item is problematic.
which would be formatted as "The second item is problematic."
(Bonus points for other languages, but I only need it for English.)
This answer points to the nth package for turning "1" into "1st", etc. The engord package also does this. Neither appears to provide fully spelled out English ordinals. In many situations only full words for ordinals, not their abbreviations, are appropriate.
This is probably a FAQ, but it's one of those things that's difficult to search. Feel free to point to a dupe question and close.
fmtcount
package should help.fmtcount
also supports French, German, Spanish, Portuguese (although there's a bug that'll be fixed in the next release), German (likewise) and, by sneakily loadingitnumpar
and ensuring it works with thefmtcount
commands, Italian.