summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def')
-rw-r--r--Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def827
1 files changed, 427 insertions, 400 deletions
diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def b/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def
index 7e7e4337c6d..015629fb1ff 100644
--- a/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def
+++ b/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def
@@ -7,7 +7,7 @@
%% fmtcount.dtx (with options: `fc-portuges.def,package')
%%
%% fmtcount.dtx
-%% Copyright 2012 Nicola Talbot and Vincent Belaïche
+%% Copyright 2013 Nicola Talbot and Vincent Belaïche
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -48,410 +48,437 @@
%%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}]
%%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options}
%%\end{definition}
-\ProvidesFCLanguage{portuges}[2012/06/18]
-\newcommand*{\@ordinalMportuges}[2]{%
-\ifnum#1=0\relax
- \edef#2{\number#1}%
-\else
- \edef#2{\number#1\relax\noexpand\fmtord{o}}%
-\fi}
-\newcommand*{\@ordinalFportuges}[2]{%
-\ifnum#1=0\relax
- \edef#2{\number#1}%
-\else
- \edef#2{\number#1\relax\noexpand\fmtord{a}}%
-\fi}
-\let\@ordinalNportuges\@ordinalMportuges
-\newcommand*{\@@unitstringportuges}[1]{%
-\ifcase#1\relax
-zero%
-\or um%
-\or dois%
-\or tr\^es%
-\or quatro%
-\or cinco%
-\or seis%
-\or sete%
-\or oito%
-\or nove%
-\fi
-}
-\newcommand*{\@@unitstringFportuges}[1]{%
-\ifcase#1\relax
-zero%
-\or uma%
-\or duas%
-\or tr\^es%
-\or quatro%
-\or cinco%
-\or seis%
-\or sete%
-\or oito%
-\or nove%
-\fi
-}
-\newcommand*{\@@tenstringportuges}[1]{%
-\ifcase#1\relax
-\or dez%
-\or vinte%
-\or trinta%
-\or quarenta%
-\or cinq\"uenta%
-\or sessenta%
-\or setenta%
-\or oitenta%
-\or noventa%
-\or cem%
-\fi
-}
-\newcommand*{\@@teenstringportuges}[1]{%
-\ifcase#1\relax
-dez%
-\or onze%
-\or doze%
-\or treze%
-\or quatorze%
-\or quinze%
-\or dezesseis%
-\or dezessete%
-\or dezoito%
-\or dezenove%
-\fi
-}
-\newcommand*{\@@hundredstringportuges}[1]{%
-\ifcase#1\relax
-\or cento%
-\or duzentos%
-\or trezentos%
-\or quatrocentos%
-\or quinhentos%
-\or seiscentos%
-\or setecentos%
-\or oitocentos%
-\or novecentos%
-\fi}
-\newcommand*{\@@hundredstringFportuges}[1]{%
-\ifcase#1\relax
-\or cento%
-\or duzentas%
-\or trezentas%
-\or quatrocentas%
-\or quinhentas%
-\or seiscentas%
-\or setecentas%
-\or oitocentas%
-\or novecentas%
-\fi}
-\newcommand*{\@@Unitstringportuges}[1]{%
-\ifcase#1\relax
-Zero%
-\or Um%
-\or Dois%
-\or Tr\^es%
-\or Quatro%
-\or Cinco%
-\or Seis%
-\or Sete%
-\or Oito%
-\or Nove%
-\fi
-}
-\newcommand*{\@@UnitstringFportuges}[1]{%
-\ifcase#1\relax
-Zera%
-\or Uma%
-\or Duas%
-\or Tr\^es%
-\or Quatro%
-\or Cinco%
-\or Seis%
-\or Sete%
-\or Oito%
-\or Nove%
-\fi
-}
-\newcommand*{\@@Tenstringportuges}[1]{%
-\ifcase#1\relax
-\or Dez%
-\or Vinte%
-\or Trinta%
-\or Quarenta%
-\or Cinq\"uenta%
-\or Sessenta%
-\or Setenta%
-\or Oitenta%
-\or Noventa%
-\or Cem%
-\fi
-}
-\newcommand*{\@@Teenstringportuges}[1]{%
-\ifcase#1\relax
-Dez%
-\or Onze%
-\or Doze%
-\or Treze%
-\or Quatorze%
-\or Quinze%
-\or Dezesseis%
-\or Dezessete%
-\or Dezoito%
-\or Dezenove%
-\fi
-}
-\newcommand*{\@@Hundredstringportuges}[1]{%
-\ifcase#1\relax
-\or Cento%
-\or Duzentos%
-\or Trezentos%
-\or Quatrocentos%
-\or Quinhentos%
-\or Seiscentos%
-\or Setecentos%
-\or Oitocentos%
-\or Novecentos%
-\fi}
-\newcommand*{\@@HundredstringFportuges}[1]{%
-\ifcase#1\relax
-\or Cento%
-\or Duzentas%
-\or Trezentas%
-\or Quatrocentas%
-\or Quinhentas%
-\or Seiscentas%
-\or Setecentas%
-\or Oitocentas%
-\or Novecentas%
-\fi}
+\ProvidesFCLanguage{portuges}[2013/08/17]%
+\gdef\@ordinalMportuges#1#2{%
+ \ifnum#1=0\relax
+ \edef#2{\number#1}%
+ \else
+ \edef#2{\number#1\relax\noexpand\fmtord{o}}%
+ \fi
+}%
+\gdef\@ordinalFportuges#1#2{%
+ \ifnum#1=0\relax
+ \edef#2{\number#1}%
+ \else
+ \edef#2{\number#1\relax\noexpand\fmtord{a}}%
+ \fi
+}%
+\global\let\@ordinalNportuges\@ordinalMportuges
+\gdef\@@unitstringportuges#1#2{%
+ \ifcase#1\relax
+ zero%
+ \or um%
+ \or dois%
+ \or tr\^es%
+ \or quatro%
+ \or cinco%
+ \or seis%
+ \or sete%
+ \or oito%
+ \or nove%
+ \fi
+}%
+\gdef\@@unitstringFportuges#1{%
+ \ifcase#1\relax
+ zero%
+ \or uma%
+ \or duas%
+ \or tr\^es%
+ \or quatro%
+ \or cinco%
+ \or seis%
+ \or sete%
+ \or oito%
+ \or nove%
+ \fi
+}%
+\gdef\@@tenstringportuges#1{%
+ \ifcase#1\relax
+ \or dez%
+ \or vinte%
+ \or trinta%
+ \or quarenta%
+ \or cinq\"uenta%
+ \or sessenta%
+ \or setenta%
+ \or oitenta%
+ \or noventa%
+ \or cem%
+ \fi
+}%
+\gdef\@@teenstringportuges#1{%
+ \ifcase#1\relax
+ dez%
+ \or onze%
+ \or doze%
+ \or treze%
+ \or quatorze%
+ \or quinze%
+ \or dezesseis%
+ \or dezessete%
+ \or dezoito%
+ \or dezenove%
+ \fi
+}%
+\gdef\@@hundredstringportuges#1{%
+ \ifcase#1\relax
+ \or cento%
+ \or duzentos%
+ \or trezentos%
+ \or quatrocentos%
+ \or quinhentos%
+ \or seiscentos%
+ \or setecentos%
+ \or oitocentos%
+ \or novecentos%
+ \fi
+}%
+\gdef\@@hundredstringFportuges#1{%
+ \ifcase#1\relax
+ \or cento%
+ \or duzentas%
+ \or trezentas%
+ \or quatrocentas%
+ \or quinhentas%
+ \or seiscentas%
+ \or setecentas%
+ \or oitocentas%
+ \or novecentas%
+ \fi
+}%
+\gdef\@@Unitstringportuges#1{%
+ \ifcase#1\relax
+ Zero%
+ \or Um%
+ \or Dois%
+ \or Tr\^es%
+ \or Quatro%
+ \or Cinco%
+ \or Seis%
+ \or Sete%
+ \or Oito%
+ \or Nove%
+ \fi
+}%
+\gdef\@@UnitstringFportuges#1{%
+ \ifcase#1\relax
+ Zera%
+ \or Uma%
+ \or Duas%
+ \or Tr\^es%
+ \or Quatro%
+ \or Cinco%
+ \or Seis%
+ \or Sete%
+ \or Oito%
+ \or Nove%
+ \fi
+}%
+\gdef\@@Tenstringportuges#1{%
+ \ifcase#1\relax
+ \or Dez%
+ \or Vinte%
+ \or Trinta%
+ \or Quarenta%
+ \or Cinq\"uenta%
+ \or Sessenta%
+ \or Setenta%
+ \or Oitenta%
+ \or Noventa%
+ \or Cem%
+ \fi
+}%
+\gdef\@@Teenstringportuges#1{%
+ \ifcase#1\relax
+ Dez%
+ \or Onze%
+ \or Doze%
+ \or Treze%
+ \or Quatorze%
+ \or Quinze%
+ \or Dezesseis%
+ \or Dezessete%
+ \or Dezoito%
+ \or Dezenove%
+ \fi
+}%
+\gdef\@@Hundredstringportuges#1{%
+ \ifcase#1\relax
+ \or Cento%
+ \or Duzentos%
+ \or Trezentos%
+ \or Quatrocentos%
+ \or Quinhentos%
+ \or Seiscentos%
+ \or Setecentos%
+ \or Oitocentos%
+ \or Novecentos%
+ \fi
+}%
+\gdef\@@HundredstringFportuges#1{%
+ \ifcase#1\relax
+ \or Cento%
+ \or Duzentas%
+ \or Trezentas%
+ \or Quatrocentas%
+ \or Quinhentas%
+ \or Seiscentas%
+ \or Setecentas%
+ \or Oitocentas%
+ \or Novecentas%
+ \fi
+}%
\DeclareRobustCommand{\@numberstringMportuges}[2]{%
-\let\@unitstring=\@@unitstringportuges
-\let\@teenstring=\@@teenstringportuges
-\let\@tenstring=\@@tenstringportuges
-\let\@hundredstring=\@@hundredstringportuges
-\def\@hundred{cem}\def\@thousand{mil}%
-\def\@andname{e}%
-\@@numberstringportuges{#1}{#2}}
+ \let\@unitstring=\@@unitstringportuges
+ \let\@teenstring=\@@teenstringportuges
+ \let\@tenstring=\@@tenstringportuges
+ \let\@hundredstring=\@@hundredstringportuges
+ \def\@hundred{cem}\def\@thousand{mil}%
+ \def\@andname{e}%
+ \@@numberstringportuges{#1}{#2}%
+}%
+\global\let\@numberstringMportuges\@numberstringMportuges
\DeclareRobustCommand{\@numberstringFportuges}[2]{%
-\let\@unitstring=\@@unitstringFportuges
-\let\@teenstring=\@@teenstringportuges
-\let\@tenstring=\@@tenstringportuges
-\let\@hundredstring=\@@hundredstringFportuges
-\def\@hundred{cem}\def\@thousand{mil}%
-\def\@andname{e}%
-\@@numberstringportuges{#1}{#2}}
-\let\@numberstringNportuges\@numberstringMportuges
+ \let\@unitstring=\@@unitstringFportuges
+ \let\@teenstring=\@@teenstringportuges
+ \let\@tenstring=\@@tenstringportuges
+ \let\@hundredstring=\@@hundredstringFportuges
+ \def\@hundred{cem}\def\@thousand{mil}%
+ \def\@andname{e}%
+ \@@numberstringportuges{#1}{#2}%
+}%
+\global\let\@numberstringFportuges\@numberstringFportuges
+\global\let\@numberstringNportuges\@numberstringMportuges
\DeclareRobustCommand{\@NumberstringMportuges}[2]{%
-\let\@unitstring=\@@Unitstringportuges
-\let\@teenstring=\@@Teenstringportuges
-\let\@tenstring=\@@Tenstringportuges
-\let\@hundredstring=\@@Hundredstringportuges
-\def\@hundred{Cem}\def\@thousand{Mil}%
-\def\@andname{e}%
-\@@numberstringportuges{#1}{#2}}
+ \let\@unitstring=\@@Unitstringportuges
+ \let\@teenstring=\@@Teenstringportuges
+ \let\@tenstring=\@@Tenstringportuges
+ \let\@hundredstring=\@@Hundredstringportuges
+ \def\@hundred{Cem}\def\@thousand{Mil}%
+ \def\@andname{e}%
+ \@@numberstringportuges{#1}{#2}%
+}%
+\global\let\@NumberstringMportuges\@NumberstringMportuges
\DeclareRobustCommand{\@NumberstringFportuges}[2]{%
-\let\@unitstring=\@@UnitstringFportuges
-\let\@teenstring=\@@Teenstringportuges
-\let\@tenstring=\@@Tenstringportuges
-\let\@hundredstring=\@@HundredstringFportuges
-\def\@hundred{Cem}\def\@thousand{Mil}%
-\def\@andname{e}%
-\@@numberstringportuges{#1}{#2}}
-\let\@NumberstringNportuges\@NumberstringMportuges
+ \let\@unitstring=\@@UnitstringFportuges
+ \let\@teenstring=\@@Teenstringportuges
+ \let\@tenstring=\@@Tenstringportuges
+ \let\@hundredstring=\@@HundredstringFportuges
+ \def\@hundred{Cem}\def\@thousand{Mil}%
+ \def\@andname{e}%
+ \@@numberstringportuges{#1}{#2}%
+}%
+\global\let\@NumberstringFportuges\@NumberstringFportuges
+\global\let\@NumberstringNportuges\@NumberstringMportuges
\DeclareRobustCommand{\@ordinalstringMportuges}[2]{%
-\let\@unitthstring=\@@unitthstringportuges
-\let\@unitstring=\@@unitstringportuges
-\let\@teenthstring=\@@teenthstringportuges
-\let\@tenthstring=\@@tenthstringportuges
-\let\@hundredthstring=\@@hundredthstringportuges
-\def\@thousandth{mil\'esimo}%
-\@@ordinalstringportuges{#1}{#2}}
+ \let\@unitthstring=\@@unitthstringportuges
+ \let\@unitstring=\@@unitstringportuges
+ \let\@teenthstring=\@@teenthstringportuges
+ \let\@tenthstring=\@@tenthstringportuges
+ \let\@hundredthstring=\@@hundredthstringportuges
+ \def\@thousandth{mil\'esimo}%
+ \@@ordinalstringportuges{#1}{#2}%
+}%
+\global\let\@ordinalstringMportuges\@ordinalstringMportuges
\DeclareRobustCommand{\@ordinalstringFportuges}[2]{%
-\let\@unitthstring=\@@unitthstringFportuges
-\let\@unitstring=\@@unitstringFportuges
-\let\@teenthstring=\@@teenthstringportuges
-\let\@tenthstring=\@@tenthstringFportuges
-\let\@hundredthstring=\@@hundredthstringFportuges
-\def\@thousandth{mil\'esima}%
-\@@ordinalstringportuges{#1}{#2}}
-\let\@ordinalstringNportuges\@ordinalstringMportuges
+ \let\@unitthstring=\@@unitthstringFportuges
+ \let\@unitstring=\@@unitstringFportuges
+ \let\@teenthstring=\@@teenthstringportuges
+ \let\@tenthstring=\@@tenthstringFportuges
+ \let\@hundredthstring=\@@hundredthstringFportuges
+ \def\@thousandth{mil\'esima}%
+ \@@ordinalstringportuges{#1}{#2}%
+}%
+\global\let\@ordinalstringFportuges\@ordinalstringFportuges
+\global\let\@ordinalstringNportuges\@ordinalstringMportuges
\DeclareRobustCommand{\@OrdinalstringMportuges}[2]{%
-\let\@unitthstring=\@@Unitthstringportuges
-\let\@unitstring=\@@Unitstringportuges
-\let\@teenthstring=\@@teenthstringportuges
-\let\@tenthstring=\@@Tenthstringportuges
-\let\@hundredthstring=\@@Hundredthstringportuges
-\def\@thousandth{Mil\'esimo}%
-\@@ordinalstringportuges{#1}{#2}}
+ \let\@unitthstring=\@@Unitthstringportuges
+ \let\@unitstring=\@@Unitstringportuges
+ \let\@teenthstring=\@@teenthstringportuges
+ \let\@tenthstring=\@@Tenthstringportuges
+ \let\@hundredthstring=\@@Hundredthstringportuges
+ \def\@thousandth{Mil\'esimo}%
+ \@@ordinalstringportuges{#1}{#2}%
+}%
+\global\let\@OrdinalstringMportuges\@OrdinalstringMportuges
\DeclareRobustCommand{\@OrdinalstringFportuges}[2]{%
-\let\@unitthstring=\@@UnitthstringFportuges
-\let\@unitstring=\@@UnitstringFportuges
-\let\@teenthstring=\@@teenthstringportuges
-\let\@tenthstring=\@@TenthstringFportuges
-\let\@hundredthstring=\@@HundredthstringFportuges
-\def\@thousandth{Mil\'esima}%
-\@@ordinalstringportuges{#1}{#2}}
-\let\@OrdinalstringNportuges\@OrdinalstringMportuges
-\newcommand*{\@@unitthstringportuges}[1]{%
-\ifcase#1\relax
-zero%
-\or primeiro%
-\or segundo%
-\or terceiro%
-\or quarto%
-\or quinto%
-\or sexto%
-\or s\'etimo%
-\or oitavo%
-\or nono%
-\fi
-}
-\newcommand*{\@@tenthstringportuges}[1]{%
-\ifcase#1\relax
-\or d\'ecimo%
-\or vig\'esimo%
-\or trig\'esimo%
-\or quadrag\'esimo%
-\or q\"uinquag\'esimo%
-\or sexag\'esimo%
-\or setuag\'esimo%
-\or octog\'esimo%
-\or nonag\'esimo%
-\fi
-}
-\newcommand*{\@@teenthstringportuges}[1]{%
-\@tenthstring{1}%
-\ifnum#1>0\relax
--\@unitthstring{#1}%
-\fi}
-\newcommand*{\@@hundredthstringportuges}[1]{%
-\ifcase#1\relax
-\or cent\'esimo%
-\or ducent\'esimo%
-\or trecent\'esimo%
-\or quadringent\'esimo%
-\or q\"uingent\'esimo%
-\or seiscent\'esimo%
-\or setingent\'esimo%
-\or octingent\'esimo%
-\or nongent\'esimo%
-\fi}
-\newcommand*{\@@unitthstringFportuges}[1]{%
-\ifcase#1\relax
-zero%
-\or primeira%
-\or segunda%
-\or terceira%
-\or quarta%
-\or quinta%
-\or sexta%
-\or s\'etima%
-\or oitava%
-\or nona%
-\fi
-}
-\newcommand*{\@@tenthstringFportuges}[1]{%
-\ifcase#1\relax
-\or d\'ecima%
-\or vig\'esima%
-\or trig\'esima%
-\or quadrag\'esima%
-\or q\"uinquag\'esima%
-\or sexag\'esima%
-\or setuag\'esima%
-\or octog\'esima%
-\or nonag\'esima%
-\fi
-}
-\newcommand*{\@@hundredthstringFportuges}[1]{%
-\ifcase#1\relax
-\or cent\'esima%
-\or ducent\'esima%
-\or trecent\'esima%
-\or quadringent\'esima%
-\or q\"uingent\'esima%
-\or seiscent\'esima%
-\or setingent\'esima%
-\or octingent\'esima%
-\or nongent\'esima%
-\fi}
-\newcommand*{\@@Unitthstringportuges}[1]{%
-\ifcase#1\relax
-Zero%
-\or Primeiro%
-\or Segundo%
-\or Terceiro%
-\or Quarto%
-\or Quinto%
-\or Sexto%
-\or S\'etimo%
-\or Oitavo%
-\or Nono%
-\fi
-}
-\newcommand*{\@@Tenthstringportuges}[1]{%
-\ifcase#1\relax
-\or D\'ecimo%
-\or Vig\'esimo%
-\or Trig\'esimo%
-\or Quadrag\'esimo%
-\or Q\"uinquag\'esimo%
-\or Sexag\'esimo%
-\or Setuag\'esimo%
-\or Octog\'esimo%
-\or Nonag\'esimo%
-\fi
-}
-\newcommand*{\@@Hundredthstringportuges}[1]{%
-\ifcase#1\relax
-\or Cent\'esimo%
-\or Ducent\'esimo%
-\or Trecent\'esimo%
-\or Quadringent\'esimo%
-\or Q\"uingent\'esimo%
-\or Seiscent\'esimo%
-\or Setingent\'esimo%
-\or Octingent\'esimo%
-\or Nongent\'esimo%
-\fi}
-\newcommand*{\@@UnitthstringFportuges}[1]{%
-\ifcase#1\relax
-Zera%
-\or Primeira%
-\or Segunda%
-\or Terceira%
-\or Quarta%
-\or Quinta%
-\or Sexta%
-\or S\'etima%
-\or Oitava%
-\or Nona%
-\fi
-}
-\newcommand*{\@@TenthstringFportuges}[1]{%
-\ifcase#1\relax
-\or D\'ecima%
-\or Vig\'esima%
-\or Trig\'esima%
-\or Quadrag\'esima%
-\or Q\"uinquag\'esima%
-\or Sexag\'esima%
-\or Setuag\'esima%
-\or Octog\'esima%
-\or Nonag\'esima%
-\fi
-}
-\newcommand*{\@@HundredthstringFportuges}[1]{%
-\ifcase#1\relax
-\or Cent\'esima%
-\or Ducent\'esima%
-\or Trecent\'esima%
-\or Quadringent\'esima%
-\or Q\"uingent\'esima%
-\or Seiscent\'esima%
-\or Setingent\'esima%
-\or Octingent\'esima%
-\or Nongent\'esima%
-\fi}
-\newcommand*{\@@numberstringportuges}[2]{%
+ \let\@unitthstring=\@@UnitthstringFportuges
+ \let\@unitstring=\@@UnitstringFportuges
+ \let\@teenthstring=\@@teenthstringportuges
+ \let\@tenthstring=\@@TenthstringFportuges
+ \let\@hundredthstring=\@@HundredthstringFportuges
+ \def\@thousandth{Mil\'esima}%
+ \@@ordinalstringportuges{#1}{#2}%
+}%
+\global\let\@OrdinalstringFportuges\@OrdinalstringFportuges
+\global\let\@OrdinalstringNportuges\@OrdinalstringMportuges
+\gdef\@@unitthstringportuges#1{%
+ \ifcase#1\relax
+ zero%
+ \or primeiro%
+ \or segundo%
+ \or terceiro%
+ \or quarto%
+ \or quinto%
+ \or sexto%
+ \or s\'etimo%
+ \or oitavo%
+ \or nono%
+ \fi
+}%
+\gdef\@@tenthstringportuges#1{%
+ \ifcase#1\relax
+ \or d\'ecimo%
+ \or vig\'esimo%
+ \or trig\'esimo%
+ \or quadrag\'esimo%
+ \or q\"uinquag\'esimo%
+ \or sexag\'esimo%
+ \or setuag\'esimo%
+ \or octog\'esimo%
+ \or nonag\'esimo%
+ \fi
+}%
+\gdef\@@teenthstringportuges#1{%
+ \@tenthstring{1}%
+ \ifnum#1>0\relax
+ -\@unitthstring{#1}%
+ \fi
+}%
+\gdef\@@hundredthstringportuges#1{%
+ \ifcase#1\relax
+ \or cent\'esimo%
+ \or ducent\'esimo%
+ \or trecent\'esimo%
+ \or quadringent\'esimo%
+ \or q\"uingent\'esimo%
+ \or seiscent\'esimo%
+ \or setingent\'esimo%
+ \or octingent\'esimo%
+ \or nongent\'esimo%
+ \fi
+}%
+\gdef\@@unitthstringFportuges#1{%
+ \ifcase#1\relax
+ zero%
+ \or primeira%
+ \or segunda%
+ \or terceira%
+ \or quarta%
+ \or quinta%
+ \or sexta%
+ \or s\'etima%
+ \or oitava%
+ \or nona%
+ \fi
+}%
+\gdef\@@tenthstringFportuges#1{%
+ \ifcase#1\relax
+ \or d\'ecima%
+ \or vig\'esima%
+ \or trig\'esima%
+ \or quadrag\'esima%
+ \or q\"uinquag\'esima%
+ \or sexag\'esima%
+ \or setuag\'esima%
+ \or octog\'esima%
+ \or nonag\'esima%
+ \fi
+}%
+\gdef\@@hundredthstringFportuges#1{%
+ \ifcase#1\relax
+ \or cent\'esima%
+ \or ducent\'esima%
+ \or trecent\'esima%
+ \or quadringent\'esima%
+ \or q\"uingent\'esima%
+ \or seiscent\'esima%
+ \or setingent\'esima%
+ \or octingent\'esima%
+ \or nongent\'esima%
+ \fi
+}%
+\gdef\@@Unitthstringportuges#1{%
+ \ifcase#1\relax
+ Zero%
+ \or Primeiro%
+ \or Segundo%
+ \or Terceiro%
+ \or Quarto%
+ \or Quinto%
+ \or Sexto%
+ \or S\'etimo%
+ \or Oitavo%
+ \or Nono%
+ \fi
+}%
+\gdef\@@Tenthstringportuges#1{%
+ \ifcase#1\relax
+ \or D\'ecimo%
+ \or Vig\'esimo%
+ \or Trig\'esimo%
+ \or Quadrag\'esimo%
+ \or Q\"uinquag\'esimo%
+ \or Sexag\'esimo%
+ \or Setuag\'esimo%
+ \or Octog\'esimo%
+ \or Nonag\'esimo%
+ \fi
+}%
+\gdef\@@Hundredthstringportuges#1{%
+ \ifcase#1\relax
+ \or Cent\'esimo%
+ \or Ducent\'esimo%
+ \or Trecent\'esimo%
+ \or Quadringent\'esimo%
+ \or Q\"uingent\'esimo%
+ \or Seiscent\'esimo%
+ \or Setingent\'esimo%
+ \or Octingent\'esimo%
+ \or Nongent\'esimo%
+ \fi
+}%
+\gdef\@@UnitthstringFportuges#1{%
+ \ifcase#1\relax
+ Zera%
+ \or Primeira%
+ \or Segunda%
+ \or Terceira%
+ \or Quarta%
+ \or Quinta%
+ \or Sexta%
+ \or S\'etima%
+ \or Oitava%
+ \or Nona%
+ \fi
+}%
+\gdef\@@TenthstringFportuges#1{%
+ \ifcase#1\relax
+ \or D\'ecima%
+ \or Vig\'esima%
+ \or Trig\'esima%
+ \or Quadrag\'esima%
+ \or Q\"uinquag\'esima%
+ \or Sexag\'esima%
+ \or Setuag\'esima%
+ \or Octog\'esima%
+ \or Nonag\'esima%
+ \fi
+}%
+\gdef\@@HundredthstringFportuges#1{%
+ \ifcase#1\relax
+ \or Cent\'esima%
+ \or Ducent\'esima%
+ \or Trecent\'esima%
+ \or Quadringent\'esima%
+ \or Q\"uingent\'esima%
+ \or Seiscent\'esima%
+ \or Setingent\'esima%
+ \or Octingent\'esima%
+ \or Nongent\'esima%
+ \fi
+}%
+\gdef\@@numberstringportuges#1#2{%
\ifnum#1>99999
\PackageError{fmtcount}{Out of range}%
{This macro only works for values less than 100000}%
@@ -557,8 +584,8 @@ this number}%
\edef#2{\@@fc@numstr\@teenstring{\@strctr}}%
\fi
\fi
-}
-\newcommand*{\@@ordinalstringportuges}[2]{%
+}%
+\gdef\@@ordinalstringportuges#1#2{%
\@strctr=#1\relax
\ifnum#1>99999
\PackageError{fmtcount}{Out of range}%
@@ -642,7 +669,7 @@ this number}%
\fi
\fi
\fi
-}
+}%
\endinput
%%
%% End of file `fc-portuges.def'.