TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

Possible Duplicate:
Rotating a letter

For a work in logic, I need to write a iota upside down in a mathematical formula. I found this suggestion on the internet. First include [the usual math package] and the graphicx package

\usepackage{amsmath, amscd, amsthm, amssymb, mathrsfs,amsfonts}

in the preamble. Then use the command


Indeed it works, but not perfectly: the axis of the rotation is at the basis of the letter (in 'normal' position). Hence, when I use this command, the reversed iota appears on a lower level than the text. I am thus not satisfied with this.

Does anyone have a better suggestion?

share|improve this question
\rotate[c]{180}{$\iota$} – Seamus Jul 13 '11 at 11:29
For more information, see this question: tex.stackexchange.com/q/18157/215 – Seamus Jul 13 '11 at 11:29
Sorry, that should say origin=c not c... – Seamus Jul 13 '11 at 11:32
@Seamus:OK, that's works perfectly with \rotatebox[origin=c]{180}{$\iota$}. Thanks! – Thomas Connor Jul 13 '11 at 11:35
This thread latex-community.org/forum/viewtopic.php?f=46&t=5269 also talks of rotating iota and the solutions are different from yours. – N.N. Jul 13 '11 at 11:36
up vote 9 down vote accepted

A reference is Rotating a letter, but rotating math symbols requires some more care:


The $ signs are necessary, since TeX is not in math mode when it processes the contents of the box to be rotated.

If the symbol is needed also in subscripts or superscripts, some more work is needed:


Now $\rotatediota_\rotatediota$ will have the desired result (graphicx is required, of course).


\mathpalette\XXX\YYY becomes


and TeX will choose the right piece of code depending on the current math style. So it suffices to define \XXX with two arguments, the first of which is a math style declaration. Here we don't have a "variable" part, so the second argument to \rotiota is just \relax (it could be any token, since it's eventually discarded; \mathpalette requires two arguments, to begin with).

The extra group around \mathpalette\rotiota\relax is to allow for a simpler syntax when the symbol must be used in a subscript.

If it has to be a relation symbol, don't forget to put it into \mathrel, or modify the definition to



This is also a good candidate for a command to be declared robust, if used extensively in captions or headings:


or, loading etoolbox,

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.