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
Code: Select all
If $\bar{Y}=\frac{\rm n_1 \bar{X_1}+n_2 \bar{X_2}}{\rm n_1+n_2}$, then
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis