Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/macros/latex/contrib/moreenum

This is the README for moreenum.sty
The author/maintainer of this work is Seamus Bradley.
tex@seamusbradley.net

This provides the following new enumerate styles.

 - \greek for lowercase Greek letters
 - \Greek for uppercase Greek letters
 - \enumHex for uppercase hexadecimal enumeration
 - \enumhex for lowercase hexadecimal enumeration
 - \enumbinary for binary enumeration
 - \enumoctal for octal enumeration
 - \raisenth for 1st, 2nd, 3rd etc with raised "th"s
 - \levelnth for 1st, 2nd 3rd with level "th"s
 - \Nthwords for "First", "Second", "Third" etc
 - \nthwords for "first", "second", "third" etc
 - \NTHWORDS for "FIRST", "SECOND", "THIRD" etc
 - \Nwords for "One", "Two", "Three" etc
 - \nwords for "one", "two", "three" etc
 - \NWORDS for "ONE", "TWO", "THREE" etc

Each of these works with enumitem's "starred variant" feature.
So \begin{enumerate}[label=\Hex*] will output a hex enumerated list.
Enumitem provides a start=0 option for starting your enumerations at
0.
A binzero environment is provided for binary starting at zero enumeration.
Likewise enumoctzero, enumHexzero and enumhexzero for the hex enumerations.

Currently requires amsmath, alphalph, enumitem and fmtcount 
all of which should be part of any modern TeX distribution.

This isn't so much a package designed for use as a list of recipes for
creating your own new kinds of enumeration.
All of the work is really done by the various packages loaded.

TWO WARNINGS:

 - You probably don't want to use uppercase greek numbering. Ever.
 - Be careful with uppercase Hex numbering for sections if you also
   have appendices. 
 - (A more general version of the last point) Don't mix \Alph and
   \enumHex, or \alph and \enumhex

TO DO:

 - Properly namespace the internal macros.
 - Make consistent the way the macros for counters and numbers are
   treated.
 - Test spacing of enumerations.


CHANGELOG
See https://github.com/scmbradley/moreenum for a full changelog

v1.02
  Spacing issues fixed
  \nwords and friends and \nthwords and friends are now the right way round.
v1.01
  NWORDS and friends now supported
v1.0
  levelnth and raisenth work with fmtcount
  fmtcount also replaces binhex.tex
  fmtcount also replaces numname
v0.95 
  levelnth and raisenth work through environments with engord's switch
  numname used for nwords and nthwords
v0.9 
  Initial version

Files

Name Size Date Notes
README 2358 2011-11-03 09:52
moreenum-doc.pdf 216731 2011-11-03 09:55
moreenum-doc.tex 6399 2011-11-03 09:55
moreenum.sty 7459 2011-11-03 09:56

Down­load the con­tents of this pack­age in one zip archive (216.8k).

moreenum – More enu­mer­a­tion op­tions

The pack­age pro­vides the fol­low­ing new enu­mer­ate styles:

  • \greek for low­er­case Greek let­ters;
  • \Greek for up­per­case Greek let­ters;
  • \enumHex for up­per­case hex­adec­i­mal enu­mer­a­tion;
  • \enumhex for low­er­case hex­adec­i­mal enu­mer­a­tion;
  • \enumbi­nary for bi­nary enu­mer­a­tion;
  • \enu­moc­tal for oc­tal enu­mer­a­tion;
  • \lev­el­nth for “1st”, “2nd”, “3rd” etc., with the “nth”s on the base­line;
  • raisenth for “1st”, “2nd”, “3rd” etc., with the “nth”s raised;
  • \nth­words for “first”, “sec­ond“, “third” etc.;
  • \Nth­words for “First”, “Se­cond”, “Third” etc.;
  • \NTHWORDS for “FIRST”, “SECOND”, “THIRD” etc.;
  • \nwords for “one”, “two”, “three” etc.;
  • \Nwords for “One”, “Two”, “Three” etc.; and
  • \NWORDS for “ONE”, “TWO”, “THREE” etc.
Each of these works with en­u­mitem’s “starred vari­ant” fea­ture. So \be­gin{enu­mer­ate}[la­bel=\enumhex*] will out­put a hex enu­mer­ated list. En­u­mitem pro­vides a start=0 op­tion for start­ing your enu­mer­a­tions at 0.

The pack­age re­quires ams­math, al­phalph, en­u­mitem (of course), bin­hex and nth, all of which are widely avail­able.

Pack­age De­tailsmoreenum
Ver­sion1.03
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerSea­mus Bradley
Con­tained inTeXlive as moreenum
MikTeX as moreenum
Topics for­mat­ting num­bers, etc
list: items enu­mer­ated
Guest Book Sitemap Contact