Possible Duplicates:

Is there a standard/best practice for typesetting "nth" in LaTeX? Right now I've got $n$th, but that looks a bit weird, with the math-mode n right next to the standard-text th. I've also considered $n^\text{th}$ (which really seems like too much work). I'm sure there's some ridiculously simple solution--I just haven't found it yet. Can you please clue me in?

  • \newcommand{\nth}{$n^\text{th}$} ? – geekosaur Mar 21 '11 at 18:05
  • This belongs on tex.stackexchange.com – Assaf Mar 21 '11 at 18:06
  • 2
    Another related question: 1st, 2nd and i-th? – Hendrik Vogt Mar 21 '11 at 18:15

In mathematical texts it is normal to write $n$th. If you want it in superscript (not usual for mathematics AFAIK) you could use $n^{\text{th}}$.

| improve this answer | |
  • it should be mentioned that it requires amsmath for \text. Also putting it in \ensuremath instead of $ ... $ would be more fool-proof. – Martin Scharrer Mar 21 '11 at 18:25
  • 2
    Depending on fonts, I find that $n^{\text{\tiny th}}$ often looks much better. – ESultanik Mar 29 '11 at 20:02