From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: latex export and beamer columns
Date: Sat, 21 Nov 2009 14:34:18 +0100 [thread overview]
Message-ID: <3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com> (raw)
In-Reply-To: <876394m49f.wl%ucecesf@ucl.ac.uk>
Hi Eric,
this looks very nice! I just tried beamer for the first time,
this is very simple now. Maybe I can drop powerpoint, at least
for some stuff.
I think we need a good beamer tutorial on Worg, including this
column stuff, and some text about image treatment.
Any volunteers? Anything missing in Org that we should implement to
support this better?
- Carsten
On Nov 21, 2009, at 1:49 PM, Eric S Fraga wrote:
> Recently, in September, there was a discussion about exporting org
> files to latex using the beamer class and generating slides with
> multiple columns:
>
> http://article.gmane.org/gmane.emacs.orgmode/17546
>
> No solution was presented at that time but I think I've managed to
> create one that is quite reasonable. I define a beamer entry in
> org-export-latex-classes which has the following definitions for the
> different headings in an org-mode file:
>
>
> --8<---------------cut here---------------start------------->8---
> ("\\section{%s}" . "\\section*{%s}")
> ("\\begin{frame}\\frametitle{%s}" "\\end{frame}"
> "\\begin{frame}\\frametitle{%s}" "\\end{frame}")
> ("\\begin{columns} \% %s" "\\end{columns}"
> "\\begin{columns} \% %s" "\\end{columns}")
> ("\\begin{column}{%s\\textwidth}" "\\end{column}"
> "\\begin{column}{%s\\textwidth}" "\\end{column}")
> --8<---------------cut here---------------end--------------->8---
>
>
> Then, if I have a 3rd level heading (whose actual text is ignored),
> multiple columns mode is entered and the level 4 headings indicate the
> widths (relative to \textwidth although obviously one could generalise
> this) of each subsequent column.
>
> *Note*: for this to work, you have to specify H:4 in the document
> OPTIONS or else the 4th level headings are turned into items in an
> itemized list.
>
> So, for instance, this will generate a slide with two columns of text
> (noting that I use odd levels only for my headings):
>
>
> --8<---------------cut here---------------start------------->8---
> # -*- coding: utf-8; -*-
> #+TITLE: Beamer column test
> #+AUTHOR: Eric
> #+OPTIONS: H:4 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
> #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-
> toc
> #+LaTeX_CLASS: beamer
>
> * Main heading
> *** An interesting slide
> ***** columns (this text is ignored)
> ******* 0.3
> - Some text on the left of the slide
> - make sure we have at least two bullet points
> - this is a narrow column
> ******* 0.7
> - text on the right side of the slide
> - and more
> - and even more
> - and this is a much wider column
> --8<---------------cut here---------------end--------------->8---
>
>
> I can now create the slides for presentations and lectures completely
> within org-mode so I'm a very happy camper!
>
> eric
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2009-11-21 13:34 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-21 12:49 latex export and beamer columns Eric S Fraga
2009-11-21 13:34 ` Carsten Dominik [this message]
2009-11-22 12:12 ` Eric S Fraga
2009-11-22 15:15 ` Eric S Fraga
2009-11-22 15:29 ` Matt Lundin
2009-11-22 19:31 ` Eric S Fraga
2009-11-23 13:55 ` Carsten Dominik
2009-11-23 22:15 ` Eric S Fraga
2009-11-24 0:02 ` Daniel Martins
2009-11-24 6:55 ` Carsten Dominik
2009-11-24 8:36 ` Eric S Fraga
2009-11-24 8:49 ` Eric S Fraga
2009-11-24 8:59 ` Carsten Dominik
2009-11-24 18:02 ` Eric S Fraga
2009-11-25 6:28 ` Carsten Dominik
2009-11-25 9:27 ` Eric S Fraga
2009-11-25 18:03 ` Eric S Fraga
2009-11-25 23:25 ` Carsten Dominik
2009-11-26 8:16 ` Eric S Fraga
2009-11-26 9:05 ` Carsten Dominik
2009-11-26 10:33 ` Eric S Fraga
2009-11-23 14:53 ` Sébastien Vauban
2009-11-21 16:33 ` Thomas S. Dye
2009-11-22 12:00 ` Eric S Fraga
2009-11-26 1:52 ` Łukasz Stelmach
2009-11-26 18:25 ` Eric S Fraga
2009-11-26 19:54 ` Darlan Cavalcante Moreira
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).