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.

Is there a way to do this? Currently I am using something like the following to do the job on scaling of a single letter in an equation:

\[
\int_{\Omega} (u - \text{\Large $\Pi_{\Omega}$} u) v \, dx = 0
\]

or

\[
\int_{\Omega} (u - \text{\scalebox{1.5}{$\Pi_{\Omega}$}} u) v \, dx = 0
\]

and as you can see, the \Omega in the subscript of \Pi is obviously bigger than the \Omega as the domain of the integral sign: the comparison of Omega

I am curious if there is a way to manually adjust the size of the sub/sup-script of this resized letter? I tried using \scriptsize and \scriptstyle, both seem not working in mathmode? or is there another solution for the rescaling/resizing other than exploiting \text{} or \scalebox{}[]{}. Thanks in advance!

share|improve this question
    
You're probably looking for \prod\nolimits_{\Omega} –  egreg Mar 21 '12 at 21:28

1 Answer 1

up vote 9 down vote accepted

The "large Pi" symbol you're looking for is called \prod (the analog of \sum for products)

\[
\int_{\Omega} (u - \prod\nolimits_{\Omega} u) v \, dx = 0
\]

The \nolimits is to avoid the subscript to go below the symbol in display style.

enter image description here

If you need a smaller symbol in display style, you can define

\newcommand{\sprod}{\mathop{\mathchoice
  {\textstyle\prod}
  {\prod}
  {\prod}
  {\prod}
}\nolimits}

and the result of

\[
\int_{\Omega} (u - \sprod_{\Omega} u) v \, dx = 0
\]

would be as follows

enter image description here

share|improve this answer
    
Thanks a lot! Works like a charm. –  Shuhao Cao Mar 22 '12 at 2:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.