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.

When I try this MWE, the fractions are overlapping:

\documentclass{beamer}

\begin{document}
\begin{frame}

\begin{itemize}
\item 
\begin{itemize}
\item $\frac{5}{8}$
\item $\frac{5}{2}$
\end{itemize}

\end{itemize}

\end{frame}
\end{document}

What is the best way to fix this problem?

share|improve this question
1  
Try \setlength{\itemsep}{1ex} inside itemize enviroment or \item $\frac{5}{8}$\\[1ex] –  user56567 Jul 21 at 12:03

1 Answer 1

I would recommend to switch to xfrac fractions here. If you do not like this, you will have to stretch the vertical space between your items. I also added the two ideas mentioned in comment by cornelius.

% arara: pdflatex

\documentclass{beamer}
\usepackage{xfrac}

\begin{document}
\begin{frame}
    \begin{itemize}
        \item 
        \begin{itemize}
            \item $\sfrac{5}{8}$
            \item $\sfrac{5}{2}$
        \end{itemize}
        \item 
        \begin{itemize}
            \item $\frac{5}{8}$\\[0.6ex]
            \item $\frac{5}{2}$
        \end{itemize}
        \item 
        \begin{itemize}
            \setlength{\itemsep}{0.6ex}
            \item $\frac{5}{8}$
            \item $\frac{5}{2}$
        \end{itemize}
    \end{itemize}
\end{frame}
\end{document}

enter image description here

share|improve this answer
    
For completeness, I think you can add as option the possible solution with the templates itemize/enumerate body begin and itemize/enumerate body end. –  Claudio Fiandrino Jul 21 at 12:45
    
@ClaudioFiandrino Please feel free to edit. Marked it CW. I am not using Beamer and don't want to write something wrong here... –  LaRiFaRi Jul 21 at 13:16

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.