TransWikia.com

Why the summation is printed like this?

TeX - LaTeX Asked by subham soni on April 4, 2021

The values of the upper and lower limits of a summation are usually printed below and above sigma. But I find TeX something very unusual. How to correct this?

Here is the MWE:

documentclass[12pt]{article}
usepackage{amsmath}
begin{document}
begin{align}
<mu_{m}> = frac{sum_{-J}^{J}{-gmu_{beta}M_{J}B.exp{left(frac{-gmu_{beta}M_{J}B}{kT}right)}}}{sum_{-J}^{J}{exp{left(frac{-gmu_{beta}M_{J}B}{kT}right)}}}
end{align}
end{document}

The output:
enter image description here

One Answer

LaTeX by default uses scriptstyle for sums inside fractions. You can change the sums to displaystyle like this:

[
langle mu_{m} rangle = 
frac{{displaystyle sum_{-J}^{J}}{-gmu_{beta}M_{J}B.exp{left(frac{-gmu_{beta}M_{J}B}{kT}right)}}}
{{displaystyle sum_{-J}^{J}}{exp{left(frac{-gmu_{beta}M_{J}B}{kT}right)}}}
]

PLEASE, use langle rangle instead of < >. Here's the output: enter image description here

Correct answer by Jairo Bochi on April 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP