all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Spike Spiegel <fsmlab@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: questions about exporting to latex using beamer documentclass
Date: Sun, 5 Jul 2009 12:52:32 +0100	[thread overview]
Message-ID: <ab777dfe0907050452h5e8c6e3ep539843847768eaca@mail.gmail.com> (raw)
In-Reply-To: <14503.1246765215@gamaville.dokosmarshall.org>

Hi Nicholas,

On Sun, Jul 5, 2009 at 4:40 AM, Nick Dokos<nicholas.dokos@hp.com> wrote:
> Spike Spiegel <fsmlab@gmail.com> wrote:
>
>> ...
>> - I also need to include an image in the titlepage but I don't see any
>> way to override \maketitle other than maybe renewcommand'ing it, which
>> I tried with #+LaTeX_HEADER, but kept getting errors, altho that might
>> have been me. While poking around I noticed
>> org-export-latex-title-command in org-latex.el but I'm unsure how I'd
>> use that to achieve my goal.
>>
>
> This can be done using beamer's \titlegraphic command. Add
>
> #+LaTeX_HEADER: \titlegraphic{\includegraphics{foo.png}}
>

Both answers spot on, thanks, with just a minor problem: adding
\titlegraphic won't make the spacing between \title \author \data as
produced by \maketitle shrink so the entire slide is pretty much used
up and the image doesn't fit in. Is there a way to override that?

Wrt your reply in pvt to my other question, sorry if I wasn't clear.
Your suggestion of using \includegraphics straight into the heading
works just fine, my issue is that I was trying to do it the org way
and use a link (as in C-u C-c C-l) which would have then requried a
#+ATTR_LaTeX header to pass in the width parameter.

I did some more work last night and came across another issues:
- #BEGIN_VERBATIM won't work because to use the \begin{verbatim}
environment the \being{frame} requires [fragile]

Also, given a variable like org-export-latex-image-default-option, is
there any way to override it per file or per document class?

Last thing, if you're gonna use latex commands requiring paths to
files, how do you insert the path? using C-u C-l isn't really an
option as that will add a link and not just the path to the file so
then you have to delete the [[ ]].

thanks again for all the help

-- 
"Behind every great man there's a great backpack" - B.

  reply	other threads:[~2009-07-05 11:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fsmlab@gmail.com>
2009-07-04 23:31 ` questions about exporting to latex using beamer documentclass Spike Spiegel
2009-07-05  1:34   ` Nick Dokos
2009-07-05  3:40   ` Nick Dokos
2009-07-05 11:52     ` Spike Spiegel [this message]
2009-07-05 15:24       ` Nick Dokos
2009-07-05 15:38       ` Nick Dokos
2009-07-05 16:40       ` Nick Dokos
2009-07-06 16:24         ` Carsten Dominik
2009-07-05 21:25   ` Russell Adams

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=ab777dfe0907050452h5e8c6e3ep539843847768eaca@mail.gmail.com \
    --to=fsmlab@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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.