template de présentation beamer

This commit is contained in:
gwen 2017-05-19 11:17:58 +02:00 committed by Benjamin Bohard
parent 90a02579ac
commit dcfe04bd9b
2 changed files with 143 additions and 6 deletions

View File

@ -31,8 +31,7 @@ ${POSTSCRIPT_GZ}: %.ps.gz: %.ps
${PDF}: %.pdf: %.tex ${PDF}: %.pdf: %.tex
rm -f $*.out $*.log $*.aux rm -f $*.out $*.log $*.aux
pdflatex $< xelatex $<
pdflatex $<
rm -f $*.out $*.log $*.aux rm -f $*.out $*.log $*.aux
%: %.tex %.dvi %: %.tex %.dvi

View File

@ -1,10 +1,45 @@
\documentclass{beamer} \documentclass[ignorenonframetext]{beamer}
\usepackage{graphicx} \usepackage{graphicx}
\usetheme{Warsaw} % Internal links only wors with second screen on the right
\usepackage[french]{babel} % \setbeameroption{show notes on second screen}
\usepackage[utf8,utf8x]{inputenc} \usetheme{Madrid}
\usecolortheme{dolphin}
% gets rid of bottom navigation bars
\setbeamertemplate{footline}[frame number]{}
% gets rid of navigation symbols
\setbeamertemplate{navigation symbols}{}
%\usetheme{Warsaw}
%\usepackage[french]{babel}
%\usepackage[utf8,utf8x]{inputenc}
%\usepackage[T1]{fontenc} %\usepackage[T1]{fontenc}
% Replace babel
\usepackage{polyglossia}
\setdefaultlanguage{french}
%% Require XeTeX
\usepackage{xltxtra}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{listings}
\lstnewenvironment{pythoncode}[1][]
{\lstset{language=Python,
basicstyle=\ttfamily\footnotesize,
frame=shadowbox,
frameround=tttt,
rulecolor=\color{black},
rulesepcolor=\color{gray},
#1}
}{}
\logo{ \logo{
\hspace{120pt} \hspace{120pt}
\includegraphics[width=2cm]{img/cesi.jpg}~ \includegraphics[width=2cm]{img/cesi.jpg}~
@ -29,10 +64,36 @@
\subject{Talks} \subject{Talks}
\AtBeginSection[] % Add a TOC with current section highlighted
{
\begin{frame}<beamer>
\frametitle{Plan}
\tableofcontents[currentsection]
\end{frame}
}
\usepackage{hyperref}
\usepackage{hyperxmp}
\hypersetup{%
colorlinks=true,linkcolor=blue,urlcolor=blue,pdfpagemode=UseNone,
pdftitle={EAD3},
pdfsubject={Présentation technique d'EWT},
pdfauthor={EOLE},
pdfkeywords={EOLE, J-EOLE, distribution, GNU, Linux, Éducation,
nationale, Ubuntu},
pdflang={fr-FR},
pdfcopyright={Copyright © 2017 Équipe EOLE <eole@ac-dijon.fr>}, % Require XeTeX
pdflicenseurl={http://creativecommons.org/licenses/by-nc-sa/2.0/fr/},
}
\parskip=0.8em
\begin{document} \begin{document}
\frame{\titlepage} \frame{\titlepage}
\section{Introduction}
\begin{frame} \begin{frame}
\frametitle{Avant propos} \frametitle{Avant propos}
@ -49,6 +110,18 @@
\end{itemize} \end{itemize}
\end{frame} \end{frame}
\begin{frame}[fragile]{demo}
\begin{beamerboxesrounded}[shadow]{A listing}
\begin{lstlisting}
foo
bar
baz
print "hello world"
\end{lstlisting}
\end{beamerboxesrounded}
\end{frame}
\begin{frame} \begin{frame}
\frametitle{L'art de programmer} \frametitle{L'art de programmer}
@ -68,6 +141,7 @@
\end{itemize} \end{itemize}
\end{frame} \end{frame}
\section{algorithmique}
\begin{frame} \begin{frame}
\frametitle{Les algorithmes} \frametitle{Les algorithmes}
\begin{itemize} \begin{itemize}
@ -78,5 +152,69 @@
\end{frame} \end{frame}
% Not present in TOC
\appendix
\begin{frame}[label=thanks]{Remerciements}
Je remercie la communauté du logiciel libre pour tous ces
merveilleux logiciels sans lesquels si peu de choses existeraient.
Cette présentation a été réalisée grâce aux logiciels libres
suivants~:
\begin{itemize}
\item Le système de composition \LaTeX{}
\href{https://fr.wikipedia.org/wiki/TeX_Live}{TeX Live}
\item L'éditeur de texte
\href{http://www.vim.org/}{Vim}
\item L'environnement graphique
\href{http://gnome.org/}{Gnome}
\item Le système d'exploitation
\href{https://debian.org/}{Debian}
\end{itemize}
\begin{center}
% Do not mess with graphics
\hypersetup{hidelinks}
\begin{tabular}{cccccc}
\href{http://www.gnu.org}{\includegraphics[height=1.3cm]{graphics/gnu-head.pdf}} &
\href{http://www.kernel.org}{\includegraphics[height=1.2cm]{graphics/tux.pdf}} &
\href{http://www.debian.org/}{\includegraphics[height=1cm]{graphics/debian.eps}} &
\href{https://fr.wikipedia.org/wiki/TeX_Live}{\includegraphics[height=1cm]{graphics/texlive.pdf}}
\end{tabular}
\end{center}
\end{frame}
\begin{frame}[label=license]{Licence}
Cette présentation est mise à disposition sous licence\\
\href{http://creativecommons.org/licenses/by-sa/4.0}%
{Creative Commons \textsc{by-sa 4.0}}
\begin{columns}[t]
\begin{column}{5.5cm}
\begin{itemize}
\item Attribution
\end{itemize}
\end{column}
\begin{column}{6.5cm}
\begin{itemize}
\item Partage dans les mêmes conditions
\end{itemize}
\end{column}
\end{columns}
Vous pouvez obtenir une copie de la licence
\begin{block}{par Internet}
\href{http://creativecommons.org/licenses/by-nc-sa/4.0}%
{\url{http://creativecommons.org/licenses/by-nc-sa/4.0}}
\end{block}
\begin{block}{par courrier postal}
\begin{quote}
Creative Commons\\
444 Castro Street, Suite 900 Mountain View,\\
California, 94041, USA.
\end{quote}
\end{block}
\end{frame}
\end{document} \end{document}