Products in Fraction: Bigger with Sub/Super Scripts

  • Context: MHB 
  • Thread starter Thread starter rapid1
  • Start date Start date
  • Tags Tags
    Fraction
Click For Summary

Discussion Overview

The discussion revolves around formatting mathematical expressions in LaTeX, specifically focusing on how to display products with subscript and superscript limits above and below the operator in a fraction. The context includes technical aspects of LaTeX typesetting for mathematical notation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant expresses a desire to format products in a specific way within a fraction, seeking clarity on how to achieve larger products with limits above and below.
  • Another participant suggests using \displaystyle in front of \prod to achieve the desired formatting for the products.
  • A third participant explains two methods for placing limits above and below an operator: using \displaystyle or \dfrac for display style, or using \prod\limits to specify limits without changing the style.
  • A later reply acknowledges the simplicity of the solution provided and expresses gratitude.

Areas of Agreement / Disagreement

Participants generally agree on the methods to achieve the desired formatting, with no significant disagreement noted in the proposed solutions.

Contextual Notes

Limitations include the potential for misunderstanding the context in which different LaTeX commands are used, as well as the specific formatting requirements for different mathematical expressions.

rapid1
Messages
13
Reaction score
0
Basically i have this code, obviously the fraction is in display maths, but i want BIG products too, with sub/super scripts above and below rather than next to it. Thanks

$$
pr(X=k)=\mu\frac{\prod^{k-1}_{i=1}\{1-\mu+(i-1)\theta\}}{\prod^{k}_{i=1}\{1+(i-1)\theta\}}, \quad \mbox{for k$\geq$ 1,}
$$
 
Physics news on Phys.org
rapid said:
Basically i have this code, obviously the fraction is in display maths, but i want BIG products too, with sub/super scripts above and below rather than next to it. Thanks

$$
pr(X=k)=\mu\frac{\prod^{k-1}_{i=1}\{1-\mu+(i-1)\theta\}}{\prod^{k}_{i=1}\{1+(i-1)\theta\}}, \quad \mbox{for k$\geq$ 1,}
$$

type \displaystyle in front of \prod$$
pr(X=k)=\mu\frac{\displaystyle\prod^{k-1}_{i=1}\{1-\mu+(i-1)\theta\}}{\displaystyle\prod^{k}_{i=1}\{1+(i-1)\theta\}}, \quad \mbox{for k$\geq$ 1,}$$
 
There are two ways to place limits above and below an operator. First, this is the default for big operators in display style. Here, the fraction is in display style, but the nominator and denominator are in text style. You can activate display style using \displaystyle in the nominator and denominator or by using \dfrac instead of \frac. Second, without changing the style, you can put the limits above/below the operator by saying \prod\limits. Conversely, in display style limits can be put next to the operator by saying \prod\nolimits.

See also p. 144 of The TeXbook.
 
And it's as simple as that :p Thanks very much!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K