1

Beamer turns hyphenation off. There are good reasons for that (e.g., "if you need automatic hyphenation, you have too much text on your slides"). But I still get hyphenation inside a quote environment. I think the reasons apply to quotes too. A search in the Beamer manual and on the web does not show anything relevant. Is there an option to completely turn hyphenation off in Beamer?

3
  • is this helping you? tex.stackexchange.com/questions/44556/…
    – Mafsi
    Feb 11, 2021 at 14:53
  • No, because that is about how to turn hyphenation ON, rather than OFF...
    – GrB
    Feb 11, 2021 at 16:12
  • 1
    Check the answer https://tex.stackexchange.com/a/44669. It explains that hyphenation is not switched off in beamer but that it uses \raggedright instead of justified text. So you can try to redefine quote to use also ragged right
    – gernot
    Feb 11, 2021 at 16:19

1 Answer 1

0

You can adapt the quote begin template to include \raggedright

\documentclass{beamer}

\usepackage{lipsum}

\addtobeamertemplate{quote begin}{}{\raggedright}

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

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .