\documentclass[12pt]{report}
\usepackage[greek,frenchb]{babel}
\usepackage[latin1]{inputenc}
\parindent0pt
\usepackage[dvips,a4paper,margin=1.5cm,nohead]{geometry}
\usepackage[dvips]{graphicx}

\usepackage{amsmath,amssymb,pst-all,pst-node,tabls,array,tabularx,framed,calc,multicol,xlop,lscape,fancybox,slashbox}

\usepackage{hyperref}
\usepackage[french]{minitoc}
\graphicspath{{/var/www/syracuse/texpng/cprl/christophe/3/livret/figures/}}

\newcommand{\affichage}[3]{%chemin/nb exo/prefixe exo
\newcount\x
\x=0 \loop
\advance \x by 1
\ifnum \x<#2
\par\vspace{2mm}\par\psshadowbox{\exo -- #1/#3\the\x}\par
\input{exercices/#1/#3\the\x}
\par
\repeat
}

\definecolor{fond1}{rgb}{1,1,.8}%jaune clair
\definecolor{fond2}{rgb}{.8,.9,1}%bleu clair
\definecolor{fond6}{rgb}{1,0.8,0}%orange
\newcommand{\encadrecouleur}[2]{
\psframebox[fillstyle=solid,fillcolor=#1,framearc=0.15]{
\begin{minipage}{\textwidth-25\fboxsep}
#2
\end{minipage}
}}

\newcommand{\pstreetitre}[1]{\Tr{\psshadowbox[fillstyle=solid,fillcolor=LightOrange]{\Large #1}}}
\newcommand{\methode}[1]{\Tr{\psshadowbox[fillstyle=solid,fillcolor=LightGray]{\begin{minipage}{5cm}#1\end{minipage}}}}
\newcommand{\exemple}[1]{\Tr{\psshadowbox{\begin{minipage}{5cm}#1\end{minipage}}}}

\newcommand{\Hypo}[1]
{\Tr{\psshadowbox[fillstyle=solid,fillcolor=LightGreen]{#1}}}
\newcommand{\Hysion}[1]
{\Tr{\psshadowbox[fillstyle=solid,fillcolor=LightOrange]{#1}}}
\newcommand{\Conclu}[1]
{\Tr{\psshadowbox[fillstyle=solid,fillcolor=LightRed]{#1}}}
\newcommand{\Defi}[1]
{\Tr{\psshadowbox[fillstyle=solid,fillcolor=LightBlue]{#1}}}
\newcommand{\Propri}[1]
{\Tr{\psshadowbox[linestyle=dashed,doubleline=true,fillstyle=solid]{#1}}}
\newcommand{\Raccord}{\Tc*{1mm}}

\newpsstyle{FondFrame}{linestyle=dashed,fillstyle=hlines,hatchwidth=0.1pt,hatchsep=2pt}
\definecolor{LightGray}{gray}{0.9}
\definecolor{LightGreen}{rgb}{0.5,1,0.5}
\definecolor{LightRed}{rgb}{1,0.5,0.5}
\definecolor{LightBlue}{rgb}{0.5,0.5,1}
\definecolor{LightOrange}{rgb}{1,0.7,0}

\input christ5.tex

%%essai de changement de style 
\makeatletter
\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
\def\@makechapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@ \centering \reset@font
\thickhrulefill\quad
\scshape \@chapapp{} \thechapter
\quad \thickhrulefill
\par\nobreak
\vspace*{10\p@}%
\interlinepenalty\@M
\hrule
\vspace*{10\p@}%
\Huge \bfseries #1\par\nobreak
\par
\vspace*{10\p@}%
\hrule
%\vskip 40\p@
\vskip 50\p@
}}
\def\@makeschapterhead#1{%
%\vspace*{50\p@}%
\vspace*{10\p@}%
{\parindent \z@ \centering \reset@font
\thickhrulefill
\par\nobreak
\vspace*{10\p@}%
\interlinepenalty\@M
\hrule
\vspace*{10\p@}%
\Huge \bfseries #1\par\nobreak
\par
\vspace*{10\p@}%
\hrule
%\vskip 40\p@
\vskip 50\p@
}}

\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{%\hss
\vbox{%\advance\hsize by 1cm
\noindent
\leavevmode\Large\bfseries\raggedright
\thesection.\
#2\par
\vskip -2ex
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{%\hss
\vbox{%\advance\hsize by 1cm
\noindent
\leavevmode\Large\bfseries\raggedright
% \thesection\
#2\par
\vskip -2ex
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
%fin d'essai de changement de style

\title{\newlength{\totcp}
\setlength{\totcp}{0pt}
\addtolength{\totcp}{-300pt}
\begin{pspicture}(0,0)(500pt,\totcp)
\psframe[fillstyle=gradient,gradbegin=yellow,gradend=LightOrange,gradmidpoint=1,gradangle=60](0,0)(500pt,\totcp)
\rput(3,-3){\includegraphics{titre1.1}}
\rput(14,-3){\includegraphics[scale=0.5]{titre1.2}}
\rput(250pt,-8){\includegraphics{titre2.1}}
\rput(250pt,-150pt){
\begin{minipage}{\linewidth}
\begin{center}
\Huge\shadedtext{Un cours de 3\ieme}
\end{center}
\end{minipage}
}
\end{pspicture}
}
\author{\shadedtext{Christophe Poulain}}
\date{\shadedtext{Mis à jour le \today}}

\newdimen\shadeshift\shadeshift=1pt
\def\shadedtext#1{{\setbox0=\hbox{#1}\leavevmode
        \vtop to 0pt{\rlap{\special{color push rgb 0.75 0.75 0.75}%
        \kern0.1em\lower0.1em\copy0
        \special{color pop}}\vss}\box0}}%
\long\def\shadedparagraph#1\par{{\setbox0=\vbox{\hsize=\hsize#1}%
        \noindent\leavevmode
        \vtop to 0pt{\rlap{\special{color push rgb 0.75 0.75 0.75}%
        \kern0.1em\lower0.1em\copy0
        \special{color pop}}\vss}\box0\par}}%

\begin{document}
\special{header=cadrea4.pro}
\special{!userdict begin /bop-hook {mapagination} def end}
\maketitle
\dominitoc
\setcounter{tocdepth}{0}
{\small
\tableofcontents
}
\part{Numérique}
\input Remarquables.tex%Complet
\input Equations.tex%Complet
\input Racines.tex%Complet
\input Arithmetique.tex%Complet
\input Affine.tex%Complet
\part{Géométrique}
\input Thales.tex%Complet
\input Espace.tex%Complet
\input Trigo.tex%Complet
\input Vecteurs.tex%Complet
\input Reperes.tex%Complet
\input Rotation.tex%Manque activité
\part{Gestion de données}
\input Statistiques.tex%Complet
\part{Annexes}
\appendix
\chapter{Compléments}
\input annexes/fichequadri.tex
\newpage
\input annexes/ficheaire.tex
\newpage
\input annexes/fichevolume.tex
\end{document}