From dcfe04bd9bdcd8aefdf5cc11e1d2d9a079616a6d Mon Sep 17 00:00:00 2001 From: gwen Date: Fri, 19 May 2017 11:17:58 +0200 Subject: [PATCH] =?UTF-8?q?template=20de=20pr=C3=A9sentation=20beamer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- algorithmique/diapos/Makefile | 3 +- algorithmique/diapos/beamer.tex | 146 +++++++++++++++++++++++++++++++- 2 files changed, 143 insertions(+), 6 deletions(-) diff --git a/algorithmique/diapos/Makefile b/algorithmique/diapos/Makefile index 05f0ffd..fd60fc0 100644 --- a/algorithmique/diapos/Makefile +++ b/algorithmique/diapos/Makefile @@ -31,8 +31,7 @@ ${POSTSCRIPT_GZ}: %.ps.gz: %.ps ${PDF}: %.pdf: %.tex rm -f $*.out $*.log $*.aux - pdflatex $< - pdflatex $< + xelatex $< rm -f $*.out $*.log $*.aux %: %.tex %.dvi diff --git a/algorithmique/diapos/beamer.tex b/algorithmique/diapos/beamer.tex index 84a942b..c4635d4 100644 --- a/algorithmique/diapos/beamer.tex +++ b/algorithmique/diapos/beamer.tex @@ -1,10 +1,45 @@ -\documentclass{beamer} +\documentclass[ignorenonframetext]{beamer} \usepackage{graphicx} -\usetheme{Warsaw} -\usepackage[french]{babel} -\usepackage[utf8,utf8x]{inputenc} +% Internal links only wors with second screen on the right +% \setbeameroption{show notes on second screen} +\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} + +% 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{ \hspace{120pt} \includegraphics[width=2cm]{img/cesi.jpg}~ @@ -29,10 +64,36 @@ \subject{Talks} +\AtBeginSection[] % Add a TOC with current section highlighted +{ + \begin{frame} + \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 }, % Require XeTeX + pdflicenseurl={http://creativecommons.org/licenses/by-nc-sa/2.0/fr/}, +} + +\parskip=0.8em + \begin{document} \frame{\titlepage} +\section{Introduction} \begin{frame} \frametitle{Avant propos} @@ -49,6 +110,18 @@ \end{itemize} \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} \frametitle{L'art de programmer} @@ -68,6 +141,7 @@ \end{itemize} \end{frame} +\section{algorithmique} \begin{frame} \frametitle{Les algorithmes} \begin{itemize} @@ -78,5 +152,69 @@ \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}