diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/numspell')
-rw-r--r-- | Master/texmf-dist/doc/latex/numspell/README | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/numspell/numspell.pdf | bin | 220502 -> 222065 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/numspell/numspell.tex | 57 |
3 files changed, 44 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/numspell/README b/Master/texmf-dist/doc/latex/numspell/README index 36738e13361..9afd9185e2f 100644 --- a/Master/texmf-dist/doc/latex/numspell/README +++ b/Master/texmf-dist/doc/latex/numspell/README @@ -2,8 +2,8 @@ numspell.sty package Copyright 2017- by Tibor Tomacs -Package for spelling cardinal and ordinal numbers. -Supported languages are English, German, French and Hungarian. +This package supports the spelling of cardinal and ordinal numbers. +Supported languages are English, French, German, Hungarian and Italian. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -22,7 +22,8 @@ This work consists of the files README (this file) numspell.sty (main package file) numspell-english.sty (English package for numspell) -numspell-german.sty (German package for numspell) numspell-french.sty (French package for numspell) +numspell-german.sty (German package for numspell) numspell-magyar.sty (Hungarian package for numspell) +numspell-italian.sty (Italian package for numspell) numspell.tex and the derived file numspell.pdf (documentation).
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/numspell/numspell.pdf b/Master/texmf-dist/doc/latex/numspell/numspell.pdf Binary files differindex 74ad6ce060e..60ea99893fc 100644 --- a/Master/texmf-dist/doc/latex/numspell/numspell.pdf +++ b/Master/texmf-dist/doc/latex/numspell/numspell.pdf diff --git a/Master/texmf-dist/doc/latex/numspell/numspell.tex b/Master/texmf-dist/doc/latex/numspell/numspell.tex index 6c8467b8213..5c8186fe483 100644 --- a/Master/texmf-dist/doc/latex/numspell/numspell.tex +++ b/Master/texmf-dist/doc/latex/numspell/numspell.tex @@ -21,7 +21,7 @@ \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{numspell} -\usepackage[magyar,ngerman,french,english]{babel} +\usepackage[magyar,italian,ngerman,french,english]{babel} \usepackage{listings,xcolor,amsmath,upquote} \usepackage[group-separator={,}]{siunitx} \flushbottom @@ -52,7 +52,7 @@ keepspaces]} \begin{document} -\title{The {\bfseries\sffamily numspell} package\\{\large v1.1 (2017/09/20)}} +\title{The {\bfseries\sffamily numspell} package\\{\large v1.2 (2017/09/30)}} \author{Tibor Tómács\\{\normalsize\url{tomacs.tibor@uni-eszterhazy.hu}}} \date{} \maketitle @@ -60,7 +60,7 @@ keepspaces]} \section{Introduction} The aim of the \texttt{numspell} package is to spell the cardinal and ordinal numbers from 0 to $10^{67}-1$ (i.e.~maximum 66 digits). -Currently, the supported languages are English, German, French and Hungarian. +Currently, the supported languages are English, French, German, Hungarian and Italian. The spelling will happen in the current language. The \texttt{numspell} package requires the services of the following packages: \texttt{xstring}, \texttt{etoolbox}, \texttt{pdftexcmds}. @@ -388,13 +388,28 @@ For example \thenumspellMyNum} \end{description} +\section{Commands for Italian language} +The following commands only work, if \texttt{italian} language is active. +\begin{description} +\selectlanguage{italian} +\item\commandinline|\numspellitmasculine| (default)\\ +The ordinal numbers will be printed in masculine form. For example\\ +\verb|\ordnumspell{1}| $\to$ \ordnumspell{1} + +\item\commandinline|\numspellitfeminine|\\ +The ordinal numbers will be printed in feminine form. For example\\ +\verb|\numspellitfeminine\ordnumspell{1};|\\ +\verb|\numspellitmasculine\ordnumspell{1}|\\[2mm] +{\numspellitfeminine\ordnumspell{1}}; {\numspellitmasculine\ordnumspell{1}} +\end{description} + \section{Examples} \subsection*{Example \stepcounter{subsection}\arabic{subsection}} \begin{examplelst} \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} -\usepackage[magyar,ngerman,french,english]{babel} +\usepackage[magyar,italian,ngerman,french,english]{babel} \usepackage{numspell} \usepackage[group-separator={,}]{siunitx} \begin{document} @@ -402,49 +417,57 @@ For example \def\mynum{123456789} \noindent -In British English the spelling of \num{\mynum} is -\emph{``\numspell{\mynum}''}. - -\smallskip\noindent In American English the spelling of \num{\mynum} is {\numspellUS\emph{``\numspell{\mynum}''}}. \smallskip\noindent -In German the spelling of \num{\mynum} is -{\selectlanguage{ngerman}\emph{``\numspell{\mynum}''}}. +In British English the spelling of \num{\mynum} is +\emph{``\numspell{\mynum}''}. \smallskip\noindent In French the spelling of \num{\mynum} is {\selectlanguage{french}\emph{``\numspell{\mynum}''}}. \smallskip\noindent +In German the spelling of \num{\mynum} is +{\selectlanguage{ngerman}\emph{``\numspell{\mynum}''}}. + +\smallskip\noindent In Hungarian the spelling of \num{\mynum} is {\selectlanguage{magyar}\emph{`'\numspell{\mynum}''}}. +\smallskip\noindent +In Italian the spelling of \num{\mynum} is +{\selectlanguage{italian}\emph{``\numspell{\mynum}''}}. + \end{document} \end{examplelst} \def\mynum{123456789} \noindent -In British English the spelling of \num{\mynum} is \emph{``\numspell{\mynum}''}. - -\smallskip\noindent In American English the spelling of \num{\mynum} is {\numspellUS\emph{``\numspell{\mynum}''}}. \smallskip\noindent -In German the spelling of \num{\mynum} is -{\selectlanguage{ngerman}\emph{``\numspell{\mynum}''}}. +In British English the spelling of \num{\mynum} is \emph{``\numspell{\mynum}''}. \smallskip\noindent In French the spelling of \num{\mynum} is {\selectlanguage{french}\emph{``\numspell{\mynum}''}}. \smallskip\noindent +In German the spelling of \num{\mynum} is +{\selectlanguage{ngerman}\emph{``\numspell{\mynum}''}}. + +\smallskip\noindent In Hungarian the spelling of \num{\mynum} is {\selectlanguage{magyar}\emph{`'\numspell{\mynum}''}}. +\smallskip\noindent +In Italian the spelling of \num{\mynum} is +{\selectlanguage{italian}\emph{``\numspell{\mynum}''}}. + \bigskip \subsection*{Example \stepcounter{subsection}\arabic{subsection}} \begin{examplelst} @@ -472,7 +495,7 @@ In Hungarian the spelling of \num{\mynum} is \begin{document} The -\@whilenum\value{mycount}<31 +\@whilenum\value{mycount}<51 \do{\ordnumspell{\themycount}\stepcounter{mycount},\ }\dots \end{document} @@ -481,7 +504,7 @@ The \makeatletter \newcounter{mycount} The -\@whilenum\value{mycount}<31 +\@whilenum\value{mycount}<51 \do{\ordnumspell{\themycount}\stepcounter{mycount},\ }\dots \makeatother |