From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Latex code inbetween beamer frames Date: Fri, 11 Mar 2016 21:01:48 +0000 Message-ID: <878u1orao3.fsf@ucl.ac.uk> References: <56E2B3A8.9000403@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeUC5-00009F-LJ for emacs-orgmode@gnu.org; Fri, 11 Mar 2016 16:01:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeUC0-0006dl-Lk for emacs-orgmode@gnu.org; Fri, 11 Mar 2016 16:01:57 -0500 Received: from mail-am1on0135.outbound.protection.outlook.com ([157.56.112.135]:36627 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeUC0-0006cv-DF for emacs-orgmode@gnu.org; Fri, 11 Mar 2016 16:01:52 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giacomo M Cc: emacs-orgmode@gnu.org On Friday, 11 Mar 2016 at 13:01, Giacomo M wrote: > Dear all, > I would like to set a background image for some slides. AFAIK, the way > to achieve this in beamer is by using sth like: > \usebackgroundtemplate{\tikz\node > {\includegraphics[width=\textwidth]{mybackpic}};} > before the \begin{frame} of the slide of interest (and after the > \end{frame}). Use the ignoreheading environment in beamer to create an empty slide before the one you want with a background and then one after to reset the background, as in: #+begin_src org ,* define background :B_ignoreheading: :PROPERTIES: :BEAMER_env: ignoreheading :END: ,#+latex: \usebackgroundtemplate{\tikz\node {\includegraphics[width=\textwidth]{mybackpic}};} ,* My slide with background is here #+end_src The above assumes that top level headlines are frames, i.e. H:1 default. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55