nth.sty put on ctan: uk

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Thu Feb 28 08:34:08 CET 2002


Donald Arseneau writes:

> I see there is no nth.sty on ctan, so I uploaded a new-revised version
> to Cambridge.
> 
> Public domain license.
> 
> To go in macros/latex/contrib/other/misc or in macros/generic/?
> 
> % nth.sty  version 2002/27/02 Donald Arseneau
> % Ordinal numbering style, 1st 2nd 3rd 4th 5th... 12th... 101st 102nd...
> %
> % (Public domain: take, include, extract, whatever)
> %
> % In LaTeX: 
> %           \usepackage[super,negative]{nth}
> % where option [super] gives superscript `th'
> % and option [negative] allows ``st, nd, rd'' suffixes on negative numbers.
> %
> % example:  \renewcommand{\thesection}{\ordinal{section}}
> % or        \renewcommand{\thesection}{\@ordinal\c at section}
> % or        \renewcommand{\thesection}{\nth\c at section}
> %   
> % In plain TeX: 
> %           \input nth.sty
> % use:      \nth{<number>}.
> % Change formatting by redefining \nthscript and \nthtest

i've installed the file in macros/generic/nth.sty (since it looks as
if it is just that).  thanks for the upload.

Robin Fairbairns

For the CTAN team



More information about the Ctan-ann mailing list