2

I have a Beamer document with a lot of quotes in Quote environments. I would like to be able to produce a version of the PDF where all those quotes are blanked out. I am no programmer, so would like to find some easy way to redefine the Quote environment so that all contents of each Quote environment will turn blank (or turn to "x"s or something).

Or is there some other easier way, that still does not require programming skills?

The question Commenting out specific environments shows how to comment out the Quotes. But I would rather have the space shown where each Quote was, only not show the quoted text.

3
  • Related/duplicate: Hiding part of text leaving blank space
    – Werner
    Apr 20, 2018 at 0:16
  • @Werner The top two rated answers at that question seem to involve adding a command at each instance of the environment I want blanked out. In my case that is hundreds of additions, so I hope there is a more systematic way. Or have i misunderstood those answers? Apr 20, 2018 at 0:28
  • @ColinMcLarty You've misunderstood. The environ answer is simply one line of redefining the environment with the RenewEnviron command. It should apply automatically.
    – Magne
    Mar 16, 2020 at 17:20

1 Answer 1

5

Quick hack: make the quotes the same colour as the background

\documentclass{beamer}

\setbeamercolor{quote}{fg=bg}

\begin{document}
\begin{frame}
    text

    \begin{quote}
        text
    \end{quote}

    text
\end{frame}
\end{document}

You must log in to answer this question.

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