summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ordinalpt/README
blob: e04a09e3d5c385addcf5cd00490862c0c968cbd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
ordinalpt.sty --- counters as ordinal numbers in Portuguese
===========================================================

Versions
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)


LICENSE
=======

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
http://www.latex-project.org/lppl.txt

INTRODUCTION
============

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.

USER COMMANDS
=============

\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

PACKAGE OPTIONS
===============

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