emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beamer export: Executing LaTeX between two frames


From: Ihor Radchenko
Subject: Re: Beamer export: Executing LaTeX between two frames
Date: Sun, 26 Jun 2022 12:17:58 +0800

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> On Tuesday, 21 Jun 2022 at 10:01, M. ‘quintus’ Gülker wrote:
>> I am working on a presentation for a conference (using org-mode and its
>> beamer export) and want to exchange the entire background for a specific
>> frame with an image. This is possible with Beamer, see
>
> This is a bit hacky but see attached file.  The trick is to end the
> previous frame explicitly, create the frame with the desired background,
> and then start explicitly a new frame but which is not shown in
> presentation mode.

This is too hacky as for my taste.

I'd rather use :ignore: tag from ox-extra:

* This is frame 1
* This is background wrapper, heading title ignored :ignore:
#+begin_export beamer
{\usebackgroundtemplate{\includegraphics[width=\paperwidth]{kitten.jpg}}%
#+end_export
* This is frame 2
* This is background ending :ignore:
#+begin_export beamer
}
#+end_export

The above exports to

\begin{document}

\begin{frame}{Outline}
\tableofcontents
\end{frame}

\begin{frame}[label={sec:orgea52eac}]{This is frame 1}
\end{frame}
{\usebackgroundtemplate{\includegraphics[width=\paperwidth]{kitten.jpg}}%
\begin{frame}[label={sec:org39b6485}]{This is frame 2}
\end{frame}
}
\end{document}

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]