blob: c4d41578bda63260d2f47b80a1c7ee1226580a56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
%initialisations----------------------------------------------------------------
\documentclass[french,11pt,a4paper,twoside,openright]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[francais]{babel}
\usepackage{a4}
\usepackage{ulem}
\usepackage{multirow}
\usepackage[dvips]{graphics}
\usepackage{vmargin}
\usepackage{fancyhdr}
\usepackage{oldstyle}
\usepackage{listings}
\usepackage{verbatim}
%fin des initialisations--------------------------------------------------------
\pagestyle{fancyplain}
\addtolength{\headwidth}{\marginparsep}
\addtolength{\headwidth}{\marginparwidth}
% titre de chapitre
\renewcommand{\chaptermark}[1]{\markboth{#1} {}}
% titre de section
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\bfseries\textos{\thepage}}]{\fancyplain{}{\bfseries\rightmark}}
\rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\textos{\thepage}}}
\cfoot{\fancyplain{\textos{\thepage}}{}}
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}
\def\addcontentsline#1#2#3{%
\addtocontents{#1}{\protect\contentsline{#2}{#3}{\textos{\thepage}}}}
% \setmargrb{leftmargin}{topmargin}{rightmargin}{bottommargin}
\setmargrb{1.5cm}{2cm}{1.5cm}{4cm}
\begin{document}
\renewcommand{\chaptername}{Section}
\newcommand{\bracebits}{$\underbrace{\hspace{2cm}}$}
%page de garde
\title{Projet de C\\
Rapport \vspace{1.0cm}}
\author{Vagner Alain, Noble Nicolas\vspace{2.0cm}}
\date{\textit{dernière révision: \today}}
\maketitle
\strut\thispagestyle{empty}
\vfill
\pagebreak
\setcounter{page}{1}
\tableofcontents
\clearemptydoublepage
\input{intro}
\clearemptydoublepage
\part{Analyse}
\input{description}
\clearemptydoublepage
\part{Synthèse}
\input{manuel}
\clearemptydoublepage
\input{outils}
\clearemptydoublepage
\chapter{Code source}
\lstset{language=C++,basicstyle=\scriptsize,stringspaces=false}
\input{source}
\clearemptydoublepage
\input{conclusion}
\clearemptydoublepage
\input{bib}
\clearpage
\strut\thispagestyle{plain}
\begin{tiny}
\begin{center}
Cette documentation a été réalisée sous Linux Slackware 7.1 à l'aide de \LaTeX\ et cvs.
\end{center}
\end{tiny}
\end{document}
|