3

I have a quote in beamer which I would to show crossed out, that is with a large cross going through it. How can I do that?

Here is a MWE:

\documentclass{beamer}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{cancel}

\usepackage{default}

\begin{document}
    \begin{frame}\frametitle{Example}
    \begin{exampleblock}{}
    {\large ``\blindtext''}
    \vskip5mm
    \hspace*\fill{\small--- Author and Author}
\end{exampleblock}
\end{frame}
\end{document}

I tried xcancel from the cancel package but couldn't get it to work at all for this task.

  • Do you really work without a frame? – TeXnician Dec 22 '17 at 15:45
  • @TeXnician No. My example was just a little too minimal. Fixed now. – Lembik Dec 22 '17 at 15:46
1

With tikz you could do:

\documentclass{beamer}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{tikz}

\begin{document}

\begin{frame}
    \frametitle{Example}

  \begin{exampleblock}{}
    {\large ``\blindtext''}
    \vskip5mm
    \hspace*\fill{\small--- Author and Author}
    \end{exampleblock}

    \begin{tikzpicture}[remember picture, overlay]
        \draw[ultra thick,color=red] (0,0) -- (11,7) (11,0) -- (0,7);
    \end{tikzpicture}

\end{frame}

\end{document}

enter image description here

  • Thank you. My MWE didn't correctly show that the quote is at the bottom of the page. Let me update it. – Lembik Dec 22 '17 at 16:19
  • @Lembik Just modify the numbers in (0,0) -- (11,7) (11,0) -- (0,7). – user36296 Dec 22 '17 at 16:21
  • 1
    @Lembik That's exactly the method I used to derive the numbers in my answer :) – user36296 Dec 22 '17 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.