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}

\usetheme{Boadilla} % D'autres thèmes possibles :
                    % Warsaw, Berlin, Copenhagen, Goettingen
% Modification du thème courant :
\definecolor{coultitre}{rgb}{0.20,0.43,0.09}              % vert
\setbeamercolor{structure}{fg=coultitre, bg=coultitre!40} % titre vert, fond 40% vert
\definecolor{fond}{rgb}{0.202,0.208,0.213}                % Gris
\setbeamertemplate{background canvas}[vertical shading]%
  [top=fond!01,bottom=fond!20]                            % fond dégradé gris de 1% à 20%

\usepackage{pstricks-add}	
\usepackage[frenchb]{babel}

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

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

% Second transparent : affichage simple
\begin{frame}
  \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}

% Un série de 4 transparents évolutifs
\begin{frame}
  \textsc{Beamer} :
  \begin{itemize}
	\item C'est facile
	\item<2-> C'est pas cher
	\item<3-> Cela peut rapporter ... ?
  \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}

4.  Un deuxiè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{IUFM Formation Continue}
\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}

5.  Liens