Planned site maintenance over the coming week may cause some temporary disruptions.

fmtcount package FAQ


FAQ Search Tips

This is the old FAQ for the fmtcount package. See also the package documentation and the GitHub repository. Note that fmtcount is now under a new maintainer, so information in this FAQ only refers to queries and issues with old versions.

General Queries

Is there multilingual support? 🔗

Currently there is multilingual support for English, French, Spanish, Portuguese and German.

Last modified: 2013-12-09 09:29:13.


Why is there only limited multilingual support? 🔗

Because there is a limit to the number of languages I can speak! If you like, you can volunteer to write and maintain a language file for fmtcount.

Last modified: 2013-12-09 09:32:03.


How do I get septente instead of soixante-dix? 🔗

If the currently selected language is French, you can select the Swiss or Belgium variants using:


Last modified: 2013-12-09 09:32:45.


How do I get the feminine form instead of the masculine? 🔗

Use the optional argument f to \ordinal etc.

Last modified: 2013-12-09 09:33:27.


How can I set up a different set of default package options? 🔗

Create a file called fmtcount.cfg, and put the appropriate commands in it. Then save it to somewhere on the TeX path. However, if you share your document code with other people, make sure you also supply your custom fmtcount.cfg file if it's important that they replicate your date and time format. (Note that if you are also using the datetime package, datetime.cfg will override fmtcount.cfg.)

Last modified: 2013-12-09 09:35:57.


How do I get the ordinal suffix to be level instead of a superscript? 🔗



Last modified: 2013-12-09 09:37:42.


How do I use the value of a label in \numberstring, \ordinalstring etc? 🔗

Try using Heiko Oberdiek's refcount package which provides commands that will set a counter to the number given by a label. You can then pass that counter to \numberstring etc. For example:



First page. This document has \numberstring{myctr} pages.

Second page.\label{pg:last}

Last modified: 2013-12-09 09:38:48.


Package Errors

The fmtcount package conflicts with the memoir class 🔗

You need to use at least version 1.04 of the fmtcount package and use \FCordinal to access fmtcount's version of \ordinal and use \ordinal to use memoir's version of that command.

Last modified: 2013-12-09 09:40:25.


Unknown language 'english' error 🔗

Make sure you are using at least version 1.07 of the fmtcount package.

Last modified: 2013-12-09 09:41:10.


Command \@ordinalMenglish already defined 🔗

This bug appeared in version 1.06. You need to upgrade to a later version.

Last modified: 2013-12-09 09:42:18.


Unexpected Output

\padzeroes is a digit short with \decimal 🔗

This was fixed in version 1.05.

Last modified: 2013-12-09 09:43:28.


\MakeUppercase doesn't work with \ordinalstring etc 🔗

This is caused by the way \MakeUppercase expands its argument. (see, e.g. \count reference breaks \MakeUppercase or Case-changing oddities). As from version 1.09, you can use one of the commands \ORDINALstring, \NUMBERstring etc, which will convert the text to upper case.

Last modified: 2013-12-09 09:45:31.


Spaces are ignored after \numberstring, \ordinalstring etc 🔗

This was fixed in version 1.2.

Last modified: 2013-12-09 09:46:13.


LaTeX2HTML Support

Why does LaTeX2HTML ignore fmtcount.cfg? 🔗

Because I haven't found a way to implement it.

Last modified: 2013-12-09 09:47:22.