Please, how can i write
C i,j
in LaTeX (i
as an index and j
an an exponent)?
I know just that:
C^j
C_i
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityPlease, how can i write
C i,j
in LaTeX (i
as an index and j
an an exponent)?
I know just that:
C^j
C_i
You can add a subscript and a superscript in sequence: $C_a^b$
. If you need more than one character in a sub- or superscript, use braces. Thus, $C_{ab}$
produces a subscript ab
, and $C_{a^b}$
produces a subscript a
which itself has a superscript b
.
\documentclass[12pt]{article}
\begin{document}
\[ C_a^b \quad C_{ab} \quad C_{a^b} \]
\end{document}
(I used a
and b
because the last example doesn't work very well with i
and j
in the default font).
C_i^j
? – Ian Thompson Sep 9 '12 at 19:45