|
From: | Thomas S. Dye |
Subject: | Re: Export to LaTeX Beamer. [WAS: Re: [Orgmode] Re: LaTeX export bugs?] |
Date: | Sun, 20 Sep 2009 11:16:15 -1000 |
On Sep 19, 2009, at 8:03 PM, Alan E. Davis wrote: Hello: Aloha Alan, Here is a somewhat more elaborate set-up. In customize org-export-latex-classes (or add to appropriate place in .emacs): \documentclass{beamer} \mode<{{{beamermode}}}> { \usetheme{{{{beamertheme}}}} \usecolortheme{{{{beamercolortheme}}}} } \usepackage[english]{babel} \usepackage[latin1]{inputenc} \usepackage{times} \usepackage[T1]{fontenc} \institute{{{{beamerinstitute}}}} \subject{{{{beamersubject}}}} The macros here let me specify things that I like to change on a per-file basis. So, in my org file there is this: #+MACRO: BEAMERMODE presentation #+MACRO: BEAMERTHEME Malmoe #+MACRO: BEAMERCOLORTHEME tsdye #+MACRO: BEAMERSUBJECT Evolutionary archaeology #+MACRO: BEAMERINSTITUTE T. S. Dye \& Colleagues \\ B. P. Bishop Museum I typically use sections and subsections in my talks (and the Malmoe theme displays them nicely within beamer). So, I have this in customize org-export-latex-classes: INS DEL Choice: Value Menu Heading: numbered: \section{%s} unnumbered): \section{%s} INS DEL Choice: Value Menu Heading: numbered: \subsection{%s} unnumbered): \subsection{%s} INS DEL Choice: Value Menu Environment: Opening (numbered) : \begin{frame}\frametitle{%s} Closing (numbered) : \end{frame} Opening (unnumbered): \begin{frame}\frametitle{%s} Closing (unnumbered): \end{frame} I have the standard value for org-export-latex-low-levels in customize: Org Export Latex Low Levels: Hide Value Value Menu Convert as itemized list And then this in my .org file: #+OPTIONS: H:3 #+OPTIONS: toc:nil A typical slide show might look like this, in part: * Introduction ** Evolution *** Four Components of Evolutionary Processes **** Inheritance = Social learning **** {{{alert(Mutation)}}} = {{{alert(Innovation)}}} **** Selection = Function **** Drift = Style I use beamer's \alert{} command a lot, and often have figures in my slide shows, so I defined two convenience macros: #+MACRO: ALERT \alert{$1} #+MACRO: FIGURE \begin{centering}\includegraphics[$2]{$1}\par\end{centering} And use FIGURE like this: *** Determining Fish Size from Vertebrae {{{figure(r/bm_verts,width=12cm)}}} and ALERT like this: **** The probability a bone was {{{alert(not)}}} recovered is: #+BEGIN_LaTeX $ 1 - \hat{r} $ #+END_LaTeX I haven't found a way to export columns yet. If I could do this, then I'd be able to generate most of my beamer presentations completely from org-mode. As it is, I'm enjoying substantial productivity gains with this set-up. HTH, Tom |
[Prev in Thread] | Current Thread | [Next in Thread] |