emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs


From: Bernd Weiss
Subject: [O] Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs
Date: Tue, 22 Mar 2011 11:08:58 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Dear all,

I am preparing a Beamer presentation and I am having some trouble with side effects (?) due to my attempt to customize the LaTeX-export. My minimum example can be found below.

The default LaTeX-export does not recognise the '\institute'-option (I mean, as far as I know). For that reason, I run "(add-to-list 'org-export-latex-classes ...)". Unfortunately, the export-function does no longer recognice ":BEAMER_envargs: [plain]" (or ":BEAMER_envargs: [shrink=5]")[1].

Thanks,

Bernd

[1] Which is obviously due to "\\begin{frame}[fragile]\\frametitle{%s} ...".


#+begin_src emacs-lisp :results silent :exports none
(add-to-list 'org-export-latex-classes
  ;; beamer class, for presentations
  '("beamer"
     "\\documentclass[11pt]{beamer}\n
           [NO-DEFAULT-PACKAGES]
           [EXTRA]
           \\mode<{{{beamermode}}}>\n
      \\usetheme{{{{beamertheme}}}}\n
      \\institute{{{{beamerinstitute}}}}\n
       \\subject{{{{beamersubject}}}}\n"

     ("\\section{%s}" . "\\section*{%s}")

     ("\\begin{frame}[fragile]\\frametitle{%s}"
       "\\end{frame}"
       "\\begin{frame}[fragile]\\frametitle{%s}"
       "\\end{frame}")))
#+end_src


#+LaTeX_CLASS: beamer
#+MACRO: BEAMERMODE presentation
#+MACRO: BEAMERTHEME Madrid
#+MACRO: BEAMERINSTITUTE Research Institute for ???
#+TITLE: xxxxxxxx
#+AUTHOR: Arthur Mueller
#+DATE: March, 28th 2011


#+BEAMER_FRAME_LEVEL: 2
#+latex_header: \mode<beamer>{\usetheme{Madrid}}


* Introduction
** A simple slide
:PROPERTIES:
:BEAMER_env: frame
:BEAMER_envargs: [plain]
:END:
   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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]