# [texhax] problems with sub and super scripts

Justin C. Walker justin at mac.com
Thu May 25 23:01:57 CEST 2006

On May 25, 2006, at 13:04 , M.N.A.Smadi wrote:

> Hello there;
> couple of things
> 1) I am trying to write a summation notation as follows:
> \sum_{(i,j)\in C(p,q)}

\sum\limits_{(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?

Why are you enclosing the expression in "{}" if you don't want it to
be treated "as a unit"?

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I'm beginning to like the cut of his jibberish.
-----------