emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: johanna.may@th-koeln.de
Cc: emacs-orgmode@gnu.org
Subject: Re: Dual document export slides and lecture notes title slide issue
Date: Thu, 31 Jan 2019 12:08:55 +0100	[thread overview]
Message-ID: <878sz15bjs.fsf@gmail.com> (raw)
In-Reply-To: 6ea9b5cc-fd3b-75ea-a4ae-773f8e4b144a@th-koeln.de

[-- Attachment #1: Type: text/plain, Size: 3193 bytes --]

Hello Johanna, 

I am using scimax from John Kitchin [[https://github.com/jkitchin/scimax
]]and I recommend it to you warmly. 

In my /user/user.el,  here is what is about beamer : 

#+BEGIN_SRC lisp

(add-to-list 'org-latex-classes
             '("beamer-ahp-ul"
               "\\documentclass\[10pt,svgnames,fragile]\{beamer\}
                [NO-DEFAULT-PACKAGES]
                [PACKAGES]
                [NO-EXTRA]
\\theoremstyle{plain}% default
\\newtheorem{thm}{Theorem}[section]
\\newtheorem{theo}{Théorème}[section]
\\newtheorem{lem}[thm]{Lemma}
\\newtheorem{prop}[thm]{Proposition}
\\newtheorem*{cor}{Corollary}
\\theoremstyle{definition}
\\newtheorem{defi}{Definition}[section]
\\newtheorem{rema}[thm]{Remarque}
\\newtheorem{Conjecture}[theorem]{Conjecture}
\\newtheorem{exa}{Example}[section]
\\newtheorem{exem}{Exemple}[section]
\\\hypersetup{colorlinks,
citecolor=blue,
linkcolor=.,
menucolor=white,
filecolor=pink,   
anchorcolor=yellow
}
\\AtBeginSection\[\]\{\\begin\{frame\}<beamer>\\frametitle\{\}\\tableofcontents\[currentsection,hideothersubsections\]\\end\{frame\}\}
\\subtitle\{\}
\\institute\[Université de Lorraine\]\{Département de philosophie \\\\ Archives Henri Poincaré - UMR 7117 du CNRS \\\\ Université de Lorraine \\\\ 91 bd Libération, 54000 Nancy \\\\ France \}
\\titlegraphic\{\\includegraphics\[height=1cm\]\{ahp\}\\includegraphics\[height=1cm\]\{udl\}\\includegraphics\[height=1cm\]\{cnrs\}\}
\\usetheme\{CambridgeUS\}
\\usepackage\{beamer_udl_theme\}
\\setbeamertemplate\{navigation symbols\}{%
	%insertslidenavigationsymbol%
	%insertframenavigationsymbol%
	%insertsubsectionnavigationsymbol%
	%insertsectionnavigationsymbol%
	%insertdocnavigationsymbol%
	%insertbackfindforwardnavigationsymbol%
}
\\setbeamertemplate{theorems}[numbered]
"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

(require 'autoinsert)
(auto-insert-mode)  ;;; Adds hook to find-files-hook
    (setq auto-insert-directory "~/MEGA/org/my_org-templates/") ;;; Or use custom, *NOTE* Trailing slash important
(setq auto-insert-query nil) ;;; If you don't want to be prompted before insertion
(define-auto-insert "\.beamer-fr.org" "beamer-fr.org")

#+END_SRC

in   my  folder   ~/MEGA/org/my_org-templates/  there   is  the   file
beamer-fr.org:

#+BEGIN_SRC lisp
#+TITLE: 
#+DATE:
#+OPTIONS: H:2 toc:nil author:t
#+LATEX_CLASS: beamer-ahp-ul
#+LANGUAGE:fr



** 
:PROPERTIES:
 :BEAMER_opt: allowframebreaks,label=
:END:
bibliography:/home/joseph/MEGA/org/reforg.bib
bibliographystyle:apalike

#+END_SRC

I have  also defined a  theme that  corresponds to my  institution and
that                  is                   located                  in
/home/joseph/texmf/tex/latex/local/beamer_udl_theme.sty 

Now,  as  soon  as I  write  a  file  that  ends with  the  expression
"beamer-fr.org", it is  immediately with this template  and the export
beamer works smoothly.

I have nothing with notes, but I hope it helps. 

Best wishes, 

Jo. 

[-- Attachment #2.1: Type: text/html, Size: 5672 bytes --]

  reply	other threads:[~2019-01-31 11:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31  8:38 Dual document export slides and lecture notes title slide issue johanna.may
2019-01-31 11:08 ` Joseph Vidal-Rosset [this message]
2019-01-31 11:14   ` Joseph Vidal-Rosset

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878sz15bjs.fsf@gmail.com \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=johanna.may@th-koeln.de \
    /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 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).