#+TITLE: Writing Beamer presentations in org-mode #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2010-03-30 Tue #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \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 #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+startup: oddeven #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+latex_header: \mode{\usetheme{Madrid}} #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %20ITEM %13BEAMER_env(Env) %6BEAMER_envargs(Args) %4BEAMER_col(Col) %7BEAMER_extra(Extra) * Introduction ** Overview - org-mode template - beamer structure - beamer settings * Methodology ** A simple slide This slide consists of some text with a number of bullet points: - the first, very @important@, point! - the previous point shows the use of the special markup which translates to the Beamer specific /alert/ command for highlighting text. The above list could be numbered or any other type of list and may include sub-lists. ** A more complex slide This slide illustrates the use of Beamer blocks. The following text, with its own headline, is displayed in a block: *** Org mode increases productivity :B_theorem: :PROPERTIES: :BEAMER_env: theorem :END: - org mode means not having to remember \LaTeX commands. - it is based on ascii text which is inherently portable. - Emacs! \hfill \(\qed\) ** Two columns *** A block :B_ignoreheading:BMCOL: :PROPERTIES: :BEAMER_env: ignoreheading :BEAMER_col: 0.4 :END: - this slide consists of two columns - the first (left) column has no heading and consists of text - the second (right) column has an image and is enclosed in an @example@ block *** A screenshot :BMCOL:B_example: :PROPERTIES: :BEAMER_col: 0.6 :BEAMER_env: example :END: #+ATTR_LATEX: width=\textwidth [[file:../../images/org-beamer/a-simple-slide.png]] ** Babel :PROPERTIES: :BEAMER_envargs: [t] :END: *** Python code :BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.45 :BEAMER_env: block :END: #+srcname: pythonexample #+begin_src python :results output :exports both def f(a): return a*a for i in range(3): print f(i) #+end_src *** The output :BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.4 :BEAMER_env: block :BEAMER_envargs: <2-> :END: #+results: pythonexample : 0 : 1 : 4 * Conclusions ** Summary - org is an incredible tool for time management - @but@ it is also excellent for writing and for preparing presentations - Beamer is a very powerful \LaTeX{} package for presentations - the combination is unbeatable!