Discussion:
[O] Frame subtitles with org-e-beamer
Suvayu Ali
2012-07-27 01:30:01 UTC
Permalink
Hi Nicolas and others,

In the old beamer backend it was possible to provide a subtitle by
having a headline like this:

* Frame title \\ frame subtitle

In the new exporter this feature seems to be missing. Can this be added?

As an ECM, you can subtree export the attached org file. The old
exporter would export the text following the \\ be exported inside a
\framesubtitle{..}. I guess the new exporter can just put the text
inside a second curly braces. So the exported LaTeX for the above
headline could be:

\begin{frame}{Frame title}{frame subtitle}
\end{frame}

Thanks a lot,
--
Suvayu

Open source is the future. It sets us free.
Suvayu Ali
2012-07-27 01:33:27 UTC
Permalink
Oops! Forgot to attach the ECM. :-p
Post by Suvayu Ali
Hi Nicolas and others,
In the old beamer backend it was possible to provide a subtitle by
* Frame title \\ frame subtitle
In the new exporter this feature seems to be missing. Can this be added?
As an ECM, you can subtree export the attached org file. The old
exporter would export the text following the \\ be exported inside a
\framesubtitle{..}. I guess the new exporter can just put the text
inside a second curly braces. So the exported LaTeX for the above
\begin{frame}{Frame title}{frame subtitle}
\end{frame}
Thanks a lot,
--
Suvayu
Open source is the future. It sets us free.
--
Suvayu

Open source is the future. It sets us free.
Nicolas Goaziou
2012-07-27 11:30:51 UTC
Permalink
Hello,
Post by Suvayu Ali
In the old beamer backend it was possible to provide a subtitle by
* Frame title \\ frame subtitle
In the new exporter this feature seems to be missing. Can this be added?
I didn't include this "feature" because I wasn't comfortable with
introducing a new syntax specific to one back-end only.

It's just a matter of doing:

--8<---------------cut here---------------start------------->8---
* Frame title

#+BEAMER: \framesubtitle{subtitle}
--8<---------------cut here---------------end--------------->8---

Otherwise, headlines could support a :BEAMER_SUBTITLE: property which
would just do that.

What do you think about it?


Regards,
--
Nicolas Goaziou
Suvayu Ali
2012-07-27 11:53:07 UTC
Permalink
Hi Nicolas,
Post by Nicolas Goaziou
Hello,
Post by Suvayu Ali
In the old beamer backend it was possible to provide a subtitle by
* Frame title \\ frame subtitle
In the new exporter this feature seems to be missing. Can this be added?
I didn't include this "feature" because I wasn't comfortable with
introducing a new syntax specific to one back-end only.
I think that is a fair argument.
Post by Nicolas Goaziou
--8<---------------cut here---------------start------------->8---
* Frame title
#+BEAMER: \framesubtitle{subtitle}
--8<---------------cut here---------------end--------------->8---
This is how I worked around recently. This has a downside though, it
doesn't let you easily use markup in the subtitle (in my case I wanted
to use =keyword=). Of course this can be resolved by putting in by hand.
Post by Nicolas Goaziou
Otherwise, headlines could support a :BEAMER_SUBTITLE: property which
would just do that.
Same goes here, but I would say the #+BEAMER: solution is better in
comparison. A subtitle is still part of the title, that means it
probably should be easily visible.

Given my above comment about visibility, one might then argue having a
#+BEAMER: line does not serve that purpose either when the headline is
folded. I'm not sure what is more important here, consistency between
backends[1] or readability/usability(?). It would be interesting to hear
what others think about this.

Hopefully I was clear.

Cheers,

Footnotes:

[1] IMO, an important reason for using org is backend agnostic markup.
--
Suvayu

Open source is the future. It sets us free.
Loading...