From: Bernd Weiss <bernd.weiss@uni-koeln.de>
To: emacs-orgmode@gnu.org
Subject: Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs
Date: Tue, 22 Mar 2011 11:08:58 -0400 [thread overview]
Message-ID: <4D88BB8A.50901@uni-koeln.de> (raw)
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.
next reply other threads:[~2011-03-22 15:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-22 15:08 Bernd Weiss [this message]
2011-03-24 9:16 ` Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs Eric S Fraga
2011-03-24 10:34 ` Bernd Weiss
2011-03-24 10:57 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D88BB8A.50901@uni-koeln.de \
--to=bernd.weiss@uni-koeln.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.