emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sander Boer <sanderboer@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: org-beamer feaure request : single frame background
Date: Wed, 25 May 2011 12:33:53 +0200	[thread overview]
Message-ID: <irilui$s3u$1@dough.gmane.org> (raw)

Hi all,

I've found that this has come up in the past, with no real solution.
I have found a workaround though.

First the issue at hand:

Beamer allows for setting the background image by setting 
setbeamertemplate *outside* of the frame environment:

#### begin tex src snippet
% preamble

{	% by enclosing it in a tex environment
	%the background is set only for this frame

\setbeamertemplate{background canvas}{
	\includegraphics[width=\paperwidth]{./myImage.jpg}
	}

\begin{frame}
\frametitle{Outline}
\setcounter{tocdepth}{3}
\tableofcontents
\end{frame}

}`	% end tex env

#### end tex src snippet

A quick look at org-beamer.el makes me think that there is no 
infrastructure in place that accounts for enclosing each frame in its 
own tex environment, although I think that would be trivial.
Less trivial for me is what kind of structure should be in place that 
inserts the code before the frame.
A property for sure...

Any thoughts on this ?


Anyway, the workaround is using the "wallpaper" package and set the 
beamer background canvas to nil:
\usepackage{wallpaper}
\setbeamercolor{background canvas}{bg=}

then in org:
* my slide title:
\ThisCenterWallPaper{1}{myImage.jpg} % first argument is scaling

But, a solid Org-beamer implementation like described above is preferred...
Sander

             reply	other threads:[~2011-05-25 14:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 10:33 Sander Boer [this message]
2011-05-25 16:06 ` org-beamer feaure request : single frame background suvayu ali
2011-05-26 10:08   ` Sander Boer
2011-05-26 18:15     ` suvayu ali

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='irilui$s3u$1@dough.gmane.org' \
    --to=sanderboer@yahoo.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).