how can I justify the text inside an alert block?
\begin{frame}
\begin{alertblock}{hello}
text to justify
\end{alertblock}
\end{frame}
how can I justify the text inside an alert block?
\begin{frame}
\begin{alertblock}{hello}
text to justify
\end{alertblock}
\end{frame}
Adapting the answer from Justify content in beamer blocks you can redefine the block alerted begin beamer template
\documentclass{beamer}
\usepackage[nopar]{lipsum}% for dummy text
\usepackage{ragged2e}% for \justifying
\addtobeamertemplate{block alerted begin}{}{\justifying}
\begin{document}
\begin{frame}
\begin{block}{block}
\lipsum[66]
\end{block}
\begin{alertblock}{alertblock}
\lipsum[66]
\end{alertblock}
\end{frame}
\end{document}
alertblockor inside all of them? – campa Jul 05 '21 at 12:11