1. My first Beamer slide using org mode
Dasapta Erwin Irawan
2015-08-08
2. Step 1: Set up your LATEXsystem
Asumming you already have LATEXsystem properly installed:
TexLive for Linux user
MacTeX for Mac user
MikTeX for Widows user
Define “Beamer” class, following
https://github.com/fniessen/refcard-org-beamer, by adding
the following lines to your ˜/.emacs file.
3. Step 1: Defining “Beamer” class
(eval-after-load "ox-latex"
;; update the list of LaTeX classes and associated header
;; and structure
’(add-to-list ’org-latex-classes
‘("beamer"
,(concat "documentclass[presentation]{be
"[DEFAULT-PACKAGES]"
"[PACKAGES]"
"[EXTRA]n")
("section{%s}" . "section*{%s}")
("subsection{%s}" . "subsection*{%s}")
("subsubsection{%s}" . "subsubsection*
4. Step 2: Setting up your header
1. Header is a block of code typed before your actual code of
files.
2. Just like YAML in R.
3. Suppose you want a Beamer slides with title, your name, date,
and table of content (toc) list two level headings, your header
would look something like this:
#+TITLE: your title
#+AUTHOR: your name
#+DATE: the date
#+LATEX_CLASS: beamer
#+OPTIONS: H:2 toc:t
5. Step 3: Begin typing your slide
You can make a frame (org mode term for slide) by typing the
“* your heading”.
You can use char “+” or “-” for your bullet and “tab” key to
form structure.
6. Step 4: Saving and producing pdf
You can save your work using C-x C-s (C = Ctrl key)
Produce a pdf using C-c C-e, then the printing/exporting
menu pops up, just see what you want to do, generally by
pressing “p” you would get your beamer pdf.
7. Step 5: Never stop learning from others
In org mode and any other markup language, never stop
practising and learning from others.
There are many good website offering short tutorial. One of
them should answer your problem.