[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: New beamer support
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: New beamer support |
Date: |
Wed, 06 Jan 2010 14:03:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi Eric, Christian, Carsten and all,
Eric S Fraga wrote:
> At Wed, 06 Jan 2010 10:46:45 +0100, Sébastien Vauban wrote:
>>
>> The few things I'm tackling right now are:
>>
>> - How to get a TOC with a frame title, without having to add it explicitly?
>
> I think you need to add it explicitly with \tableofcontents? In beamer, I
> simply typically have
>
> \begin{frame}<beamer>
> \frametitle{Table of contents}
> \tableofcontents
> \end{frame}
I guess I wasn't clear...
If I use the option `toc' for the export:
--8<---------------cut here---------------start------------->8---
#+OPTIONS: toc:t
--8<---------------cut here---------------end--------------->8---
then I get a slide with the table of contents. Automatically. The only
"criticism" I did is that there was no title to the generated frame.
Hence, the workaround was setting the `toc' option to `nil' and adding such a
code by myself:
--8<---------------cut here---------------start------------->8---
#+BEAMER: \frame{\frametitle{Outline}\tableofcontents}
--8<---------------cut here---------------end--------------->8---
But better (IMHO) would be that such a code gets inserted automatically (with
a frame title set, for example, to `Outline') when the `toc' export option is
set to `t', and when we're in a beamer class.
Is it better expressed?
>> - How to get the TOC repeated when changing of section, with the new item
>> highlighted? See my manual essay ;-)
>
> Again, beamer supports this easily so I would suggest simply adding some
> direct latex code at the start of your org file. The latex code I use is:
>
> \AtBeginSection[]
> {
> \begin{frame}
> \frametitle{Topic}
> \tableofcontents[currentsection]
> \end{frame}
> }
>
> You could simply put this in one line with #+latex_header: as in (untested):
>
> #+latex_header: \AtBeginSection[]{ \begin{frame} \frametitle{Topic}
> \tableofcontents[currentsection] \end{frame}}
Better is:
--8<---------------cut here---------------start------------->8---
#+BEGIN_BEAMER
\AtBeginSection[] % Do nothing for \section*
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
#+END_BEAMER
--8<---------------cut here---------------end--------------->8---
Thanks Eric and Christian for your input on this!
Best regards,
Seb
--
Sébastien Vauban
- Re: [Orgmode] Re: New beamer support, (continued)
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/06
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/06
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/06
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/07
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/07
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/07
[Orgmode] Re: New beamer support, Christian Lasarczyk, 2010/01/06
Re: [Orgmode] New beamer support, Eric S Fraga, 2010/01/06
- [Orgmode] Re: New beamer support,
Sébastien Vauban <=
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/06
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/06
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/06
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/07
- Re: [Orgmode] Re: New beamer support, Darlan Cavalcante Moreira, 2010/01/07
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/07
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/07
- Re: [Orgmode] Re: New beamer support, Darlan Cavalcante Moreira, 2010/01/07
- Re: [Orgmode] Re: New beamer support, Carsten Dominik, 2010/01/07
- [Orgmode] Re: New beamer support, Sébastien Vauban, 2010/01/07