TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wish to use numbering like 1\alpha, 1\beta,... in some subequations. I know that this is obtainable by redefining the \theequation like the following (which gives lower-case Roman numerals, 1.i, 1.ii,...)

  a1 &= b1 \\
  a2 &= b2

The problem is I don't know the equivalent of \roman that will yield the Greek alphabet.

A related question (which might subsume the above) is: can someone complete the set of commands

\arabic, \alph, \Alph, \roman, \Roman, ...
share|improve this question
up vote 20 down vote accepted

You can create a Greek equivalent by taking the code of e.g. \alph from the file latex.ltx and modify it to get what you want. It also requires a slight modification to the subequations environment from amsmath.


  \expandafter\@greek\csname c@#1\endcsname
    \or\mu\or\nu\or\xi\or o\or\pi\or\varrho\or\sigma

      (a+b)^2 &= a^2+2ab+b^2 \\
      (a-b)^2 &= a^2-2ab+b^2 \\
      (a+b)(a-b) &= a^2-b^2

You mentioned that you only want to modify some equations. The above introduced approach is a general modification. So you might have to do some adjustment on your own. At least you have Greek letters as enumeration symbols which also could be used at other places.

share|improve this answer
Great answer. Shame subequations needs so much redefinition. – Will Robertson Oct 13 '10 at 12:57
Why redefine the subequations environment, when you can just do what the OP did in his post and \renewcommand\theequation inside the \begin{subequations}...\end{subequations} block? – Willie Wong Oct 13 '10 at 13:43
@Willie: You are right. Another possibility would be to clone the subequations environment, do the necessary modification and give it a new name (e. g. gsubequations). The new environment could be used wherever wanted. – Thorsten Donig Oct 13 '10 at 14:46
Thanks for the comprehensive answer. I followed Willie's suggestion and dropped the code for modifying the subeqations environment. It all worked perfectly. – Simon Oct 14 '10 at 1:28
You need a % after \else\@ctrerr\fi$ otherwise there will be a space after \greek{counter} – Seamus Jul 27 '11 at 14:08

There is no LaTeX2e equivalent for Greek letters. The only numbering command you're missing there is \fnsymbol, which is actually how you'll implement support for Greek letters yourself. \fnsymbol is (from source2e.pdf)

\def\fnsymbol#1{\expandafter\@fnsymbol\csname c@#1\endcsname}

and \@fnsymbol is

    *\or \dagger\or \ddagger\or\mathsection\or 
    \mathparagraph\or \|\or **\or \dagger\dagger\or 

So to define your own numbering scheme, just define a new macro along similar lines and insert the appropriate symbols.

There may be a package that does this already; another package along similar lines is alphalph which lets you display alphabetically numbers greater than 26: {A, …, X, Y, Z, AA, AB, …, ZZ, AAA, AAB, …, FXSHRXW}

share|improve this answer
Is FXSHRXW a random string of letters, or is it actually some limit on the size of the integers that TeX can handle, written in base 26? I somewhat doubt it because a string ending in W represents a even number (A = 0, Z = 25, W = 22), and limits on number sizes in computer science tend to be odd. – Willie Wong Oct 13 '10 at 13:41
I just grabbed it from the alphalph docs; FXSHRXW is the max integer (corresponding to decimal 2147483647). I'm a bit rusty on my non-base-10 arithmetic, but for alphalph A = 1 and W = 23. – Will Robertson Oct 13 '10 at 13:55
Thanks for pointing out the command missing from my list. Your suggestion to modify the code above is basically what Thorsten did - but I saw his answer first! – Simon Oct 14 '10 at 1:33
No problem—his answer was better because he did the work of actually defining the new command! – Will Robertson Oct 14 '10 at 2:24
moreenum.sty uses alphalph to do exactly this. – Seamus Jul 13 '11 at 11:50

You can use the \greeknumeral or \Greeknumeral from the babel package. I am not sure how well they will play within a maths environment, but you can read the source for some inspiration.

share|improve this answer
Those are, I think, not quite the format the OP expects. See en.wikipedia.org/wiki/Greek_numerals for what \greeknumeral outputs. – Willie Wong Oct 13 '10 at 13:47
@Wong I am aware what a Greek Numeral (I speak, Greek!) Greek numerals (like their Roman counterparts) do not have a one to one representation with the alphabet. However, using the Babel package you can even have page-numbers with Greek numerals. – Yiannis Lazarides Oct 13 '10 at 15:01

Taking inspiration from T.D.'s excellent answer, I wrote a small package to add extra counter output types. As well as greek, it defines binary, hexadecimal, and "First, Second, Third...".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.