emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs
@ 2011-03-22 15:08 Bernd Weiss
  2011-03-24  9:16 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Bernd Weiss @ 2011-03-22 15:08 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-24 10:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 15:08 Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs Bernd Weiss
2011-03-24  9:16 ` Eric S Fraga
2011-03-24 10:34   ` Bernd Weiss
2011-03-24 10:57     ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).