emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: emacs-orgmode@gnu.org
Subject: Nick Dokos: Re: questions about exporting to latex using beamer documentclass
Date: Sun, 05 Jul 2009 12:11:51 -0400	[thread overview]
Message-ID: <19420.1246810311@gamaville.dokosmarshall.org> (raw)

Apologies - I did a "Reply", instead of "Reply all". Spike, thanks for pointing
out the omission.

------- Forwarded Message

Date:    Sun, 05 Jul 2009 00:24:42 -0400
From:    Nick Dokos <nicholas.dokos@hp.com>
To:      Spike Spiegel <fsmlab@gmail.com>
cc:      nicholas.dokos@hp.com
Subject: Re: [Orgmode] questions about exporting to latex using beamer document
	  class

Spike Spiegel <fsmlab@gmail.com> wrote:

> ...
> - I'm in the situation that I need to pass options to an image
> (\includegraphics) in a frame's title (frames are beamer's idea of
> slide). Based on the docs it seems I should be doing something like
> "#+ATTR_LaTeX: width=5cm,angle=90" but I can't put that within a
> headline before the image and it won't work if I put it before it
> because it'll end up outside of the frame

I'm afraid I don't quite understand your description. Can you provide a bit
more detail about what you are  trying to do and how you are going about it?

Here's how I interpreted your description of adding an image to a frame's title
(see the "Why" headline below - note that I use a slightly different setup for 
beamer
as described in http://article.gmane.org/gmane.emacs.orgmode/15126).

,----
| #+LaTeX_CLASS: beamer
| #+TITLE: Example presentation
| #+AUTHOR: Nick Dokos \\ $<$\href{mailto:nicholas.dokos@hp.com}{nicholas.dokos
@hp.com}$>$
| #+EMAIL: nicholas.dokos@hp.com
| #+OPTIONS: toc:nil H:2
| #+LaTeX_HEADER: \titlegraphic{\includegraphics{foo.png}}
| * Why \includegraphics[width=5cm]{foo.png}
| ** Reason 1.
|    Text explaining reason #1.
| ** Reason 2.
|    ... more explanations.
| ** Reason 3.
|    Blah, blah, blah.
|  
| ** Reason 4.
|    Why not?
| 
| * What
| ** First piece.
| ** Second piece.
| ** Third piece.
| ** Fourth piece.
`----

I can pass optional parameters just fine as shown above. But I'm not
sure whether this is really what you want.

Thanks,
Nick


------- End of Forwarded Message

                 reply	other threads:[~2009-07-05 17:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19420.1246810311@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.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).