# Does justifying and frame breaks' conflict in Beamer? [closed]

I tried the justifying techniques proposed here: My presentation in Beamer document class also have long bibliography. I have used allow frame breaks in a new frame which recommended here. Surprisingly, frame breaks stopped working! If I comment out \apptocmd{\frame}{\justifying}{}{} as suggested for justifying then frame breaks work again. I am new in LaTex. Please help.

\documentclass{beamer}

\mode<presentation> {
%\usetheme{CambridgeUS}
}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
\usepackage{ragged2e}
\usepackage{etoolbox}
\apptocmd{\frame}{\justifying}{}{} %comment out this line will not let me justified but frame break for bibliography works then!
\begin{document}

\begin{frame}
\end{frame}

\begin{frame}[allowframebreaks]{Reference}
\bibliographystyle{plain}
\bibliography{Thesis_presentation}
\end{frame}

\end{document}

• Why don't you put \justifying just after \begin{document}`? – user11232 Apr 17 '14 at 4:24
• @Harish I do not see any change by doing that! Does it work for you? – overwhelmed Apr 17 '14 at 4:27
• Yes, it works for me: i.stack.imgur.com/v9CBT.png – user11232 Apr 17 '14 at 4:38
• @Harish Thank you. It works for me too. Sorry for the earlier comment, i misunderstood that. Now the frame breaks works as it should be. – overwhelmed Apr 17 '14 at 5:26
• I'm voting to close this question as off-topic because solved in comments – samcarter_is_at_topanswers.xyz Sep 29 '16 at 16:03