Lifting a math symbol in LaTeX

Posted by Chris Conway on Stack Overflow See other posts from Stack Overflow or by Chris Conway
Published on 2010-05-19T14:57:07Z Indexed on 2010/05/19 15:10 UTC
Read the original article Hit count: 147

Filed under:

I'm using the symbol \otimes as a unary operator and it's vertical alignment doesn't seem right to me. It wants to sit a bit below the baseline:

Operator below the baseline

and

Operator misaligned in subscript

I tried using \raisebox to fix this, e.g., \raisebox{1pt}{$\otimes$}:

Operator near baseline

But \raisebox doesn't seem to be sensitive to subscripts. The operator stays the same size while everything around it shrinks:

Operator too big in subscript

The problem, I think, is that \raisebox creates its own LR box, which doesn't inherit the settings in the surrounding math environment. Is there a version of \raisebox that "respects math"?

© Stack Overflow or respective owner

Related posts about latex