Modification un style

Tout ce qui concerne l'utilisation ou l'installation de LaTeX.

Modérateur: gdm_tex

Règles du forum
Merci d'éviter le style SMS dans vos messages et de penser à utiliser la fonction Recherche avant de poster un message. Pour joindre des fichiers à vos messages, consulter ce sujet.
> Penser à utiliser les balises Code pour poster du code.

Modification un style

Messagepar octal » Dimanche 23 Septembre 2012, 16:24

bonjour,

je suis debutant, je veux ajouter des modifications a ce stype .
Code: Tout sélectionner
% University of Washington Thesis class
% by Jim Fox
% LaTeX2e version 1995
% from the latex209 thesis.sty, 1990,1991
%
% modified by Sebastien (roys@iro.umontreal.ca) 1999-2002
 
%
% This is version 4.1
%
% 4.1, 11/6/95, no page numbers on chapter start for oneside printing
%
% Documentation is in the companion document (thesis.tex)
%

\ProvidesClass{thesis}[1995/11/06]
\NeedsTeXFormat{LaTeX2e}
 
%
% footnote stuff for option processing
%

\newwrite\tf@not

\newif\ifendnotes      % true if doing endnotes
  \endnotesfalse
\newif\ifchapternotes  % true if doing chapternotes
  \chapternotesfalse
\let\printchapternotes\relax
\let\printendnotes\relax

\newif\ifchapternumber % true if printing chapter numbers at start of chapter
  \chapternumbertrue

\DeclareOption{phd}% selects phd thesis front page (default)
  {\def\DipG{e }%
   \def\DipA{Th\`ese }%
   \def\Dipa{Cette th\`ese }%
   \def\DipF{Philosophiae Doctor (Ph.D.)}%
}
\DeclareOption{msc}% selects master thesis front page (default)
  {\def\DipG{ }%
   \def\DipA{M\'emoire }%
   \def\Dipa{Ce m\'emoire }%
   \def\DipF{Ma\^\i tre \`es sciences (M.Sc.)}%
}
\DeclareOption{nochapternumber}% no "Chapitre x" at the start of a chapter
  {\chapternumberfalse}

 
\DeclareOption{footnotes}% selects bottom-of-page notes (default)
  {}
\DeclareOption{chapternotes}% selects end-of-chapter notes
  {\chapternotestrue}
\DeclareOption{endnotes}% selects end-of-thesis notes
  {\endnotestrue}

%
% ----  Thesis is a modified 12-pt book style  ----------------------------
%

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\PassOptionsToClass{12pt}{book}
\PassOptionsToClass{openright}{book}
%\PassOptionsToClass{openany}{book}
\ProcessOptions
\LoadClass{book}

%
% margins are approximately 1 inch, except 1.5 inch at the binding
%

\textheight 590\p@ \textwidth 433\p@
\oddsidemargin 36\p@ \evensidemargin 0\p@
\marginparwidth 72\p@ \marginparsep 7\p@
\topmargin 0\p@   \headheight 12\p@ \headsep 36\p@
\footskip 12\p@
\footnotesep=14\p@
\setlength\parindent{1.5em}

\def\baselinestretch{1.5}
\setcounter{totalnumber}{5}
\setcounter{topnumber}{5}
\renewcommand\topfraction{.7}
\renewcommand\textfraction{.2}
\setlength\floatsep    {18\p@ \@plus 2\p@ \@minus 4\p@}
\setlength\textfloatsep{30\p@ \@plus 2\p@ \@minus 4\p@}
\setlength\intextsep   {20\p@ \@plus 4\p@ \@minus 4\p@}

 
%
%  ----  Footnotes  -----------------------
%
% Footnote placement option
%
%   [endnotes] put the references at the thesis end
%   [chapternotes] put the references at the chapter end
%   [footnotes] put the references at the page bottom
%
%   When text is written to file (.not) the source linebreaks
%   are maintained.  This keeps the individual lines in the file short.
%   Control sequences in the note text are not expanded.
%

\let\n@teitem\relax

\def\@chapternotetext{\begingroup
  \catcode`\^^M=12\newlinechar=`\^^M
  \catcode`\\=12
  \d@chapternote}

\long\def\d@chapternote#1{%
  \immediate \write\tf@not
      {\n@teitem[\note@label] #1\relax}%
  \endgroup}

%
\def\@startnotes{%  opens the .not file
  \immediate \openout\tf@not\jobname.not\relax
  \immediate \write\tf@not{\relax}
  \setcounter{footnote}{0}}

%
% chapternotes
%

\ifchapternotes
  % \typeout{Doing chapternotes}
  \let\@footnotetext\@chapternotetext
  \@startnotes
  \def\note@label{\arabic{footnote}}
  \def\printchapternotes{% Prints the accumulated notes
    \ifnum\c@footnote>1
      \clearpage
      \begin{center} Notes du Chapitre \arabic{chapter} \end{center}\par
      \addcontentsline{toc}{section}{\protect
          \numberline{}{Notes du Chapitre \arabic{chapter}}}
      \begin{description}
      \immediate\closeout\tf@not
      \catcode`@=11
      \let\n@teitem\item
      \@input{\jobname.not}
      \end{description}
      \clearpage
      \@startnotes
    \fi
  }
  \let\old@enddocument\enddocument
  \def\enddocument{\printchapternotes\old@enddocument}
\fi

%
% endnotes
%

\ifendnotes
  % \typeout{Doing endnotes}
  \let\@footnotetext\@chapternotetext
  \@startnotes
  \def\note@label{\arabic{chapter}.\arabic{footnote}}
  \def\printendnotes{% Prints the accumulated notes
    \chapter*{Notes}
    \addcontentsline{toc}{chapter}{Notes}
    \thispagestyle{plain}
    \begin{description}
    \immediate\closeout\tf@not
    \catcode`@=11
    \let\n@teitem\item
    \@input{\jobname.not}
    \end{description}
    \@startnotes  % allows multiple endnotes
   }
\fi

%
%  bottom-of-page footnotes format
%  full width line and hanging indent
%
\def\footnoterule{\kern-3\p@
% \hrule width \columnwidth \kern 2.6\p@}
 \hrule width 3in \kern 2.6\p@}
\long\def\@makefntext#1{\parindent 1em\noindent \hangindent\parindent
 \def\baselinestretch{1.0}
 \hbox to1em{\hss$^{\@thefnmark}\,$}#1}
 
%
%  ----  Text pages  ----------------------------------
%
%  In two-sided style Chapter 1 is right handed
%
\def\textofChapter#1{\gdef\@textofChapter{#1}}  \textofChapter{Chapitre}
\def\textofAppendix#1{\gdef\@textofAppendix{#1}}  \textofAppendix{Annexe}

\def\textpages{% Start of text pages
   \clearpage\pagestyle{empty}
   \cleardoublepage\pagestyle{myheadings}\markboth{}{}
   \def\@chapapp{\protect\@textofChapter}
   \def\Thechapter{\arabic{chapter}}
   \pagenumbering{arabic}
   \textheight 602pt  % allow for no footers (vers 1.3)
     \footskip 0pt
   % \ifarchitect \textwidth 614pt \oddsidemargin 36pt \twocolumn\fi
   }
 
\def\appendix{\par
 \setcounter{chapter}{0}
 \setcounter{section}{0}
 \def\@chapapp{\protect\@textofAppendix}
 \def\Thechapter{\Alph{chapter}}
 \def\thechapter{\Alph{chapter}}}
 
 
 
 
%
%  Chapter headings
%
%\def\@makechapterhead#1{ \vspace*{2pc} {\centering

\def\@makechapterhead#1{ {\centering
 \ifchapternumber
 \ifnum \c@secnumdepth >\m@ne \large \@chapapp{} \Thechapter \par \vspace{10pt} \fi
 \fi
 \large\bf \uppercase\expandafter{#1}\par
   \centerline{\vbox{\hrule width 6in}}
 \nobreak \vspace{20pt}} }
%
%\def\@makeschapterhead#1{ \vspace*{2pc} {\centering
\def\@makeschapterhead#1{ {\centering
 \large\bf \uppercase\expandafter{#1}\par
   \centerline{\vbox{\hrule width 6in}}
 \nobreak \vspace{20pt}} }
%
\def\chapter{%
   \printchapternotes
   \if@openright\cleardoublepage\else\clearpage\fi
   \thispagestyle{empty}%
   \global\@topnum\z@
   \@afterindenttrue
   \let\\\relax
   \secdef\@chapter\@schapter}
%
%  Complication is added here to allow line breaks
%  in the chapter titles (via \\).
%
\def\@chapter[#1]#2{
  \ifnum \c@secnumdepth >\m@ne
  \refstepcounter{chapter}
  \typeout{<<\thechapter>>}
  {\def\\{ }  % allow \\ in title
   \addcontentsline{toc}{chapter}{\protect
     \numberline{\@chapapp\ \thechapter:}#1}}\else
  {\def\\{ }  % allow \\ in title
   \addcontentsline{toc}{chapter}{#1}}\fi
 \addtocontents{lof}{\protect\addvspace{10pt}}
 \addtocontents{lot}{\protect\addvspace{10pt}}
 \if@twocolumn
  \@topnewpage[\@makechapterhead{#2}]
  \else \@makechapterhead{#2}
  \@afterheading \fi}
\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
  \else \@makeschapterhead{#1}
  \@afterheading\fi}
%
%  Section headings
%
\renewcommand\section{%
  \@startsection {section}{1}{\z@}%
       {-3.5ex \@plus -1ex \@minus -.2ex}%
       {2.3ex \@plus.2ex}%
       {\reset@font\normalsize\bfseries\slshape}}
\renewcommand\subsection{%
  \@startsection{subsection}{2}{\z@}%
       {-3.25ex\@plus -1ex \@minus -.2ex}%
       {1.5ex \@plus .2ex}%
       {\reset@font\normalsize\mdseries\itshape}}
\renewcommand\subsubsection{%
  \@startsection{subsubsection}{3}{\z@}%
       {-3.25ex\@plus -1ex \@minus -.2ex}%
       {1.5ex \@plus .2ex}%
       {\reset@font\normalsize\mdseries\itshape}}

%
%  Provide for `Chapter ' in the toc
%  (increase \@tempdima)
%
\renewcommand\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@
    \setlength\@tempdima{85pt}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima
      \hskip -\leftskip
      #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
      \penalty\@highpenalty
    \endgroup
  \fi}

%
% Caption style
% added by Sebastien
%

\font\tenhv   = cmssbx10

\newlength{\@ctmp}
\newlength{\@figindent}
\setlength{\@figindent}{3pc}

\long\def\@makecaption#1#2{
   \vskip 10pt
   \def\baselinestretch{1.0}\@normalsize
   \setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2}
   \setlength{\@ctmp}{\hsize}
   \addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent}
   % IF longer than one indented paragraph line
   \ifdim \wd\@tempboxa >\@ctmp
      % THEN set as an indented paragraph
      \begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin}
         \item[]\tenhv #1.~#2\par
      \end{list}
   \else
      % ELSE center
      \hbox to\hsize{\hfil\box\@tempboxa\hfil}
   \fi}


%
% ------ Special captions ---------------------
%
% \caption[]{text} produces normal caption and numbering
% \caption(-){(continued)} produces `(continued)' caption and
%        same-as-last caption number
% \caption(x)[]{text} produces lettered caption.  1.1a, 1.1b, ...
%        If (x) is (a) or (A) then caption number is incremented,
%        else it is same numbered.

\def\thecaptionletter{}
\newif\ifcaptiontotoc\captiontotoctrue

\def\caption{\@ifnextchar({\@specialcaption}{\@normalcaption}}

\def\@normalcaption{\refstepcounter\@captype \@dblarg{\@caption\@captype}}
\def\@specialcaption(#1){%
  \def\thecaptionletter{#1}%
  \captiontotocfalse
  \if#1-\def\thecaptionletter{}\fi
  \if#1a\refstepcounter\@captype\captiontotoctrue\fi
  \if#1A\refstepcounter\@captype\captiontotoctrue\fi
  \@dblarg{\@caption\@captype}}

\long\def\@caption#1[#2]#3{\par
  \ifcaptiontotoc
    \addcontentsline{\csname
    ext@#1\endcsname}{#1}{\protect\numberline{\csname
    the#1\endcsname}{\ignorespaces #2}}%
  \fi
  \begingroup
    \@parboxrestore
    \normalsize
    \def\baselinestretch{1.0}
    \@makecaption{\csname fnum@#1\endcsname
        \thecaptionletter}{\ignorespaces #3}\par
  \endgroup}

\def\@listI{\leftmargin\leftmargini \parsep 7pt plus 3pt minus 1pt\topsep
 12pt plus 5pt minus 6pt\itemsep 7pt plus 3pt minus 1pt}
 
 
%
%  ----  Facing pages and double-page figures and tables
%
%  \begin{fullpage} ... \end{fullpage}
%  \begin{leftfullpage} ... \end{leftfullpage}

\newif\if@LP \@LPfalse

\newbox\@@wholepage
\def\fullpage{\setbox\@@wholepage=\vbox\bgroup}
\def\endfullpage{\egroup\dp\@@wholepage\z@
   \vbox to\textheight{\vss\unvbox\@@wholepage\vss}}
\def\leftfullpage{\setbox\@@wholepage=\vbox\bgroup}
\def\endleftfullpage{\egroup\dp\@@wholepage\z@
   \vbox to\textheight{\vss\unvbox\@@wholepage\vss}\global\@LPtrue}

\let\oldend@float\end@float
\def\end@float{%
  \if@LP\global\@namedef{LP:\expandafter\string\@currbox}{L}%
  \else \global\@namedef{LP:\expandafter\string\@currbox}{X}%
  \fi
   \global\@LPfalse
  \oldend@float
}


\if@twoside

% reject a left-side float that appears on an odd page
 \let\old@xtryfc\@xtryfc
 \def\@xtryfc #1{%
   \expandafter\if\csname LP:\string#1\endcsname L%
      % \typeout{facing page in xtryfc}%
      \ifodd\count0\global\@colht\z@
          \typeout{I moved a leftpage float from page \the\count0.}%
      \fi\fi
    \old@xtryfc #1}

\else

% flip a facing page caption
 \let\@oldwtryfc\@wtryfc
 \def\@wtryfc #1{%
  \expandafter\if\csname LP:\string#1\endcsname L\gdef\LP@page{}%
   % \typeout{facing page in wtryfc}%
   \fi
   \@oldwtryfc #1}

 \let\old@shipoutsetup\@shipoutsetup
 \def\@shipoutsetup{%
   \old@shipoutsetup
   \@ifundefined{LP@page}
     {\let\@themargin\oddsidemargin \let\@thehead\@oddhead}
     {\let\@themargin\evensidemargin \let\@thehead\@evenhead
      % \typeout{Formatting a left-hand one-side page.}%
      }
   \global\let\LP@page\relax
 }
\fi

%
%  ----  Preliminary pages  ---------------------------
%
\def\prelimpages{ % sets page numbering for the preliminary pages
   \pagestyle{empty} % will be {plain} at start of toc
   \pagenumbering{roman}
   \setcounter{page}{1}
   \textheight 572pt  % add separation for page numbers (vers 1.3)
      \footskip 30pt
   % \ifarchitect \textwidth 450pt \oddsidemargin 118pt\fi
   }
%
%      (The following macros are used once and discarded)
%
%  Title page
%
%  options and defaults
%
\def\Title#1{\gdef\@Title{#1}}
\def\Author#1{\gdef\@Author{#1}}
\def\Year#1{\gdef\@Year{#1}}  \Year{\year}
\def\Degree#1{\gdef\@Degree{#1}} \Degree{Doctor of Philosophy}
%
\def\School#1{\gdef\@School{#1}} \School{University of Washington}
\def\Degreetext#1{\gdef\@Degreetext{#1}}
  \Degreetext{A dissertation submitted in partial fulfillment\\
    of the requirements for the degree of}
\newcount\@Signatures
\def\Signatures#1{\global\@Signatures=#1\relax}
  \Signatures{3} % number of signature lines
 
\def\textofby#1{\gdef\@textofby{#1}}  \textofby{by}
\def\textofApproved#1{\gdef\@textofApproved{#1}}  \textofApproved{Approved by}
\def\textofChair#1{\gdef\@textofChair{#1}} 
       \textofChair{(Chairperson of Supervisory Committee)}
\def\textofProgram#1{\gdef\@textofProgram{#1}} 
       \textofProgram{Program Authorized}
\def\textoftoOffer#1{\gdef\@textoftoOffer{#1}} 
       \textoftoOffer{to Offer Degree}
\def\textofDate#1{\gdef\@textofDate{#1}}  \textofDate{Date}

\def\titlepage{                   % Prints the title page
%    \vspace{7pc}
      \vskip24pt plus12pt minus12pt
    \begin{center}
      {\Large \lineskip 2ex Universit\'e de Montr\'eal\par}
%      \vskip0pt plus1fill\relax
      \vskip42pt
      {\Large\bf \lineskip 7ex \@Title\par}
%      \vskip0pt plus1fill\relax
      \vskip32pt
      par
      \par\vskip0pt plus1fill\relax
%      \uppercase\expandafter{\@Author}
      {\Large\bf \@Author}
      \par\vskip16pt \relax
      D\'epartement d'informatique et de recherche op\'erationnelle \break
      Facult\'e des arts et des sciences
      \par\vskip0pt plus4fill\relax
      \DipA  pr\'esent\'e\DipG \`a la Facult\'e des \'etudes sup\'erieures\break
      en vue de l'obtention du grade de\break
      \DipF\break
      en informatique
%      \@Degreetext
%      \par\vskip0pt plus2fill\relax
%      \@Degree
%      \par\vskip0pt plus2fill\relax
%      D\'epartement d'informatique \goodbreak
%      et de recherche op\'erationnelle
%      \par\vskip0pt plus0.5fill\relax
%      \@School
      \par\vskip0pt plus1fill\relax
      juin, 1999
%      \@Year
      \par\vskip0pt plus2fill\relax
      {\footnotesize\copyright \, \@Author, 1999}
    \end{center}
      \vskip16pt plus12pt minus12pt\relax
%     \vskip0pt plus2fill\relax
  \let\titlepage\relax}

%
% The approved page
%
\long\def\approved{
   \cleardoublepage
   \thispagestyle{empty}%
   \null\vfill%
%   \vskip0pt plus1fill\relax
   \begin{center}
   {Universit\'e de Montr\'eal}
        \par
   Facult\'e des \'etudes sup\'erieures
        \par\vskip0pt plus1.5fill\relax
        \par\vskip0pt plus1.5fill\relax
   \Dipa intitul\'e\DipG:
        \par\vskip0pt plus1fill\relax
   {\large \@Title}
        \par\vskip0pt plus1.5fill\relax
   pr\'esent\'e\DipG par
        \par\vskip0pt plus1.5fill\relax
   {\large \@Author}
        \par\vskip0pt plus1.5fill\relax
   a \'et\'e \'evalu\'e\DipG par un jury compos\'e des
   personnes suivantes:
        \par\vskip0pt plus1.5fill\relax
   {
   \baselineskip12pt
   \vspace{.4in}
   \centerline{\vbox{\hrule width 3in}}
   \centerline{Jean Meunier}
   \centerline{\footnotesize(Professeur)}
   }
   \par\vskip0pc
   {
   \baselineskip12pt
   \vspace{.4in}
   \centerline{\vbox{\hrule width 3in}}
   \centerline{Pierre Poulin}
   \centerline{\footnotesize(Professeur)}
   }
   \par\vskip0pc
   {
   \baselineskip10pt
   \vspace{.4in}
   \centerline{\vbox{\hrule width 3in}}
   \centerline{Neil Stewart}
   \centerline{\footnotesize(Professeur)}
   }
   \par\vskip0pc
   {
   \baselineskip10pt
   \vspace{.4in}
   \centerline{\vbox{\hrule width 3in}}
   \centerline{Janusz Konrad}
   \centerline{\footnotesize(Professeur)}
   }
   \par\vskip0pc
   {
   \baselineskip10pt
   \vspace{.4in}
   \centerline{\vbox{\hrule width 3in}}
   \centerline{Anthony F. J. Moffat}
   \centerline{\footnotesize(Professeur)}
   }
        \par\vskip36pt plus2fill\relax
   \DipA accept\'e\DipG le \,\,\, \vbox{\hrule width 3in}
%        \par\vskip0pt plus2fill\relax
   \end{center}
   \vskip0pt plus2fill\relax
   \null\vfill%
   \let\approved\relax}

 
%   Quote slip
%
\def\textofSignature#1{\gdef\@textofSignature{#1}}  \textofSignature{Signature}
\long\def\quoteslip#1{
   \cleardoublepage
   \null
   \vskip0pt plus1fill\relax
   \noindent #1\par
   \vskip3pc
   \begin{flushright}
%%      \makebox[3in]{\@textofSignature\hrulefill}
   \begin{center}
      \def\baselinestretch{1}\@normalsize
      \vspace{.75in}
      \vrule width 3in height 0.4pt\\
      \@textofSignature
   \end{center}
%%
      \par\vskip2pc
      \makebox[3in]{\@textofDate\hrulefill}
   \end{flushright}
   \vskip0pt plus2fill\relax
   \let\quoteslip\relax}
%
%   Abstract
%
%  normal parameters
\def\textofAbstract#1{\gdef\@textofAbstract{#1}}  \textofAbstract{Abstract}
\def\textofChairSC#1{\gdef\@textofChairSC{#1}} 
       \textofChairSC{Chairperson of Supervisory Committee:}
\def\Professor#1{\gdef\@Professor{#1}}
\def\Department#1{\gdef\@Department{#1}}
\long\def\abstract#1{
   \cleardoublepage
%   \begin{center}
%      \@School
%      \par\vskip1pc
%      \@textofAbstract
%      \par\vskip1pc
%      {\large \@Title \par}
%      \par\vskip1pc
%      by \@Author
%      \par\vskip1pc
%      \@textofChairSC
%         \begin{tabular}[t]{cc}\@Professor\\\@Department\end{tabular}
%      \par\vskip1pc
%   \end{center}
   #1
   \vfill
   \let\abstract\relax}

%
% long abstract definition
%
\def\textofLAbs#1{\gdef\@textofLAbs{#1}}  \textofLAbs{Abstract}
\long\def\longabstract#1{\chapter*{\@textofLAbs\@mkboth{}{}}
   \thispagestyle{plain}
   #1\par
   \vfill
   \let\longabstract\relax}

%
% long resume definition
%
\def\textofLRes#1{\gdef\@textofLRes{#1}}  \textofLRes{R\'esum\'e}
\long\def\longresume#1{\chapter*{\@textofLRes\@mkboth{}{}}
   \thispagestyle{plain}
   #1\par
   \vfill
   \let\longresume\relax}



%
%
%   Table of contents (right side page) (always page `i')
%
%
\def\textofToC#1{\gdef\@textofToC{#1}}  \textofToC{Table des mati\`eres}
\def\tableofcontents{\cleardoublepage
   \chapter*{\@textofToC\@mkboth{}{}}
   \pagestyle{plain}
   \thispagestyle{empty}
   \setcounter{page}{1}
   {\let\footnotemark\relax  % in case one is in the title
   \@starttoc{toc}
    }
   }
%
%   List of figures
%
\def\textofLoF#1{\gdef\@textofLoF{#1}}  \textofLoF{Liste des Figures}
\def\listoffigures{\chapter*{\@textofLoF\@mkboth{}{}}
   \thispagestyle{plain}
   \addcontentsline{toc}{chapter}{\protect\@textofLoF}
   {\let\footnotemark\relax  % in case one is in the title
   \@starttoc{lof}
    }
   }
%
%   List of tables
%
\def\textofLoT#1{\gdef\@textofLoT{#1}}  \textofLoT{Liste des Tables}
\def\listoftables{\chapter*{\@textofLoT\@mkboth{}{}}
   \thispagestyle{plain}
   \addcontentsline{toc}{chapter}{\protect\@textofLoT}
   {\let\footnotemark\relax  % in case one is in the title
   \@starttoc{lot}
    }
   }
%
%  Bibliography
%
\def\textofBIB#1{\gdef\@textofBIB{#1}}  \textofBIB{R\'ef\'erences}
\def\thebibliography#1{\chapter*{\@textofBIB\@mkboth{}{}}
 \addcontentsline{toc}{chapter}{\protect\@textofBIB}
 \list
 {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
 \advance\leftmargin\labelsep
 \usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus .07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
 
%
%   Acknowledgments
%
\def\textofAck#1{\gdef\@textofAck{#1}}  \textofAck{Remerciements}
\long\def\acknowledgments#1{\chapter*{\@textofAck\@mkboth{}{}}
   \thispagestyle{plain}
   #1\par
   \vfill
   \let\acknowledgments\relax}

\long\def\centeracknowledgments#1{
   \clearpage
   \null\vfill
   \begin{center}
      \large\bf ACKNOWLEDGMENTS\vspace*{0.5in}
   \end{center}
   {\narrower \par #1\\}
   \rule[-2cm]{0in}{2cm}
   \vfill
   }

%
%   Dedication
%
\def\textofDed#1{\gdef\@textofDed{#1}}  \textofDed{Dedicace}
\long\def\dedication#1{\chapter*{\@textofDed\@mkboth{}{}}
   \thispagestyle{plain}
   #1\par
   \vfill
   \let\dedication\relax}

%
% simple dedication, justified to the right
%
\long\def\simplededication#1{
   \thispagestyle{plain}
   \par\vspace*{5pc}
   \begin{flushright}
   \emph{#1}\par
   \end{flushright}
   \vfill
   \let\simplededication\relax}
 
%
%   Vita
%
\def\textofVita#1{\gdef\@textofVita{#1}}  \textofVita{Vita}
\long\def\vita#1{\chapter*{\@textofVita\@mkboth{}{}}
   #1\par
   \vfill
   \let\vita\relax}
 
%
%   Gratis definition of a glossary environment
%
\renewenvironment{glossary}
  {\begin{list}{}{\setlength\itemindent{\parindent}
   \def\makelabel##1{\footnotesize\uppercase{##1:}\hfill}}}
  {\end{list}}

% End of the thesis style





je veux ajouter des pages partie personnalisée avec un petit résumer du partie et un petit sommaire des chapitres

et pour les chapitre je veux ajouter une petite présentation pour le chapitre.
merci
octal
Utilisateur
 
Messages: 1
Inscription: Dimanche 23 Septembre 2012, 16:20
Statut actuel: Post-bac | Master

Publicité

Re: Modification un style

Messagepar rhodanis » Vendredi 28 Septembre 2012, 11:01

Salut,
Essaye d'expliquer mieux ce que tu veux faire. Perso, je comprend pas ce que tu veux.
A plus
rhodanis
Utilisateur
 
Messages: 5
Inscription: Mercredi 14 Septembre 2011, 15:01
Statut actuel: Post-bac | Doctorat


Retourner vers LaTeX

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Baidu [Spider], Bing [Bot] et 8 invités