| 1 |
\documentclass{article} |
| 2 |
\usepackage{doc} |
| 3 |
|
| 4 |
% |
| 5 |
%-------------------------------------------Macro used by the documentaion----------------------------- |
| 6 |
% |
| 7 |
\let\Grave=\`% |
| 8 |
\let\Circumflex=\^% |
| 9 |
\let\Tilda=\~% |
| 10 |
\let\OverBar=\=% |
| 11 |
\let\UnderBar=\b% |
| 12 |
\let\Join=\t% |
| 13 |
\let\HungarUmlaut=\H% |
| 14 |
\let\Acute=\'% |
| 15 |
\let\Diaresis=\"% |
| 16 |
\let\Breve=\u% |
| 17 |
\let\OverDot=\.% |
| 18 |
\let\UnderDot=\d% |
| 19 |
\let\Tcheche=\v% |
| 20 |
\let\Cedille=\c% |
| 21 |
\makeatletter |
| 22 |
\def\CarSmaller{\ifx\@currsize\normalsize\relax |
| 23 |
\small |
| 24 |
\else |
| 25 |
\ifx\@currsize\small\relax |
| 26 |
\footnotesize |
| 27 |
\else |
| 28 |
\ifx\@currsize\footnotesize\relax |
| 29 |
\scriptsize |
| 30 |
\else |
| 31 |
\ifx\@currsize\scriptsize\relax |
| 32 |
\tiny % we cannot have less |
| 33 |
\fi |
| 34 |
\fi |
| 35 |
\fi |
| 36 |
\fi |
| 37 |
\ifx\@currsize\large\relax |
| 38 |
\normalsize |
| 39 |
\else |
| 40 |
\ifx\@currsize\Large\relax |
| 41 |
\large |
| 42 |
\else |
| 43 |
\ifx\@currsize\LARGE\relax |
| 44 |
\Large |
| 45 |
\else |
| 46 |
\ifx\@currsize\huge\relax |
| 47 |
\LARGE |
| 48 |
\else |
| 49 |
\ifx\@currsize\Huge\relax |
| 50 |
\huge |
| 51 |
\fi |
| 52 |
\fi |
| 53 |
\fi |
| 54 |
\fi |
| 55 |
\fi |
| 56 |
}% \CarSmaller |
| 57 |
|
| 58 |
\gdef\@StartNewWord{\penalty\@M\hskip\z@skip}% |
| 59 |
\gdef\@TreatDotLessCar#1#2{% |
| 60 |
\@StartNewWord |
| 61 |
\ifx#1i% |
| 62 |
\csname#2\endcsname \i |
| 63 |
\else |
| 64 |
\ifx#1j% |
| 65 |
\csname#2\endcsname \j |
| 66 |
\else |
| 67 |
\csname#2\endcsname #1% |
| 68 |
\fi |
| 69 |
\fi |
| 70 |
\@StartNewWord}% |
| 71 |
\gdef\`#1{{\@TreatDotLessCar{#1}{Grave}}}% |
| 72 |
\gdef\^#1{{\@TreatDotLessCar{#1}{Circumflex}}}% |
| 73 |
\gdef\~#1{{\@TreatDotLessCar{#1}{Tilda}}}% |
| 74 |
\gdef\=#1{{\@TreatDotLessCar{#1}{OverBar}}}% |
| 75 |
\gdef\b#1{{\underbar #1\@StartNewWord}}% |
| 76 |
\gdef\t#1{{\@TreatDotLessCar{#1}{Join}}}% |
| 77 |
\gdef\H#1{{\@TreatDotLessCar{#1}{HungarUmlaut}}}% |
| 78 |
\gdef\'#1{{\@TreatDotLessCar{#1}{Acute}}}% |
| 79 |
\gdef\"#1{{\@TreatDotLessCar{#1}{Diaresis}}}% |
| 80 |
\gdef\u#1{{\@TreatDotLessCar{#1}{Breve}}}% |
| 81 |
\gdef\.#1{{\@TreatDotLessCar{#1}{OverDot}}}% |
| 82 |
\gdef\d#1{{\UnderDot #1\@StartNewWord}}% |
| 83 |
\gdef\v#1{{\@TreatDotLessCar{#1}{Tcheche}}}% |
| 84 |
\gdef\c#1{{\Cedille #1\@StartNewWord}}% |
| 85 |
|
| 86 |
\makeatother |
| 87 |
|
| 88 |
\def\today{le \number\day\space\ifcase\month\or |
| 89 |
janvier\or f\'evrier\or mars\or avril\or mai\or juin\or |
| 90 |
juillet\or ao\^ut\or septembre\or octobre\or novembre\or d\'ecembre\fi |
| 91 |
\space \number\year} |
| 92 |
|
| 93 |
\renewcommand{\abstractname}{R\'esum\'e} |
| 94 |
\renewcommand{\refname}{R\'ef\'erences} |
| 95 |
|
| 96 |
\let\iffrench=\iftrue |
| 97 |
\let\ifenglish=\iffalse |
| 98 |
|
| 99 |
\def\og{\leavevmode\raise.3ex\hbox{$\scriptscriptstyle\langle\!% |
| 100 |
\langle\, $}} |
| 101 |
\def\fg{\leavevmode\raise.3ex\hbox{$\scriptscriptstyle\,\rangle\!% |
| 102 |
\rangle$}} |
| 103 |
|
| 104 |
\chardef\Circonflexe="5E |
| 105 |
\chardef\TildeChar="7E |
| 106 |
\chardef\bslash='134 |
| 107 |
\let\ft=\footnote |
| 108 |
\def\Fich#1{{\CarSmaller\sf #1}} % write a file name |
| 109 |
\def\Comm#1{{\CarSmaller\tt\bslash #1}} |
| 110 |
|
| 111 |
\hyphenation{l'uti-li-sa-tion} |
| 112 |
\frenchspacing |
| 113 |
% |
| 114 |
%------------------------------------------Page dimensions--------------------------------------------- |
| 115 |
% |
| 116 |
% Suppression of the standard TeX offset |
| 117 |
\hoffset=-1in |
| 118 |
\voffset=-1in |
| 119 |
|
| 120 |
\setlength{\parindent}{0pt} |
| 121 |
\setlength{\oddsidemargin}{2cm} |
| 122 |
\setlength{\marginparwidth}{4cm} |
| 123 |
\setlength{\textwidth}{15cm} |
| 124 |
\setlength{\textheight}{24cm} |
| 125 |
% |
| 126 |
%----------------------------------------------Doc package parameters----------------------------------- |
| 127 |
% |
| 128 |
\OnlyDescription %Only the description of package, not the implementation will be printed |
| 129 |
\DisableCrossrefs % no full index |
| 130 |
\CodelineIndex % by line number |
| 131 |
\RecordChanges % make change history |
| 132 |
|
| 133 |
\begin{document} |
| 134 |
\DocInput{codepage.dtx} \PrintIndex \PrintChanges |
| 135 |
\end{document} |
| 136 |
|