diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/numspell/README | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/numspell/numspell.pdf | bin | 223145 -> 270892 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/numspell/numspell.tex | 67 |
3 files changed, 52 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/numspell/README b/Master/texmf-dist/doc/latex/numspell/README index 8a3bd49fecd..32cd6dca3b6 100644 --- a/Master/texmf-dist/doc/latex/numspell/README +++ b/Master/texmf-dist/doc/latex/numspell/README @@ -1,9 +1,9 @@ numspell.sty package -Copyright 2017-2020 by Tibor Tomacs +Copyright 2017-2021 by Tibor Tómács This package supports the spelling of cardinal and ordinal numbers. -Supported languages are English, French, German, Hungarian and Italian. +Supported languages are English, French, German, Hungarian, Italian, and Latin. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -24,6 +24,7 @@ numspell.sty (main package file) numspell-english.sty (English 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-latin.sty (Latin package for numspell) +numspell-magyar.sty (Hungarian 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 b3878a16506..477d82aa5e8 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 99128819f99..534873118b4 100644 --- a/Master/texmf-dist/doc/latex/numspell/numspell.tex +++ b/Master/texmf-dist/doc/latex/numspell/numspell.tex @@ -1,7 +1,7 @@ %% %% `numspell.tex' documentation of the numspell package %% -%% Copyright 2017-2020 by Tibor Tomacs +%% Copyright 2017-2021 by Tibor Tomacs %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -17,20 +17,19 @@ %% \documentclass{article} \usepackage[a4paper]{geometry} -\usepackage[pdfstartview=FitH,colorlinks,allcolors=black,bookmarksnumbered]{hyperref} +\usepackage[pdfstartview=FitH,colorlinks,allcolors=black,bookmarksnumbered,hyperfootnotes=false]{hyperref} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} -\usepackage{numspell} -\usepackage[magyar,italian,ngerman,french,english]{babel} -\usepackage{listings,xcolor,amsmath,upquote} -\usepackage[group-separator={,}]{siunitx} +\usepackage[magyar,italian,latin,ngerman,french,english]{babel} +\usepackage[symbol]{footmisc} +\usepackage{numspell,listings,xcolor,amsmath,upquote} \flushbottom \setlength{\labelsep}{0pt} \setlength{\parindent}{0pt} \setlength{\parskip}{6pt} \lstnewenvironment{examplelst}{\lstset{ -%belowskip=\bigskipamount, +aboveskip=\bigskipamount, basicstyle=\ttfamily, backgroundcolor=\color{black!10}, frame=trbl, @@ -56,15 +55,15 @@ keepspaces]} \begin{document} -\title{The {\bfseries\sffamily numspell} package\\{\large v1.4 (2020/11/11)}} +\title{The {\bfseries\sffamily numspell} package\\{\large v1.5 (2021/11/23)}} \author{Tibor Tómács\\{\normalsize\url{tomacs.tibor@uni-eszterhazy.hu}}} \date{} \maketitle \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). +The aim of the \texttt{numspell} package is to spell the cardinal and ordinal numbers from 0 to $10^{66}-1$ (i.e.~maximum 66 digits). -The supported languages are English (British and American), French, German, Hungarian and Italian. +The supported languages are English (British and American), French, German, Hungarian, Italian, and Latin\footnote{Thanks to Keno Wehr for the Latin language module.} (classical, medieval, modern, and ecclesiastic). The spelling will happen in the current language. The \texttt{numspell} package requires the services of the \texttt{xstring} and \texttt{iflang} packages. @@ -77,7 +76,7 @@ Load the package as usual, with \section{Commands} \begin{description} \item\commandinline|\numspell[!<zeros>!]{!<num>!}|\\ -Spelling the cardinal number $n=\text{\color{green!50!black}\itshape$\langle$num$\rangle$}\cdot10^{\text{\color{green!50!black}\itshape$\langle$zeros$\rangle$}}$, where $0\leq n\leq 10^{67}-1$. The default value of \commandinline|!<zeros>!| is \texttt{0}. For example +Spelling the cardinal number $n=\text{\color{green!50!black}\itshape$\langle$num$\rangle$}\cdot10^{\text{\color{green!50!black}\itshape$\langle$zeros$\rangle$}}$, where $0\leq n\leq 10^{66}-1$. The default value of \commandinline|!<zeros>!| is \texttt{0}. For example \begin{flushleft} \verb|\numspell{12000}| $\to$ \numspell{12000}\\ \verb|\numspell[3]{12}| $\to$ \numspell[3]{12}\\ @@ -175,7 +174,7 @@ For example \item\commandinline|\ordnumspell[!<zeros>!]{!<num>!}|\\ Spelling the ordinal number $n=\text{\color{green!50!black}\itshape$\langle$num$\rangle$}\cdot10^{\text{\color{green!50!black}\itshape$\langle$zeros$\rangle$}}$, -where $0\leq n\leq 10^{67}-1$. The default value of \commandinline|!<zeros>!| is \texttt{0}. For example +where $0\leq n\leq 10^{66}-1$. The default value of \commandinline|!<zeros>!| is \texttt{0}. For example \begin{flushleft} \verb|\ordnumspell{12000}| $\to$ \ordnumspell{12000}\\ \verb|\ordnumspell[3]{12}| $\to$ \ordnumspell[3]{12}\\ @@ -349,12 +348,36 @@ The ordinal numbers will be printed in feminine form. For example\\ {\numspellitfeminine\ordnumspell{1}}; {\numspellitmasculine\ordnumspell{1}} \end{description} +\section{Commands for the Latin language} +The following commands only work, if one of the next languages is active: \texttt{latin}, \texttt{classiclatin}, \texttt{medievallatin}, or \texttt{ecclesiasticlatin}. +\begin{description} +\selectlanguage{latin} +\item\commandinline|\numspelllamasculine| (default)\\ +All numbers will be printed in masculine form. For example\\ +\verb|\numspell{1}, \numspell{2}, \numspell{200}, \ordnumspell{1}|\\[2mm] +\numspell{1}, \numspell{2}, \numspell{200}, \ordnumspell{1} + +\item\commandinline|\numspelllafeminine|\\ +All numbers will be printed in feminine form. For example\\ +\verb|\numspelllafeminine|\\ +\verb|\numspell{1}, \numspell{2}, \numspell{200}, \ordnumspell{1}|\\[2mm] +\numspelllafeminine +\numspell{1}, \numspell{2}, \numspell{200}, \ordnumspell{1} + +\item\commandinline|\numspelllaneuter|\\ +All numbers will be printed in neuter form. For example\\ +\verb|\numspelllaneuter|\\ +\verb|\numspell{1}, \numspell{2}, \numspell{200}, \ordnumspell{1}|\\[2mm] +\numspelllaneuter +\numspell{1}, \numspell{2}, \numspell{200}, \ordnumspell{1} +\end{description} + \section{Examples} \begin{examplelst} \documentclass{article} \usepackage[T1]{fontenc} -\usepackage[magyar,italian,ngerman,french,english]{babel} +\usepackage[magyar,italian,latin,ngerman,french,english]{babel} \usepackage{numspell} \usepackage[group-separator={,}]{siunitx} \begin{document} @@ -377,27 +400,33 @@ In Hungarian the spelling of \num{\mynum} is \par\smallskip\noindent In Italian the spelling of \num{\mynum} is \foreignlanguage{italian}{\em\numspell{\mynum}}. +\par\smallskip\noindent +In Latin the spelling of \num{\mynum} is +\foreignlanguage{latin}{\em\numspell{\mynum}}. \end{document} \end{examplelst} \def\mynum{123456789} \noindent -In British English the spelling of \num{\mynum} is +In British English the spelling of 123,456,789 is \emph{\numspell{\mynum}}. \par\smallskip\noindent -In American English the spelling of \num{\mynum} is +In American English the spelling of 123,456,789 is \foreignlanguage{american}{\em\numspell{\mynum}}. \par\smallskip\noindent -In French the spelling of \num{\mynum} is +In French the spelling of 123,456,789 is \foreignlanguage{french}{\em\numspell{\mynum}}. \par\smallskip\noindent -In German the spelling of \num{\mynum} is +In German the spelling of 123,456,789 is \foreignlanguage{ngerman}{\em\numspell{\mynum}}. \par\smallskip\noindent -In Hungarian the spelling of \num{\mynum} is +In Hungarian the spelling of 123,456,789 is \foreignlanguage{magyar}{\em\numspell{\mynum}}. \par\smallskip\noindent -In Italian the spelling of \num{\mynum} is +In Italian the spelling of 123,456,789 is \foreignlanguage{italian}{\em\numspell{\mynum}}. +\par\smallskip\noindent +In Latin the spelling of 123,456,789 is +\foreignlanguage{latin}{\em\numspell{\mynum}}. \begin{examplelst} \documentclass{article} |