[texhax] problems with sub and super scripts

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Thu May 25 23:15:59 CEST 2006

> 1) I am trying to write a summation notation as follows:
> \sum_{(i,j)\in C(p,q)}
>
> but instead of the {(i,j)\in C(p,q)} showing immediately beneath the big
> Sigma notation it shows kind of to the side extending over the term to
> be summer over. Any clue how to fix that?

Is this in a display or in nomral text - for displaystyle in normal text
use:

$\displaystyle\sum_{(i,j)\in C(p,q)}$

> 2) i have a variable with a subscript ij and superscript pq. When i use
> {x_{ij}}^{pq} , I am getting the x_{ij} as having superscript pq which
> is not the same. What is the way around that?

Should be x_{ij}^{pq}

Cheers,  Phil