1.  Intro

Beamer est une classe LaTeX adaptée à la création de présentations notament rétro/vidéo-projetées (d'où son nom).

2.  Installation

Démarrer MikTex-Options->Packages->Start Package Manager. Installez ensuite les paquets beamer et pgf.

3.  Un premier exemple d'utilisation de Beamer

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage[frenchb]{babel}

\usetheme{CambridgeUS}
% D'autres thèmes possibles :
% AnnArbor,Antibes,Berlin,Boadilla,CambridgeUS,Copenhagen,Dresden,
% Goettingen,Hannover,Ilmenau,JuanLesPins,Luebeck,Madrid,Malmoe,
% Montpellier,PaloAlto,Rochester,Singapore,Szeged,Warsaw

\title[Beamer]{Exemple de présentation avec Beamer}
\author{N.~Poulain}
\date{\today}

\begin{document}
\begin{frame}
 \titlepage
\end{frame}

\section{Introduction}
\subsection{Tour d'horizon}
\begin{frame}
  \frametitle{Une liste en trois étapes}
  \begin{itemize}
  \item<1-> Un résultat professionnel;
  \item<2-> Une syntaxe facile;
  \item<3-> Presque rien à installer.
  \end{itemize}
\end{frame}
\end{document}

4.  Un second exemple d'utilisation de Beamer

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage{pstricks-add}	
\usepackage[frenchb]{babel}

\usetheme{Boadilla} 
% Modification de la couleur du titre 
% vert sur fond 40% vert
\definecolor{coultitre}{rgb}{0.20,0.43,0.09}
\setbeamercolor{structure}{fg=coultitre, bg=coultitre!40} 
% fond dégradé gris de 1% à 20%
\definecolor{fond}{rgb}{0.202,0.208,0.213}
\setbeamertemplate{background canvas}[vertical shading]%
  [top=fond!01,bottom=fond!20]                            

\title{Mes slides}
\author{N. Poulain}
\institute{IUFM Formation Continue}

\begin{document}
\begin{frame} % Premier transparent : le titre
  \titlepage
\end{frame}

\begin{frame} % Second transparent : affichage simple
  \frametitle{De nombreuses possibilités}
  \framesubtitle{Beamer, le roi du slide}

  Présentation

  \begin{beamerboxesrounded}{Qu'est-ce que Beamer ?}
    Beamer est une classe LaTeX adaptée à la création
    de présentations notament rétro/vidéo-projetées (d'où son nom).
  \end{beamerboxesrounded}

  Voyons quelles sont les possibilités offertes par beamer

  \begin{beamerboxesrounded}[shadow=true]{Les apports}
    Nous allons voir maintenant une petite liste des apports de
    Beamer pour la présentation de diapositives évolutives.
  \end{beamerboxesrounded}
\end{frame}

\begin{frame} % Un série de 4 transparents évolutifs
  \textsc{Beamer} :
  \begin{itemize}
        \item C'est facile;
        \item<2-> On peut fait évoluer les diapositives;
        \item<3-> En ajoutant des figure si on le souhaite.
  \end{itemize}
  \pspicture(7,2.2)
        \pspolygon[linecolor=green](0,0)(2,0)(1.5,2)
        \uncover<2-> {\pspolygon[showpoints=true](3,0)(2,1)(3,2)(4,1) }
        \uncover<3-> {\pspolygon[fillstyle=solid, fillcolor=red] (4,0)(5,2)(6,1) }
  \endpspicture

\vfill

  \uncover<4-> {
        \begin{beamerboxesrounded}{Merci}
        Pour votre attention !
        \end{beamerboxesrounded}
  }
\end{frame}
\end{document}

5.  Un troisième exemple : Pythagore

Ci-dessous, le code permettant d'obtenir Pythagore.pdf :

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{Boadilla}
\usepackage{pstricks-add}		
\usepackage[frenchb]{babel}

\title{Pythagore}
\author{N.~Poulain}
\institute{exomatik.net}

\begin{document}

\begin{frame}
\begin{pspicture}(-1,2)(6,6)
 \psframe(0,0)(6,6)
 \psdots(2,0)(0,4)
 \pcline[offset=-9pt]{<->}(0,0)(2,0) \lput*{:U}{$a$}
 \pcline[offset=-9pt]{<->}(2,0)(6,0) \lput*{:U}{$b$}
 \pcline[offset=9pt]{<->}(0,0)(0,4) \lput*{:U}{$b$}
 \pcline[offset=9pt]{<->}(0,4)(0,6) \lput*{:U}{$a$}
 \pcline{-}(0,4)(2,0) \bput{:U}{$c$}
\uncover<2-> {
 \pspolygon[fillcolor=lightgray,fillstyle=solid](0,0)(2,0)(0,4)
 \pcline{-}(0,4)(2,0) \bput{:U}{$c$} }
\uncover<3-> {  \uput[0](0,.5){$S_t=\frac{ab}{2}$} }
\uncover<4-> {  \pspolygon[fillcolor=red,fillstyle=solid](2,0)(0,4)(4,6)(6,2) }
\uncover<5-> {  \uput[0](2,3){$S_c=c^2$} }
\uncover<6-> {  \uput[0](7,5){$S=4\times S_t+S_c$ }}
\uncover<7-> { 	\uput[0](7,4){Donc }
		\uput[0](7,3){$(a+b)^2=2ab+c^2$ }}
\uncover<8-> { 	\uput[0](7,2){Finalement}
		\uput[0](7,1){$a^2+b^2=c^2$ } }
\end{pspicture} 
\end{frame}

\end{document}

6.  Liens

Serveur d'exercices

TEX et LATEX

Utiliser LATEX

Première approche

Graphismes

Exercices

Plus loin

Notes en vrac

Blog