Beamer Example
Beamer Example
Beamer Example
Derek Feichtinger
Emacs version:
GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8)
of 2019-04-13
I I started this example based on the Worg hosted example by Eric S. Fraga
I Basic LATEX Beamer links
I An introduction to Beamer (German)
I great beamer reference card by Fabrice Niessen on GitHub.
I nice link for choosing a theme: beamer theme matrix
I nice example of beamer features (pure Latex)
I Presentations using Latex - the Beamer Class by Amber Smith.
Excellent introduction showing many beamer features.
1. Note
I an example of a note
This slide consists of some text with a number of bullet points:
I the first, very important, point!
I 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.
This slide illustrates the use of Beamer blocks. The following text, with its own
headline, is displayed in a block:
1. Org mode increases productivity
I org mode means not having to remember LATEXcommands.
I it is based on ascii text which is inherently portable.
I Emacs!
The size of the table font can be chosen by giving a #+LATEX: \small
command (or \tiny or \footnotesize)
A fullframe is a frame with an ignored slide title. frametitle is set to the empty
string
I A headline with an ignoreheading environment will only have its contents
displayed in the output. The heading text itself is ignored, and no heading bar is
shown.
I Contents are not inserted in any frame environment. It makes no
sense to use this as major element for a slide.
I ignoreheading is useful as a structural element in order to again place normal
text after a previous element (like a block or a column environment).
1. structureenv
I For highlighting text.
I To help the audience see the structure of your presentation.
I On this slide you should see that the text of the upper items is
differently typeset from the bottom item in the structureenv.
2. end of structureenv
I you need to use ignoreheading (like here) in order to then insert
some more normal text after the structureenv.
1. definition Contents of the definition
1. proof
I Suppose p were the largest prime number.
1. one
2. two
3. three
4. four
Use the [@N] syntax to start a numbered list at a certain value.
1. block A
4.1 five
4.2 six
4.3 seven
5. block B
7.1 eight
7.2 nine
7.3 ten
Use the allowframebreaks Beamer option.
(use-package python
:config (progn
;; load my own python helper functions
(load-file (concat dfeich/site-lisp "/my-pydoc-helper.el"))
(defun dfeich/python-keydefs ()
(define-key python-mode-map (kbd "<M-right>")
’python-indent-shift-right)
(define-key python-mode-map (kbd "<M-left>")
’python-indent-shift-left))
(add-hook ’python-mode-hook #’dfeich/python-keydefs)
The double @@ can be used to enclose active code. Here we use it to specify beamer code that
will highlight text by specifying an overlay.
A useful feature
For the first list we use an #+ATTR_BEAMER: :overlay +- specification.
It acts like \begin{itemize}[<+->]. So, it will cause the list items to appear one after the
other.
I item 1
I item 2
I item 3
For the second list we classify each line by angular brackets to explicitely define the order of
revealing each item.
I item 1
1. First Block
I this is visible from the beginning
2. Second Block
I and this one is revealed afterwards by using the BEAMER_act
keyword in the PROPERTIES section.
1. First Block
I this is visible from the beginning
2. Second Block
I this is initially invisible since we used
\setbeamercovered{invisible} for this frame
I then it is revealed again using the BEAMER_act keyword in the
PROPERTIES section.
1. First Block this is visible from the beginning. Note that we specified another
transparency compared to the previous slide.
2. Second Block Initial visibility defined by \setbeamercovered{transparent=30}.
3. Third Block And a third block
1. A left block
2. A right block
1. A text section
1. Octave code
A = [1 2 ; 3 4]
b = [1; 1];
x = A\b
2. The output
A =
1 2
3 4
x =
-1
1
I ease of composing slides fast and being able to use all the other Org
features
I though, it takes a bit of a learning curve and examples to copy from
SOME BACKUP SLIDES. The Appendix will not be listed in the table of contents.
Some backup info These details are not part of the main talk.