[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] questions about exporting to latex using beamer documentc

From: Spike Spiegel
Subject: Re: [Orgmode] questions about exporting to latex using beamer documentclass
Date: Sun, 5 Jul 2009 12:52:32 +0100

Hi Nicholas,

On Sun, Jul 5, 2009 at 4:40 AM, Nick Dokos<address@hidden> wrote:
> Spike Spiegel <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]