emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Beamer confusion: environments are ignored


From: Sebastien Vauban
Subject: Re: [O] Beamer confusion: environments are ignored
Date: Thu, 23 Feb 2012 09:36:36 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.92 (windows-nt)

Hi James,

James Harkins wrote:
> Still having Beamer problems. C-c C-e p is making the PDF at the end,
> but it's ignoring structural tags except for lists.
>
> I've pasted a simple example under my name. In the resulting .tex
> file, the code for both frames is identical, except for "sec" labels.
> The second frame contains Beamer environment properties while the
> first frame does not, so it looks like the block environments are not
> doing anything.
>
> For that matter, I just checked the tex file generated by Carsten's
> demo presentation in the org manual, and there's no evidence of the
> blocks at all. The only TeX environments that appear with \begin are
> {document}, {frame} and {itemize} -- but Carsten's demo uses:
>
>     :PROPERTIES:
>     :BEAMER_env: block
>     :BEAMER_envargs: C[t]
>     :BEAMER_col: 0.5
>     :END:
>
> ...
>
>     :PROPERTIES:
>     :BEAMER_col: 0.5
>     :BEAMER_env: block
>     :BEAMER_envargs: <2->
>     :END:
>
> ...
>
>     :PROPERTIES:
>     :BEAMER_env: block
>     :END:
>
> ... and a :B_note: tag, which claims it "will be formatted as a beamer
> note" but it isn't.
>
> For my own short file, I would have assumed that I did something
> wrong, but that's less plausible for example code from the manual. So
> I suppose it must be an installation or configuration problem.
>
> Ideas?
>
> Tonight's experimentation is driven by the simple use case I mentioned
> before -- centering a paragraph (and eventually putting some extra
> space around it, but I can handle that later). E.g.,
>
> - A bullet heading within the frame
>   A free paragraph
>
>                 Centered text
>
> - Another bullet
>
> Am I on the right track by looking at blocks? Could somebody give me a
> quick example of how to do this, and I'll try to extrapolate to other
> uses?

For horizontal centering, a workaround (or simply a solution) can be something
like:

#+LaTeX: \begin{center}
#+ATTR_LaTeX: width=0.75\linewidth
[[~/Pictures/Dock.jpg]]
#+LaTeX: \end{center}

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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