From: gmx <fredstev@gmx.fr>
To: emacs-orgmode@gnu.org
Subject: Beamer with org-mode
Date: Mon, 10 Sep 2018 17:09:54 +0200 [thread overview]
Message-ID: <a183164d-86e7-9d21-8295-571804305d6c@gmx.fr> (raw)
In-Reply-To: <mailman.67.1536508819.25356.emacs-orgmode@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]
Hello,
I have completed .emacs with the indications found here
(http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html),
and I modified it :
;; Utilisation de la classe beamer
;; #+LaTeX_CLASS: beamer in org files
(unless (boundp 'org-export-latex-classes)
(setq org-export-latex-classes nil))
(add-to-list 'org-export-latex-classes
;; beamer class, for presentations
'("beamer"
"\\documentclass[11pt,french]{beamer}\n
\\mode<{{{beamermode}}}>\n
\\setbeameroption{show notes}
\\usepackage[utf8]{inputenc}\n
\\usepackage[T1]{fontenc}\n
\\\usepackage{babel}
\\\usetheme{keynote-gradient}
\\\usepackage{beamerthemesplit}
\\\usepackage{csquotes}
\\usepackage{hyperref}\n
\\usepackage{color}
\\usepackage{listings}
\\lstset{numbers=none,language=[ISO]C++,tabsize=4,
frame=single,
basicstyle=\\small,
showspaces=false,showstringspaces=false,
showtabs=false,
keywordstyle=\\color{blue}\\bfseries,
commentstyle=\\color{red},
}\n
\\usepackage{verbatim}\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}")))
The modifications concerned the French language and the use of a
personal theme (adapted from an original model), stored in the following
folder: home/MySelf/texmf/tex.
Here is an example of a recent work (preambule only) :
#+TITLE: title
#+DATE: today
#+AUTHOR: myself
#+STARTUP: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
#+BEAMER_FRAME_LEVEL: 2
#+OPTIONS: toc:nil
And the frames...
When I work with Texstudio (my theme is called in this form:
\usepackage{keynote-gradient}*), no problem: the theme is perfectly
recognized. But not with org-mode.
Please, how can I get my theme recognized?
Thank you very much for your advice,
Frédéric
* In org-mode, \usetheme{keynote-gradient}ou
\usepackage{keynote-gradient}have the same effects : nothing.
[-- Attachment #2: Type: text/html, Size: 3314 bytes --]
next parent reply other threads:[~2018-09-10 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.67.1536508819.25356.emacs-orgmode@gnu.org>
2018-09-10 15:09 ` gmx [this message]
2018-09-11 8:13 ` Beamer with org-mode 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=a183164d-86e7-9d21-8295-571804305d6c@gmx.fr \
--to=fredstev@gmx.fr \
--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.