Take the 2-minute tour ×
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.

Possible Duplicate:
Left and right subscript

How can I make a superscript on the upper left hand corner of a letter?

share|improve this question

marked as duplicate by Werner, Vivi, Thorsten, egreg, diabonas Apr 16 '12 at 7:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

You can use the standard ^ operator; if you require better control, the leftidx package can be an option:

\documentclass{article}
\usepackage{amsmath}
\usepackage{leftidx}

\begin{document}

$ ^{i}A \qquad\leftidx{_1^2}{\left(\frac{1}{b}\right)}{_3^4}$

\end{document}

enter image description here

share|improve this answer
    
sadly, there's more space between the prescripts and the kernel and the following scripts. i don't know whether this is a function of the leftidx package or something else, but it would be good to look into and "correct". –  barbara beeton Apr 16 '12 at 14:47
    
@barbarabeeton: you're right. I'll take a look to the implementation of \leftidx. –  Gonzalo Medina Apr 16 '12 at 18:13

I use the following macro in my documents. I think that I had copied it from c.t.t. and the mathtools package also provides a version of this macro.

\def\presuper#1#2%
  {\mathop{}%
   \mathopen{\vphantom{#2}}^{#1}%
   \kern-\scriptspace%
   #2}
share|improve this answer