In the previous article, I talked about writing technical documentation using Emacs. In this article let’s explore how to use Emacs for presentation.
Writing Technical Documentation with Emacs
Writing technical documentation using Emacs Org mode.
In Emacs, there are multiple packages available for doing presentations.
Let’s begin by setting up the document template. Press
C-c C-e and you should see the following screen.
Press # and select the
With the headers generated, add some content for the presentation. E.g.
#+options: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline
#+options: author:t broken-links:nil c:nil creator:nil
#+options: d:(not "LOGBOOK") date:t e:t email:nil f:t inline:t
#+options: num:nil p:nil pri:nil prop:nil stat:t tags:t tasks:t tex:t
#+options: timestamp:t title:t toc:t todo:t |:t
#+date: <2021-04-24 Sat>
#+creator: Emacs 27.1 (Org mode 9.3)
* Simple Slide
** A slide using Emacs
** Additional bullet point 1
** Additional bullet point 2
** Additional bullet point 3
** Additional bullet point 4
* A More Complex Slide
** 1st point
*** Sub level
*** Another level
** 2nd point
*** Sub level
*** Another level
** 3nd point
*** org mode means not having to remember \LaTeX commands.
*** Emacs is superb!
* Slide with Image
** The beauty of nature
** A walk in the jungle
#+ATTR_HTML: :width 600 :height 400
* Slide with Code Block
#+begin_src python :results output
print("Hello from alpha2phi")
For the image, change it to a valid URL, press
M-x org-toggle-inline-images (C-C C-x C-v)and the image should be displayed inline. The image display size can be controlled using the HTML attributes.
org-tree-slide handles each tree in an org buffer as a slide by simple narrowing.
M-x org-tree-slide-mode and you should see the below screen.
C-> to navigate back and forth between the slides.
I can also leverage
org-babel feature to insert code snippet and run it (
C-c C-c) during the presentation.
I can also use the
org-tree-slide-play-with-timer function to start the slideshow with a count-down timer.
org-tree-slide comes with few profiles for presentations. You can experiment to see which one fits your need.
Using org-reveal, you can create good-looking HTML presentations.
org-rev… and you can find available options for
Alternatively, you can type
C-c C-e. The
reveal.js option is available once you installed
One advantage of using it is that you can host the generated HTML presentations as a static website, e.g. using Github pages.
E.g., you can also browse the presentation through Github pages here.
There are many options that you can configure. Do refer to the project site for further details.
org-present is an extremely minimalist presentation tool. It layouts your presentation with each slide under a top-level header, start the minor mode with
org-present, and page through each slide with left/right keys.
M-x org-beamer-export-to-pdf to export the slides to PDF. You can refer to the Beamer tutorial on how to format the output.
The Elisp configuration that I used is listed below. The dotfiles can be found in this repository.