Math & ScienceLeft side of in-line equation too small

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
NELLLY
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

Left side of in-line equation too small

Post by NELLLY »

Hi
I need to get the following equation inside a sentence

Code: Select all

If $\bar{Y}=\frac{\rm n_1 \bar{X_1}+n_2 \bar{X_2}}{\rm n_1+n_2}$, then
but the right part is too small in comparison with the left one. Is there a solution to get both sides with equal size shapes.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

Left side of in-line equation too small

Post by magicmoose »

You could try

Code: Select all

\documentclass{article}
\begin{document}
If $\displaystyle\bar{Y}=\frac{\rm n_1 \bar{X_1}+n_2 \bar{X_2}}{\rm n_1+n_2}$, then
\end{document}
NELLLY
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

Re: Left side of in-line equation too small

Post by NELLLY »

Thank you very much.
Post Reply