From: Sunny Srivastava <research.baba@gmail.com>
To: emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: [org-beamer] Question: How to insert different background images on different frames
Date: Thu, 6 Jan 2011 16:48:34 -0500 [thread overview]
Message-ID: <AANLkTi=8of6a0wfsTGk2abT2RPavnqVihsw2W2ZmobEJ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1752 bytes --]
Hello Org-mode users:
I am still a beginner with org-mode and I am trying to make my first beamer
presentation using org-mode exclusively. I had my moments of enlightenment
but at the moment I am stuck, please bear with me if my question is very
basic.
I want to include different background images for different frames. The
beamer solution is to use \usebackgroundtemplate.
Let's say I want to insert the image on the 2nd frame, I would write the
latex code as follows:
\end{frame} %% frame 1 ends
% Now we install the new template for the following frames:
\usebackgroundtemplate{
\includegraphics[width=\paperwidth,height=\paperheight]{my_background_image.png}
}
\begin{frame} %% frame 2 begins
%% This frame will have my_background_image as the background image.
\end{frame}
% Now we install another template, effective from now on, we will use a
different background image
\usebackgroundtemplate{
\includegraphics[width=\paperwidth,height=\paperheight]{my_different_image.png}
}
\begin{frame}
%% This frame will have my_different_image as the background image.
\end{frame}
For no image we can simply use \usebackgroundtemplate{}.
Currently I tried to replicate this in org by doing something like this
* frame 1
- item1
- item2
#+begin_latex
\usebackgroundtemplate{
\includegraphics[width=\paperwidth,height=\paperheight]{my_background_image.png}
}
#+begin_latex
* frame 2
This inserts the latex statement before \end{frame} (as expected). Is there
a way to get the statement after \end{frame} in the exported .tex file? It
would be even better if I can avoid using latex and let org handle this.
I am sorry for such a basic query.
Thanks in advance for any pointers of help. Much appreciated.
Best Regards,
S.
[-- Attachment #1.2: Type: text/html, Size: 2898 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2011-01-06 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 21:48 Sunny Srivastava [this message]
2011-01-06 23:27 ` [org-beamer] Question: How to insert different background images on different frames John Hendy
2011-01-07 1:06 ` Sunny Srivastava
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=8of6a0wfsTGk2abT2RPavnqVihsw2W2ZmobEJ@mail.gmail.com' \
--to=research.baba@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.