% SECTIONS, ETC

\def\section{
  \@startsection{section}{1}%
  \z@{.7\linespacing\@plus\linespacing}{2\linespacing}%
  {\normalfont\bfseries\scshape\large\centering}}
\def\subsection{\@startsection{subsection}{2}%
  \z@{1\linespacing\@plus1\linespacing}{1\linespacing}%
  {\normalfont\bfseries\centering}}
\def\subsubsection{\@startsection{subsubsection}{3}%
  \z@{.5\linespacing\@plus.7\linespacing}{.5em}%
  {\normalfont\bfseries}}
\setcounter{secnumdepth}{4}


%% THEOREMES, ETC.

\def\th@plain{%
  \let\thm@indent\noindent % no indent
  \thm@headfont{\bfseries\scshape}% heading font is bold
  \thm@notefont{\normalshape\bfseries}% same as heading font
  \thm@headpunct{\pointrait}% add period after heading
%  \let\thm@swap\@gobble
%%  \thm@preskip\topsep
%%  \thm@postskip\theorempreskipamount
  \itshape % body font
} \theoremstyle{plain}

\newtheorem{theo}{Th\'eor\`eme}
\newtheorem{prop-defi}[theo]{Proposition et d\'efinition}
\newtheorem{defi-prop}[theo]{D\'efinition et proposition}
\newtheorem{prop}[theo]{Proposition}
\newtheorem{lemme}[theo]{Lemme}
\newtheorem{defi}[theo]{D\'efinition}

\newtheorem{cor}[theo]{Corollaire}

\def\th@remark{%
  \let\thm@indent\noindent % no indent
  \thm@headfont{\bfseries}% heading font is bold
  \thm@notefont{}% same as heading font
  \thm@headpunct{\pointrait}% add period after heading
%  \let\thm@swap\@gobble
%%  \thm@preskip\topsep
%%  \thm@postskip\theorempreskipamount
  % body font
}
\theoremstyle{remark}
\newtheorem{rema}[theo]{Remarque}
\newtheorem{remas}[theo]{Remarque}

\newenvironment{romanenum}
  {\begin{enumerate}\def\theenumi{\roman{enumi}}\def\labelenumi{(\theenumi)}}
  {\end{enumerate}}

%%% TABLE DES MATIERES

%\def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{\scshape\bfseries\smf@boldmath}}
\def\l@section{\@tocline{1}{12pt}{0pc}{}{\bfseries\smf@boldmath}}
 \def\l@subsection{\@tocline{2}{0pt}{1pc}{}{\bfseries\smf@boldmath}}
 \def\l@subsubsection{\@tocline{3}{0pt}{2pc}{}{}}
%\def\l@paragraph{\@tocline{5}{0pt}{3pc}{}{}}
%\def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}}
% \let\l@table\l@figure
\setcounter{tocdepth}{3}

%%% BIBLIO

%\smf@captionsfrench{\def\refname{Bibliographie}}

%\let\subsubsection\subsection
%\let\subsection\section
%\let\section\chapter

%\let\smf@titleiii\relax
