\documentclass[10pt,frenchb,pdftex]{beamer}
%
\RequirePackage{ifthen}
\RequirePackage{xargs}
\RequirePackage{tikz}
\RequirePackage{tabularx}
\usetikzlibrary{shapes,arrows,automata,shadows,calc}
\RequirePackage{texgraph}
\RequirePackage[frenchb]{babel}
%
\RequirePackage[french,ruled,boxed,slide]{algorithm2e}
\SetKwInput{Init}{Initialisation}
\SetKwInput{Entrees}{Entr\'ees}
\SetKwInput{Entree}{Entr\'ee}
\SetKwInput{Sortie}{Sortie}
\SetKwInput{Sorties}{Sorties}
\SetKwIF{Si}{SinonSi}{Sinon}{Si}{alors}{SinonSi}{Sinon}{FinSi}
\SetKwBlock{Trait}{Traitement}{FinTraitement}
\SetKwBlock{TraitSortie}{Traitement et Sortie}{FinTraitement}
\SetKwFor{Pour}{Pour}{faire}{FinPour}
\SetKwFor{Tq}{Tant que}{faire}{FinTantque}
%
\usetheme{Warsaw}
\usecolortheme{crane}
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[ht=0ex,dp=0ex,
leftskip=.3cm,rightskip=.3cm plus1fil]%
{section in head/foot}%
\raisebox{1.125ex}%
{\tiny\bfseries\insertframenumber/\inserttotalframenumber}%
\hfill%
\end{beamercolorbox}}
\setbeamertemplate{blocks}[rounded][shadow=false]
\addtobeamertemplate{headline}
{}
{%
  \vskip-0.2pt
  \pgfuseshading{beamer@topshade}
  \vskip-2pt
}
\usepackage[utf8]{inputenc}
\usepackage[charter]{mathdesign}
\usepackage[T1]{fontenc}
\renewcommand{\ttdefault}{lmtt} 
\usefonttheme[onlymath]{serif}
% contenu de la page de titre
\title{{\bf ACTIVITÉS NUMÉRIQUES}}
\subtitle{Tableaux de signes -- Série 2}
\author{\small{Calcul mental et automatismes -- IREM de Clermont-Ferrand}}
\institute{\texttt{}}
\date{}
\hypersetup{
	%pdfpagemode = FullScreen,					% afficher le pdf en plein écran     
	pdfauthor   = {J.~Cottin},					%
	%pdftitle    = {Titre ...},					%
	%pdfsubject  = {Sujet ...},					%
	%pdfkeywords = {Mots clés séparés par des virgules}	%
	%pdfcreator  = {PDFLaTeX},					%
	%pdfproducer = {PDFLaTeX}					%
}
\newcommand{\beameronly}[1]{#1} % permet de mettre des pause dans beamer pas dans poly
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}  % tiré du fichier beamerouterinfolines.sty
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{section in head/foot}{\bf\insertshorttitle}
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{section in head/foot}{\bf\insertshortsubtitle} % pour avoir le nom du diapo au centre
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
  \end{beamercolorbox}}%
  \vskip0pt%
}
\setlength{\parindent}{0cm}
% background beamer
\definecolor{couleurhaut}{rgb}{0.85,0.9,1}  % creme
\definecolor{couleurmilieu}{rgb}{1,1,1}  % vert pale
\definecolor{couleurbas}{rgb}{0.85,0.9,1}  % blanc
\setbeamertemplate{background canvas}[bg=white]%
%
\def\R{\mathbb{R}}
\let\ds\displaystyle
\let\Sup\geqslant
\let\Inf\leqslant
\newcommand{\Oij}{\ensuremath{\left(O~;\Vi{i},\Vi{j}\right)}}  	% repère plan
\newcommand{\OIJ}{\ensuremath{\left(O~;~I,~J\right)}}  		% repère plan (O;I,J)
\newcommand{\ag}[1]{\ensuremath{\widehat{\text{#1}}}}		 		% angle géométrique
\newcommand{\courbe}[1]{\ensuremath{\mathscr{C}_{#1}}}		% pour les courbes
\newcommand{\Iff}[2]{\ensuremath{\left[#1~;~#2\right]}}	% Intervalles du type [a ; b]
\newcommand{\Iof}[2]{\ensuremath{\left]#1~;~#2\right]}}	% Intervalles du type ]a ; b]
\newcommand{\Ifo}[2]{\ensuremath{\left[#1~;~#2\right[}}	% Intervalles du type [a ; b[
\newcommand{\Ioo}[2]{\ensuremath{\left]#1~;~#2\right[}}	% Intervalles du type ]a ; b[

\begin{document}

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

\begin{frame}
\begin{block}{}
\begin{center}
\LARGE{\textbf{Chacun des tableaux de signes suivants est faux.\\
%
\medskip
%
Citer au moins une erreur.}}
\end{center}
\end{block}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (1) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe1,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(2,6),
defHautLig(0,2), defLargeCol(0,2),
Cadre(1,1,2,6), traitH(1),traitV(1),
InitLig1("x","-\infty","\dfrac45","+\infty"),
InitCol1("-4x+5"),
valeursLig(2,+1,"-",["0",linestyle:=solid],"+"),
\end{texgraph}

\section{Question (1)}

\begin{frame}
\frametitle{\textbf{Question (1)}}
{\centering
	\makebox[0pt]{%
	\input{signe1.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (2) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe2,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(2,6),
defHautLig(0,2), defLargeCol(0,2),
Cadre(1,1,2,6), traitH(1),traitV(1),
InitLig1("x","-\infty","0","1"),
InitCol1("2x-6"),
valeursLig(2,+1,"-",["3",linestyle:=solid],"+"),
\end{texgraph}

\section{Question (2)}

\begin{frame}
\frametitle{\textbf{Question (2)}}
{\centering
	\makebox[0pt]{%
	\input{signe2.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (3) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe3,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(2,6),
defHautLig(0,2), defLargeCol(0,2),
Cadre(1,1,2,6), traitH(1),traitV(1),
InitLig1("x","-\infty","-4","+\infty"),
InitCol1("4-x"),
valeursLig(2,+1,"+",["0",linestyle:=solid],"-"),
\end{texgraph}

\section{Question (3)}

\begin{frame}
\frametitle{\textbf{Question (3)}}
{\centering
	\makebox[0pt]{%
	\input{signe3.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (4) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe4,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(2,6),
defHautLig(0,2), defLargeCol(0,2),
Cadre(1,1,2,6), traitH(1),traitV(1),
InitLig1("x","-\infty","\dfrac73","+\infty"),
InitCol1("3x-7"),
valeursLig(2,+1,"-",+1,"+"),
doubleB(4,2,2)
\end{texgraph}

\section{Question (4)}

\begin{frame}
\frametitle{\textbf{Question (4)}}
{\centering
	\makebox[0pt]{%
	\input{signe4.pgf}
	}\par
}
\end{frame}

\begin{frame}
\begin{block}{}
\begin{center}
\LARGE{\textbf{Compléter chacun des tableaux de signes suivants sans oublier les éventuels zéros et doubles barres nécessaires.}}
\end{center}
\end{block}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (5) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe5,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(4,8),
defHautLig(0,2), defLargeCol(0,1.5,1,3),
Cadre(1,1,4,8), traitV(1), for k from 1 to 3 do traitH(k) od,
InitLig1("x","-\infty","\dots","\dfrac12","+\infty"),
InitCol1("2x-1","5x+3","(2x-1)(5x+3)"),
simpleB(4,2,4),simpleB(6,2,4),
valeursLig(2,+1,"-",+1,"\dots","0","\dots"),
valeursLig(3,+1,"\dots",+1,"\dots",+1,"+"),
valeursLig(4,+1,"\dots",+1,"-",+1,"\dots"),   
\end{texgraph}

\section{Question (5)}

\begin{frame}
\frametitle{\textbf{Question (5)}}
{\centering
	\makebox[0pt]{%
	\input{signe5.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (6) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe6,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(4,8),
defHautLig(0,2), defLargeCol(0,1.5,1,3),
Cadre(1,1,4,8), traitV(1), for k from 1 to 3 do traitH(k) od,
InitLig1("x","-\infty","\dots","\dfrac12","+\infty"),
InitCol1("2x-1","5x+3","\dfrac{2x-1}{5x+3}"),
simpleB(4,2,4),simpleB(6,2,4),
valeursLig(2,+1,"-",+1,"\dots","0","\dots"),
valeursLig(3,+1,"\dots",+1,"\dots",+1,"+"),
valeursLig(4,+1,"\dots",+1,"-",+1,"\dots"),   
\end{texgraph}

\section{Question (6)}

\begin{frame}
\frametitle{\textbf{Question (6)}}
{\centering
	\makebox[0pt]{%
	\input{signe6.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (7) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe7,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(4,8),
defHautLig(0,2), defLargeCol(0,1.5,1,3),
Cadre(1,1,4,8), traitV(1), for k from 1 to 3 do traitH(k) od,
InitLig1("x","-\infty","\dots","\dots","+\infty"),
InitCol1("2-4x","x^2","(2-4x)x^2"),
simpleB(4,2,4),simpleB(6,2,4),
valeursLig(2,+1,"\dots",+1,"\dots","0","\dots"),
valeursLig(3,+1,"\dots","0","+",+1,"+"),
valeursLig(4,+1,"+",+1,"+",+1,"\dots"),   
\end{texgraph}

\section{Question (7)}

\begin{frame}
\frametitle{\textbf{Question (7)}}
{\centering
	\makebox[0pt]{%
	\input{signe7.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (8) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe8,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(4,8),
defHautLig(0,2), defLargeCol(0,1.5,1,3),
Cadre(1,1,4,8), traitV(1), for k from 1 to 3 do traitH(k) od,
InitLig1("x","-\infty","\dots","\dots","+\infty"),
InitCol1("2-4x","x^2","\dfrac{x^2}{2-4x}"),
simpleB(4,2,4),simpleB(6,2,4),
valeursLig(2,+1,"\dots",+1,"\dots","0","\dots"),
valeursLig(3,+1,"\dots","0","+",+1,"+"),
valeursLig(4,+1,"+",+1,"+",+1,"\dots"),   
\end{texgraph}

\section{Question (8)}

\begin{frame}
\frametitle{\textbf{Question (8)}}
{\centering
	\makebox[0pt]{%
	\input{signe8.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (9) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe9,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(5,8),
defHautLig(0,2), defLargeCol(0,1.5,1,4),
Cadre(1,1,5,8), traitV(1), for k from 1 to 4 do traitH(k) od,
InitLig1("x","-1","\dots","\dots","+\infty"),
InitCol1("x+3","-2x+4","x^2","(x+3)(-2x+4)x^2"),
simpleB(4,2,6),simpleB(6,2,6),
valeursLig(2,+1,"\dots",+1,"+",+1,"\dots"),
valeursLig(3,+1,"+",+1,"\dots","0","\dots"),
valeursLig(4,+1,"\dots",+1,"\dots",+1,"+"),   
valeursLig(5,+1,"+",+1,"\dots",+1,"\dots"),   
\end{texgraph}

\section{Question (9)}

\begin{frame}
\frametitle{\textbf{Question (9)}}
{\centering
	\makebox[0pt]{%
	\input{signe9.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%
%%% Question (10) %%%
%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[name=signe10,export=pgf,preload="variations.mod",auto=false]
LabelSize:=normalsize,
dimTab(5,8),
defHautLig(0,2), defLargeCol(0,1.5,1,4),
Cadre(1,1,5,8), traitV(1), for k from 1 to 4 do traitH(k) od,
InitLig1("x","-1","\dots","\dots","+\infty"),
InitCol1("x+3","-2x+4","x^2","\dfrac{x+3}{(-2x+4)x^2}"),
simpleB(4,2,6),simpleB(6,2,6),
valeursLig(2,+1,"\dots",+1,"+",+1,"\dots"),
valeursLig(3,+1,"+",+1,"\dots","0","\dots"),
valeursLig(4,+1,"\dots",+1,"\dots",+1,"+"),   
valeursLig(5,+1,"+",+1,"\dots",+1,"\dots"),   
\end{texgraph}

\section{Question (10)}

\begin{frame}
\frametitle{\textbf{Question (10)}}
{\centering
	\makebox[0pt]{%
	\input{signe10.pgf}
	}\par
}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%
%         FIN          %
%%%%%%%%%%%%%%%%%%%%%%%%
\begin{texgraph}[preload="ornaments.mod", name=fin, export=pgf, auto=false]
Fenetre(-3+0.5*i,3-0.5*i,1+i),
Marges(0,0,0,0),
S:=Loadvectorian(72),
Drawvectorian(-2, S, [width:=2]),
S:=Loadvectorian(73),
Drawvectorian(2, S, [width:=2]),
LabelSize:=Huge, Label(0, "FIN") 
\end{texgraph}

\begin{frame}
\begin{center} {\Huge 
\input{fin.pgf}
} \end{center}
\end{frame}

\end{document} 