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.

I would like to itemize some equations but they don't appear on the same line as the bullets.

Here is a code example.

\documentclass{article}
\begin{document}
\begin{itemize}
\item\begin{equation*}
         Pr( Y= n)  = \frac{e^{-7}\times 7^n}{n!}
\end{equation*}

\item\begin{equation*}              
         Pr(X = m)  = \frac{e^{-4}\times 4^m}{m!}
\end{equation*}
\end{itemize}
\end{document}

How can I solve this?

share|improve this question
1  
Welcome to TeX.sx! Please change your given code snippet to a complete minimal working example (MWE) that illustrates your problem. –  Kurt Oct 21 '12 at 19:07

1 Answer 1

up vote 7 down vote accepted

Use inline equations, you can make them bigger by using \displaystyle. You can also achieve the same for fractions by using \dfrac from the amsmath package (thanks @cmhughes for the suggestion).

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{itemize}
    \item $ Pr( Y= n)  = \frac{e^{-7}\times 7^n}{n!} $
    \item $ Pr(X = m)  = \frac{e^{-4}\times 4^m}{m!} $
    \item $ \displaystyle Pr( Y= n)  = \frac{e^{-7}\times 7^n}{n!} $
    \item $ \displaystyle Pr(X = m)  = \frac{e^{-4}\times 4^m}{m!} $
    \item $ Pr( Y= n)  = \dfrac{e^{-7}\times 7^n}{n!} $
    \item $ Pr(X = m)  = \dfrac{e^{-4}\times 4^m}{m!} $
\end{itemize}
\end{document}

Result:

Equations

share|improve this answer
3  
+1 could you add the option to use \dfrac from the amsmath package too? –  cmhughes Oct 21 '12 at 19:49

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.