% % Code_Saturne version 1.3 % ------------------------ % % This file is part of the Code_Saturne Kernel, element of the % Code_Saturne CFD tool. % % Copyright (C) 1998-2007 EDF S.A., France % % contact: saturne-support@edf.fr % % The Code_Saturne Kernel is free software; you can redistribute it % and/or modify it under the terms of the GNU General Public License % as published by the Free Software Foundation; either version 2 of % the License, or (at your option) any later version. % % The Code_Saturne Kernel is distributed in the hope that it will be % useful, but WITHOUT ANY WARRANTY; without even the implied warranty % of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with the Code_Saturne Kernel; if not, write to the % Free Software Foundation, Inc., % 51 Franklin St, Fifth Floor, % Boston, MA 02110-1301 USA % %----------------------------------------------------------------------- % % Classe Note EDF, variante de la classe standard report % % Etienne DECOSSIN 2000 (Classe Note EDF, variante de la classe standard report) % Alexandre Douce 2003 --> feuille de style LateX % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % IDENTIFICATION DE noteEDF.sty \NeedsTeXFormat {LaTeX2e}[2003/05/01] \def \filename {noteEDF.sty} \def \filedate {2003/05/01} \def \fileversion {0.4} \ProvidesPackage {noteEDF}[\filedate\space\fileversion\space EDF R&D report format package] \typeout {Package: `noteEDF' \fileversion\space <\filedate>} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % DEFINITION DES OPTIONS DU STYLE noteEDF \newif\if@EDFenglish \@EDFenglishfalse \newif\if@EDFpdftex \@EDFpdftexfalse \newif\if@EDFlatexfont \@EDFlatexfontfalse \newif\if@EDFedfdoc \@EDFedfdoctrue \newif\if@EDFrddoc \@EDFrddocfalse \newif\if@EDFconfidentiel \@EDFconfidentielfalse % \DeclareOption{english}{\@EDFenglishtrue} \DeclareOption{pdftex}{\@EDFpdftextrue} \DeclareOption{latexfont}{\@EDFlatexfonttrue} \DeclareOption{confidentiel}{\@EDFconfidentieltrue\@EDFedfdocfalse\@EDFrddocfalse} \DeclareOption{rddoc}{\@EDFconfidentielfalse\@EDFedfdocfalse\@EDFrddoctrue} \DeclareOption{edfdoc}{\@EDFconfidentielfalse\@EDFedfdoctrue\@EDFrddocfalse} \ProcessOptions % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % UTILISATION DE PDFLATEX ? \newif\ifpdf \ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX \else \pdfoutput=1 % we are running PDFLaTeX \pdftrue \fi % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Chargement des Packages utiles \ifpdf \RequirePackage[pdftex]{graphicx} \pdfcompresslevel=9 \else \RequirePackage{graphicx} \fi \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{setspace} \RequirePackage{tabularx} \RequirePackage{wasysym} \RequirePackage{fancyhdr} \RequirePackage{lastpage} \RequirePackage{ifthen} \RequirePackage[latin1]{inputenc} \RequirePackage[OT1]{fontenc} % \RequirePackage[T1]{fontenc} Attention: Liste des symboles %\RequirePackage[francais]{babel} %\if@EDFlatexfont % \RequirePackage[T1]{fontenc} %\else % \RequirePackage{pslatex} % \RequirePackage[T1]{fontenc} %\fi % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Mise en page : Définitions des MACROS %\def\groupefr{Écoulements Industriels Diphasiques et Réactifs} %\def\groupeang{Industrial and Two Phase Flow} \def\groupefr{\'Ecoulements Monophasiques et \'Echanges Thermiques} \def\groupeang{Single Phase Thermal-Hydraulics} \newcommand{\titreEDFfr}[1]{\def\titrefr{#1}} \newcommand{\titreEDFang}[1]{\def\titreang{#1}} \newcommand{\authorEDFfr}[1]{\def\authorfr{#1}} \newcommand{\authorEDFang}[1]{\def\authorang{#1}} \newcommand{\numeroEDF}[1]{\def\refrapport{#1}} \newcommand{\indiceEDF}[1]{\def\indicerapport{#1}} \def\reference{\refrapport \indicerapport} \newcommand{\rqauteursEDF}[1]{\def\rqauteurs{#1}} \newcommand{\remauteursEDF}[1]{\def\remauteurs{#1}} \newcommand{\docassociesEDFfr}[1]{\def\docassociesfr{#1}} \newcommand{\docassociesEDFang}[1]{\def\docassociesang{#1}} \newcommand{\resumeEDFfr}[1]{\def\resumefr{#1}} \newcommand{\resumeEDFang}[1]{\def\resumeang{#1}} \newcommand{\accessibiliteEDFfr}[1]{\def\accessibilitefr{#1}} \newcommand{\accessibiliteEDFang}[1]{\def\accessibiliteang{#1}} \newcommand{\groupeEDFfr}[1]{\def\groupefr{#1}} \newcommand{\groupeEDFang}[1]{\def\groupeang{#1}} \newcommand{\actionEDF}[1]{\def\action{#1}} \newcommand{\classementEDF}[1]{\def\classement{#1}} \newcommand{\typerapportEDF}[1]{\def\typerapport{#1}} \newcommand{\motsclesEDF}[1]{\def\motscles{#1}} \newcommand{\pdfgraphics}{\ifpdf\DeclareGraphicsExtensions{.pdf,.jpg}\else\fi} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Marges horizontales (du haut vers le bas) %------------------------------------------ \setlength{\voffset}{0pt} \setlength{\topmargin}{0pt} % définit la marge a 1 pouce \addtolength{\topmargin}{-13mm} % redéfinit la marge en retrait par rapport a 1 pouce \setlength{\headheight}{15mm} % épaisseur de la boîte contenant le haut de page (cartouche) \setlength{\headsep}{6mm} % redefinit la séparation en l'entête et le corps du document \setlength{\textheight}{233mm} % redéfinit la hauteur de la page \setlength{\footskip}{15mm} % espace entre la fin du texte et le début du pieds de page % Marges verticales %------------------ \setlength{\hoffset}{0pt} \setlength{\evensidemargin}{7mm} % redefinit la marge impaire \setlength{\oddsidemargin}{7mm} % redefinit la marge paire \setlength{\textwidth}{156mm} % largeur du texte \setlength{\parindent}{5mm} \setlength{\parskip}{6pt} \setlength{\tabcolsep}{1mm} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Pour choisir à la main les style des titres et sections : %\DeclareFixedFont{\polsec}{T1}{phv}{b}{n}{16} %\DeclareFixedFont{\polssec}{T1}{phv}{b}{n}{14} %\DeclareFixedFont{\polsssec}{T1}{phv}{b}{n}{12} \DeclareFixedFont{\polsec}{OT1}{phv}{b}{n}{16} \DeclareFixedFont{\polssec}{OT1}{phv}{b}{n}{14} \DeclareFixedFont{\polsssec}{OT1}{phv}{b}{n}{12} \renewcommand{\section}{\@startsection {section}{1}{-5mm} {12pt plus2pt minus1pt} {6pt} {\bfseries\fontsize{16}{18}\selectfont\polsec}} \renewcommand{\subsection}{\@startsection {subsection}{2}{-5mm} {12pt plus2pt minus1pt} {6pt} {\bfseries\fontsize{14}{16}\polssec}} \renewcommand{\subsubsection}{\@startsection {subsubsection}{3}{-5mm} {12pt plus2pt minus1pt} {6pt} {\bfseries\fontsize{12}{14}\polsssec}} % % %\renewcommand{\section}{\@startsection {section}{1}{0pt}{0pt}{0.01pt}% % {\normalfont\normalsize\bfseries\uppercase}}% %\renewcommand{\subsection}{\@startsection{subsection}{2}{0pt}{0pt}{0.01pt}% % {\normalfont\normalsize\bfseries}} %\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0pt}{0pt}{0.01pt}% % {\normalfont\normalsize\bfseries}} %\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0pt}{0pt}{0.01pt}% % {\normalfont\normalsize\bfseries}} %\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{0pt}{0pt}{0.01pt}% % {\normalfont\normalsize\bfseries}} %\renewcommand{\thepage}{(\arabic{page})}% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % SOMMAIRE % %\def\@dottedtoclinesec#1#2#3#4#5{% % \ifnum #1>\c@tocdepth \else % \vskip \z@ \@plus.2\p@ % {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip % \parindent #2\relax\@afterindenttrue % \interlinepenalty\@M % \leavevmode % \@tempdima #3\relax % \advance\leftskip \@tempdima \null\hskip -\leftskip % \MakeUppercase{#4}\nobreak % \leaders\hbox{$\m@th % \mkern \@dotsep mu\hbox{.}\mkern \@dotsep % mu$}\hfill % \nobreak % \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% % \par}% % \fi} \renewcommand*\l@section{\upshape\bfseries \@dottedtocline{1}{0mm}{1.5em}} \renewcommand*\l@subsection{\mdseries\scshape \@dottedtocline{2}{0mm}{2.4em}} \renewcommand*\l@subsubsection{\itshape \@dottedtocline{3}{3mm}{3.6em}} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %BIBLIOGRAPHIE %------------- % Suppression du titre References \renewenvironment{thebibliography}[1] {\list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy\clubpenalty4000\widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % EN-TETE ET PIED DE PAGE % ======================= \pagestyle{fancy} \fancyhead{} \fancyhead[LE,LO]{\cartouche} \fancyfoot{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} % CARTOUCHE1 % ========== \newcommand{\cartouche}{% \hspace*{-5mm} \begin{tabularx}{162mm}{|>{\small\centering\arraybackslash}p{2.7cm}|>{\small\centering\arraybackslash}X|>{\small\centering\arraybackslash}p{3.5cm}|} \hline \textbf{EDF R\&D} \par \textsf{\textsc{Département}} \par \vspace{-1mm} \textsf{\textsc{MFEE}} & \textbf{\large\titreang} & \reference \par Page \thepage/\pageref{LastPage} \\ \hline \end{tabularx}} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PAGE DE TITRE \newcount\hour \newcount\minute \hour=\time \divide \hour by 60 \minute=\time \loop \ifnum \minute > 59 \advance \minute by -60 \repeat \newcommand\now{\number\hour\ h \ifnum \minute<10 0\fi \number\minute} \def\moisannee{\ifcase\month \or JANVIER\or FÉVRIER\or MARS\or AVRIL\or MAI\or JUIN\or JUILLET\or AOÛT\or SEPTEMBRE\or OCTOBRE\or NOVEMBRE\or DÉCEMBRE\fi \space \number\year} \def\monthyear{\ifcase\month \or JANUARY\or FEBRUARY\or MARCH\or APRIL\or MAY\or JUNE\or JULY\or AUGUST\or SEPTEMBER\or OCTOBE\or NOVEMBER\or DECEMBER\fi \space \number\year} \newcommand{\makepdgEDF} {% \begin{titlepage} \thispagestyle{empty} \enlargethispage{4.5cm} % Enlarge the \textheight for the current page \unitlength=1cm \begin{center} \vspace*{-32mm} \begin{picture}(16,8.5) \put(7,5.7){\includegraphics*[width=1.95cm]{../input/logoedf}} \put(0,7.1){\textsf{\textbf{EDF R\&D}}} \put(0,4.6){\scriptsize\textsc{\textsf{Fluid Dynamics, Power Generation and Environment Department}}} \put(0,4.3){\scriptsize\textsc{\textsf{\groupeang\ Group}}} \put(0,3.6){\scriptsize\textsc{\textsf{6, quai Watier}}} \put(0,3.3){\scriptsize\textsc{\textsf{F-78401 Chatou Cedex}}} \put(0,2.5){\scriptsize\textsc{\textsf{Tel: 33 1 30 87 75 40}}} \put(0,2.2){\scriptsize\textsc{\textsf{\parbox[t]{16cm}{Fax: 33 1 30 87 79 16 \hfill \monthyear}}}} \put(0,1.4){\scriptsize\textsc{\textsf{ISO 9001 certified Department}}} \end{picture} \begin{picture}(16,4.4) \put(2.5,0){\framebox(11,4.4){\ }} \put(2.75,3.8){\small\authorEDFang} \put(2.75,2.7){\parbox[t]{10.5cm}{\centering\textbf{{\titreang}}}} \put(2.75,0.4){\small\reference} \end{picture} \begin{picture}(16,13) \put(2,12.2){\parbox[t]{12cm}{\small\rqauteurs}} \put(2,11.2){\parbox[t]{12cm}{\small\remauteurs}} \put(1,10.1){\small\textbf{Related Documents:} \parbox[t]{12cm}{\docassociesang}} \put(1,7.4){\small\textbf{Abstract:}} \put(0,6.7){\small\parbox[t]{16cm}{\resumeang}} \if@EDFconfidentiel \put(0,0.1){\small\parbox[t]{16cm}{Accessibility : CONFIDENTIAL \hfill\copyright{} EDF \number\year}} \else \put(0,0.1){\small\parbox[t]{16cm}{Accessibility : \accessibiliteang\hfill\copyright{} EDF \number\year}} \fi \end{picture} \end{center} \passepage \end{titlepage} \normalsize } % % %%% EOF.