Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/ordinalpt

ordinalpt.sty --- counters as ordinal numbers in Portuguese

1.0 -> initial version
2.0 -> reimplementation to make commands fully expandable in order to 
       work with \addcontentsline.
3.0 -> added better forms for ordinals of 11, 12 and 13;
       changed behavior for these numbers.

Copyright (C) 2007 Miguel V. S. Frasson (mvsfrasson@gmail.com)


This file is the README file, part of the `ordinalpt' package.

This package may be distributed under the terms of the LaTeX
Project Public License, as described in lppl.txt in the base
LaTeX distribution, either version 1.3 or (at your option)
any later version.

You can obtain a copy of the lppl.txt file from the internet on


The package _ordinalpt_ provides a counter style (like \arabic, \alph
and others) but that produces as output strings like `primeiro' (first
in Portuguese), `segundo' (second), `terceiro' (third), etc, up to
`mil\'esimo noningent\'esimo nonag\'esimo nono' (1999th).  There are
counter commands to output the text in UPPERCASE, Capitalized or in
lowercase, with masculine or feminine gender.


\ordptmasc{counter} --> ordinals in lowercase masculine
\Ordptmasc{counter} --> ordinals in capitalized masculine
\ORDPTMASC{counter} --> ordinals in uppercase masculine
\ordptfem{counter}  --> ordinals in lowercase feminine
\Ordptfem{counter}  --> ordinals in capitalized feminine
\ORDPTFEM{counter}  --> ordinals in uppercase feminine


In Portuguese, both
  `und\'ecimo'     and `d\'ecimo primeiro' (for 11th)
  `duod\'ecimo'    and `d\'ecimo segundo'  (for 12th)
  `tred\'ecimo'    and `d\'ecimo terceiro' (for 13th)
  `tricent\'esimo' and `trecent\'esimo'    (for 300th)
  `sexcent\'esimo' and `seiscent\'esimo'   (for 600th)
  `noningent\'esimo' and `nongent\'esimo'  (for 900th)
are correct forms for ordinals.

It is common to find the shorter forms for 11th and 12th, but a bit
harder to find to shorter form for 13th.  If this later is used, then
all 11th up to 13th should be in shorter forms.

So there are the options to set the output for resp. for 11th, 12th and 13th
  11-12-curtos (default) -> und\'ecimo, duod\'ecimo, d\'ecimo terceiro
  11-13-curtos       -> und\'ecimo, duod\'ecimo, tred\'ecimo
  11-13-longos   -> d\'ecimo primeiro, d\'ecimo segundo, d\'ecimo terceiro

To choose ordinals 300th, 600th and 900th, use
  tricentesimo (default)   or trecentesimo
  sexcentesimo (default)   or seiscentesimo
  noningentesimo (default) or nongentesimo

Down­load the con­tents of this pack­age in one zip archive (258.2k).

or­di­nalpt – Coun­ters as or­di­nal num­bers in Por­tuguese

The pack­age pro­vides a counter style (like \ara­bic, \alph and oth­ers) which pro­duces as out­put strings like “primeiro” (“first” in Por­tuguese), “se­gundo” (sec­ond), and so on up to 1999th. Separate counter com­mands are pro­vided for dif­fer­ent let­ter case vari­ants, and for mas­cu­line and fem­i­nine gen­der in­flec­tions.

Li­censeThe Project Public Li­cense
Main­tainerMiguel Viní­cius San­tini Fras­son
Con­tained inTeX Live as or­di­nalpt
MiKTeX as or­di­nalpt
Topics for­mat­ting num­bers, etc
sup­port for type­set­ting Por­tuguese
Guest Book Sitemap Contact Contact Author