Beamer – How to Justify Text in Beamer Presentations

beamerhorizontal alignmentpresentations

I like to justify the texts inside the block using beamer.
I cant do that in presentationenter image description here. Can any one please help me?

Best Answer

You can use \justifying from the ragged2e package; you can patch the \frame command to use \justyfing, but you will also have to invoke \justifying for some other environments which internally use \raggedleft (for example, the beamer blocks, and the list-like environments enumerate, itemize, etc.). A little example:

\documentclass{beamer}
\usepackage{ragged2e}
\usepackage{etoolbox}
\usepackage{lipsum}

\apptocmd{\frame}{}{\justifying}{} % Allow optional arguments after frame.

\begin{document}

\begin{frame}
\lipsum[2]
\end{frame}

\begin{frame}
\begin{block}{text}
\justifying
\lipsum[2]
\end{block}
\end{frame}

\end{document}

enter image description here