This page was edited more than a year ago (2012-06-07), content might not be relevant or accurate anymore.

Beamer presentation with org-mode

Just open buffer with org-mode and compile it with C-c C-e d or C-c C-e p. This is header for presentastion (if you don't need sections BEAMER_FRAME_LEVEL to 1):

#+TITLE:     Presentation title
#+AUTHOR:    Your Name
#+DATE:      Date
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  sk
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:nil 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: 
#+XSLT: 
#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
#+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)
#+BEAMER_FRAME_LEVEL: 2
#+latex_header: \mode<beamer>{\usetheme{split}}

* Section
** Frame

Some snippets:

#+begin_center
#+ATTR_LaTeX: scale=0.5
[[./path/to/image]]
#+end_center

\[y = s\left(\overbrace{\underbrace{\sum_{i=1}^{n}w_{i}x_{i}}_{\xi~(1. r\acute{a}d)}+\sum_{\substack{i,j=1\\
(i\textless j)}}^{n} w_{ij} x_{i}x_{j}}^{\xi~(2. r\acute{a}d)}+...-\vartheta\right)\]

\[\underbrace{\overbrace{\underbrace{w_{1}x_{1}+w_{2}x_{2}+w_{3}x_{3}}_{1. r\acute{a}d}+w_{12}x_{1}x_{2}+w_{23}x_{2}x_{3}+w_{13}x_{1}x_{3}}^{2. r\acute{a}d}+w_{123}x_{1}x_{2}x_{3}}_{3. r\acute{a}d} \geq \vartheta\]

#+ATTR_LaTeX: tabular align=|c||c|r|c|
| $x_{3,2,1}$ | y | nerovnica                                         |             |
|         000 | 0 | -\vartheta < 0                                    | \vartheta=1 |
|         001 | 1 | w_1-\vartheta \geq 0                              | w_1=1       |
|         010 | 1 | w_2-\vartheta \geq 0                              | w_2=1       |
|         011 | 0 | w_1+w_2+w_12-\vartheta < 0                        | w_12=-2     |
|         100 | 1 | w_3-\vartheta \geq 0                              | w_3=1       |
|         101 | 0 | w_1+w_3+w_13-\vartheta < 0                        | w_13=-2     |
|         110 | 0 | w_2+w_3+w_23-\vartheta < 0                        | w_23=-2     |
|         111 | 1 | w_1+w_2+w_3+w_12+w_13+w_23+w_123-\vartheta \geq 0 | w_123=4     |

:PROPERTIES:
#:BEAMER_col: 0.45
BEAMER_env: block
:END:
#+LATEX: {\footnotesize
#+srcname: octaveexample
#+begin_src octave :results output :exports both
P = [ 0 0 0 0 1 1 1 1; 0 0 1 1 0 0 1 1; 0 1 0 1 0 1 0 1];
T = [ 0 1 1 0 1 0 0 1];
#+end_src
#+LATEX: }
 
Back to top
howto/beamer_presentation_with_org-mode.txt · Last modified: 2012/06/07 11:48 by disorder
 
 
disorder's homepage Valid CSS Valid XHTML 1.0 Recent changes RSS feed