01
\documentclass{sample}
\makeatletter
% La commande \section est définie comme suit
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\Large\bfseries}}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\end{document}
02
\documentclass{sample}
\makeatletter
% Centré
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\centering\normalfont\Large\bfseries}}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\end{document}
03
\documentclass{sample}
\makeatletter
% À droite
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\raggedleft\normalfont\Large\bfseries}}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\end{document}
04
\documentclass{sample}
\makeatletter
% Centré avec des petites capitales (mais alors,
% les titres ne ressortent pas suffisemment à mon goût)
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\centering\Large\scshape}}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\end{document}
05
\documentclass{sample}
\makeatletter
% Moind grand
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\centering\large\scshape}}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\end{document}
06
\documentclass{sample}
\makeatletter
% Centré avec des petites capitales grasses
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\centering\Large\scshape\bfseries}}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\end{document}
07
\documentclass{sample}
% On pet redéfinir la commande \section à la main
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\begingroup
\leavevmode\Large\bfseries\raggedright
\thesection\quad
#2
\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\begingroup
\leavevmode\Large\bfseries\raggedright
\leavevmode\Large\bfseries\raggedright
% \thesection\quad
#2
\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
\tableofcontents
\end{document}
08
\documentclass{sample}
% On pet redéfinir la commande \section à la main
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\begingroup
\leavevmode\Large\bfseries\raggedright
\thesection\quad
#2
\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\begingroup
\leavevmode\Large\bfseries\raggedright
\leavevmode\Large\bfseries\raggedright
% \thesection\quad
#2
\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Introduction}
\texte
%\tableofcontents
\end{document}
09
\documentclass{sample}
% Numéro de section dans la marge
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\begingroup
\leavevmode\Large\bfseries\raggedright
\llap{\thesection\quad}%
#2
\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\begingroup
\leavevmode\Large\bfseries\raggedright
\leavevmode\Large\bfseries\raggedright
% \thesection\quad
#2
\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
10
\documentclass{sample}
% À droite, avec le numéro dans la marge
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{%
\vtop{\parindent=0pt \leavevmode\Large\bfseries\raggedleft #2\par}%
\rlap{\Large\bfseries\raggedleft \quad\thesection}%
}
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{%
\vtop{\parindent=0pt\leavevmode\Large\bfseries\raggedleft #2\par}%
% \rlap{\Large\bfseries\raggedleft \quad\thesection}%
}
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
11
\documentclass{sample}
% Centré, avec un signe devant le numéro de section
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\begingroup
\noindent\leavevmode\Large\bfseries\centering
\S \thesection\ #2\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\begingroup
\noindent\leavevmode\Large\bfseries\centering
% \S \thesection\
#2\par
\endgroup
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
12
\documentclass{sample}
% Aligné à gauche, suivi d'un filet horizontal
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\begingroup
\noindent
\leavevmode\Large\bfseries\raggedright
\thesection\ #2\par\nobreak
\endgroup
\noindent\hrulefill\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\begingroup
\noindent
\leavevmode\Large\bfseries\raggedright
% \thesection\
#2\par\nobreak
\endgroup
\noindent\hrulefill\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
13
\documentclass{sample}
% Aligné à gauche, suivi d'un filet horizontal, légèrement dans la marge
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{\hss\vbox{\advance\hsize by 1cm
\noindent
\leavevmode\Large\bfseries\raggedright
\thesection.\
#2\par
\vskip -2ex
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{\hss\vbox{\advance\hsize by 1cm
\noindent
\leavevmode\Large\bfseries\raggedright
% \thesection\
#2\par
\vskip -2ex
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
14
\documentclass{sample}
% Aligné à gauche, suivi d'un filet horizontal, légèrement dans la marge
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode\Large\bfseries\raggedleft
\thesection.\
#2\par
\vskip -2ex
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode\Large\bfseries\raggedleft
% \thesection\
#2\par
\vskip -2ex
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
15
\documentclass{sample}
% Inline
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
\thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
16
\documentclass{sample}
% Inline
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
\S \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
17
\documentclass{sample}
% Inline
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
(\thesection)\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
18
\documentclass{sample}
% Inline
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
\llap{\thesection\ }%
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
19
\documentclass{sample}
\usepackage{lettrine}
\def\LettrineFontHook{\bfseries\selectfont}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\lettrine[lines=2,slope=0pt,nindent=0pt]{{\thesection\hspace*{1mm}}}{}%
\begingroup \bfseries #2.\ \endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
20
\documentclass{sample}
\usepackage{lettrine}
\def\LettrineFontHook{\bfseries\sffamily\selectfont}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\lettrine[lines=2,slope=0pt,nindent=0pt]{{\thesection\hspace*{1mm}}}{}%
\begingroup \bfseries #2.\ \endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
21
\documentclass{sample}
\usepackage{lettrine}
\usepackage{helvet}
\def\LettrineFontHook{\bfseries\sffamily\selectfont}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\lettrine[lines=2,slope=0pt,nindent=0pt]{{\thesection\hspace*{1mm}}}{}%
\begingroup \bfseries #2.\ \endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
22
\documentclass{sample}
\usepackage{lettrine}
\usepackage{helvet}
\def\LettrineFontHook{\bfseries\sffamily\selectfont}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\lettrine[lines=2,slope=0pt,nindent=0pt]{{\thesection\hspace*{1mm}}}{}%
\begingroup \bfseries \sffamily #2.\ \endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries\sffamily
% \thesection\
#2.\
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
23
\documentclass{sample}
\usepackage{lettrine}
\usepackage{font-storybook}
\def\LettrineFontHook{\fontfamily{storybook}\selectfont}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\lettrine[lines=2,slope=0pt,nindent=0pt]{{\thesection\hspace*{1mm}}}{}%
\begingroup \bfseries #2.\ \endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
24
\documentclass{sample}
\usepackage{lettrine}
\usepackage{font-storybook}
\def\LettrineFontHook{\fontfamily{storybook}\selectfont}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\lettrine[lines=2,slope=0pt,nindent=0pt,lhang=1]{{\thesection\hspace*{1mm}}}{}%
\begingroup \bfseries #2.\ \endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\bfseries
% \thesection\
#2.\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
25
\documentclass{sample}
\usepackage{picins}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\parpic{\vbox to 2em{%
\vfill
\vbox{\hsize=3cm\noindent\centering\bfseries
\thesection.
#1}%
\vfill}}%
\noindent
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\parpic{\vbox to 2em{%
\vfill
\vbox{\hsize=3cm\noindent\centering\bfseries
% \thesection.
#1}%
\vfill}}%
\noindent
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
26
\documentclass{sample}
% Aligné à gauche, suivi de deux filets horizontaux,
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
\thesection.\
#2\par
\endgroup
\vskip -2ex
\noindent\hrulefill
\vskip -2.2ex\nobreak
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
% \thesection.\
#2\par
\endgroup
\vskip -2ex
\noindent\hrulefill
\vskip -2.2ex\nobreak
\noindent\hrulefill
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
27
\documentclass{sample}
% Aligné à gauche, suivi d'un filet horizontal ondulant
\usepackage{graphicx}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\newdimen\vz@tempdim
\def\vz@espace{ }%
\def\pt@to@bp#1{#1=.99627393548#1}% 1bp=1.00374pt
\def\includegraphicsandcliptowidthandheight#1#2#3{%
\edef\arguments@graphicx{[bb = 0 0 }%
\vz@tempdim=#1\relax
\pt@to@bp\vz@tempdim
\edef\arguments@graphicx{%
\arguments@graphicx\strip@pt\vz@tempdim\vz@espace}%
\vz@tempdim=#2\relax
\pt@to@bp\vz@tempdim
\edef\arguments@graphicx{%
\arguments@graphicx
\strip@pt\vz@tempdim\vz@espace,
clip=true
]}%
% \show\arguments@graphicx
\hbox{\expandafter\includegraphics\arguments@graphicx
{#3}}%
}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
\thesection.\
#2\par
\endgroup
\vskip 0pt
\includegraphicsandcliptowidthandheight{\hsize}{6bp}%
{ligne_horizontale_qui_ondule.eps}%
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
% \thesection.\
#2\par
\endgroup
\vskip 0pt
\includegraphicsandcliptowidthandheight{\hsize}{6bp}%
{ligne_horizontale_qui_ondule.eps}%
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
28
\documentclass{sample}
% Aligné à gauche, suivi d'un filet horizontal ondulant
\usepackage{graphicx}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\newdimen\vz@tempdim
\def\vz@espace{ }%
\def\pt@to@bp#1{#1=.99627393548#1}% 1bp=1.00374pt
\def\includegraphicsandcliptowidthandheight#1#2#3{%
\edef\arguments@graphicx{[bb = 0 0 }%
\vz@tempdim=#1\relax
\pt@to@bp\vz@tempdim
\edef\arguments@graphicx{%
\arguments@graphicx\strip@pt\vz@tempdim\vz@espace}%
\vz@tempdim=#2\relax
\pt@to@bp\vz@tempdim
\edef\arguments@graphicx{%
\arguments@graphicx
\strip@pt\vz@tempdim\vz@espace,
clip=true
]}%
% \show\arguments@graphicx
\hbox{\expandafter\includegraphics\arguments@graphicx
{#3}}%
}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
\thesection.\
#2\par
\endgroup
\vskip 0pt
\includegraphicsandcliptowidthandheight{\hsize}{8bp}%
{deux_lignes_horizontales_qui_ondulent.eps}%
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
% \thesection.\
#2\par
\endgroup
\vskip 0pt
\includegraphicsandcliptowidthandheight{\hsize}{8bp}%
{deux_lignes_horizontales_qui_ondulent.eps}%
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
29
\documentclass{sample}
% Aligné à gauche, suivi d'un filet horizontal ondulant
\usepackage{graphicx}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\newdimen\vz@tempdim
\def\vz@espace{ }%
\def\pt@to@bp#1{#1=.99627393548#1}% 1bp=1.00374pt
\def\includegraphicsandcliptowidthandheight#1#2#3{%
\edef\arguments@graphicx{[bb = 0 0 }%
\vz@tempdim=#1\relax
\pt@to@bp\vz@tempdim
\edef\arguments@graphicx{%
\arguments@graphicx\strip@pt\vz@tempdim\vz@espace}%
\vz@tempdim=#2\relax
\pt@to@bp\vz@tempdim
\edef\arguments@graphicx{%
\arguments@graphicx
\strip@pt\vz@tempdim\vz@espace,
clip=true
]}%
% \show\arguments@graphicx
\hbox{\expandafter\includegraphics\arguments@graphicx
{#3}}%
}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
\thesection.\
#2\par
\endgroup
\vskip 0pt
\includegraphicsandcliptowidthandheight{\hsize}{8bp}%
{tex1.eps}%
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 5ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{\vbox{%
\noindent
\leavevmode
\begingroup
\Large\bfseries\raggedleft
% \thesection.\
#2\par
\endgroup
\vskip 0pt
\includegraphicsandcliptowidthandheight{\hsize}{8bp}%
{tex1.eps}%
}}\nobreak
\vskip 2ex\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatother
\pagestyle{empty}
\begin{document}
\texte
\section*{Introduction}
\texte
\section{Suite}
\texte
\section{Fin}
\texte
%\tableofcontents
\end{document}
30
\documentclass{sample}
\usepackage{picins}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\parpic[r]{\vbox to 2em{%
\vfill
\vbox{\hsize=3cm\noindent\centering\bfseries
\thesection.
#1}%
\vfill}}%
\noindent
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\parpic[r]{\vbox to 2em{%
\vfill
\vbox{\hsize=3cm\noindent\centering\bfseries
% \thesection.
#1}%
\vfill}}%
\noindent
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
31
\documentclass{sample}
\usepackage{picins}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{%
\fbox{%
\hbox to 1cm{\hss\bfseries\Large\thesection.\ }%
\vtop{%
\advance \hsize by -1cm
\advance \hsize by -2\fboxrule
\advance \hsize by -2\fboxsep
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
#2
}%
}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{%
\fbox{%
% \hbox to 1cm{\hss\bfseries\Large\thesection.\ }%
\vtop{%
% \advance \hsize by -1cm
\advance \hsize by -2\fboxrule
\advance \hsize by -2\fboxsep
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
#2
}%
}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
32
\documentclass{sample}
\usepackage{pstcol,psboxit}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{%
\psboxit{box 1 .5 .5 setrgbcolor fill}{%
\vbox{%
\hbox to \hsize{%
\hbox to 1cm{\hss\white\bfseries\Large\thesection.\ }%
\vtop{%
\advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large\white
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}%
}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{%
\psboxit{box 1 .5 .5 setrgbcolor fill}{%
\vbox{%
\hbox to \hsize{%
% \hbox to 1cm{\hss\white\bfseries\Large\thesection.\ }%
\vtop{%
% \advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large\white
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}%
}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
33
\documentclass{sample}
\usepackage{pstcol,psboxit}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{%
\fboxsep=0pt
\fboxrule=2pt
\fbox{%
\psboxit{box 1 .5 .5 setrgbcolor fill}{%
\vbox{%
\advance \hsize by -2\fboxrule
\hbox to \hsize{%
\hbox to 1cm{\hss\white\bfseries\Large\thesection.\ }%
\vtop{%
\advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large\white
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}%
}}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{%
\fboxsep=0pt
\fboxrule=2pt
\fbox{%
\psboxit{box 1 .5 .5 setrgbcolor fill}{%
\vbox{%
\advance \hsize by -2\fboxrule
\hbox to \hsize{%
% \hbox to 1cm{\hss\white\bfseries\Large\thesection.\ }%
\vtop{%
% \advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large\white
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}%
}}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
34
\documentclass{sample}
\usepackage{pstcol,psboxit,graphicx,calc}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\newdimen\vz@tempdim
\def\vzoig@space{ }%
\def\pt@to@bp#1{#1=.99627393548#1}% 1bp=1.00374pt
\def\overlayincludegraphics#1#2#3{%
\def\vzoig@options{[clip=true, viewport= 0 0 }%
\setlength{\vz@tempdim}{#1}\relax
\pt@to@bp\vz@tempdim
\edef\vzoig@options{\vzoig@options\strip@pt\vz@tempdim\vzoig@space}%
\setlength{\vz@tempdim}{#2}\relax
\pt@to@bp\vz@tempdim
\edef\vzoig@options{\vzoig@options\strip@pt\vz@tempdim\vzoig@space}%
\edef\vzoig@options{\vzoig@options]}%
% \show\vzoig@options
\vbox to 0pt{%
\hbox to \hsize{\expandafter\includegraphics\vzoig@options{#3}\hss}%
\vss}}%
\newsavebox\tempboxa
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\savebox{\tempboxa}{%
\vbox{%
\advance \hsize by -2\fboxrule
\hbox to \hsize{%
\hbox to 1cm{\hss\white\bfseries\Large\thesection.\ }%
\vtop{%
\advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large\white
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}}}%
\hbox to \hsize{%
\fboxsep=0pt
\fboxrule=2pt
\fbox{%
\vbox{%
\advance \hsize by -2\fboxrule
\overlayincludegraphics{\hsize}{%
\heightof{\raisebox{\depth}{\usebox{\tempboxa}}}+1pt%
}{tex1.eps}%
\hbox to \hsize{\usebox{\tempboxa}}}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\savebox{\tempboxa}{%
\vbox{%
\advance \hsize by -2\fboxrule
\hbox to \hsize{%
% \hbox to 1cm{\hss\white\bfseries\Large\thesection.\ }%
\vtop{%
% \advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large\white
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}}}%
\hbox to \hsize{%
\fboxsep=0pt
\fboxrule=2pt
\fbox{%
\vbox{%
\advance \hsize by -2\fboxrule
\overlayincludegraphics{\hsize}{%
\heightof{\raisebox{\depth}{\usebox{\tempboxa}}}+1pt%
}{tex1.eps}%
\hbox to \hsize{\usebox{\tempboxa}}}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
35
\documentclass{sample}
\usepackage{pstcol,psboxit,graphicx,calc}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\newdimen\vz@tempdim
\def\vzoig@space{ }%
\def\pt@to@bp#1{#1=.99627393548#1}% 1bp=1.00374pt
\def\overlayincludegraphics#1#2#3{%
\def\vzoig@options{[clip=true, viewport= 0 0 }%
\setlength{\vz@tempdim}{#1}\relax
\pt@to@bp\vz@tempdim
\edef\vzoig@options{\vzoig@options\strip@pt\vz@tempdim\vzoig@space}%
\setlength{\vz@tempdim}{#2}\relax
\pt@to@bp\vz@tempdim
\edef\vzoig@options{\vzoig@options\strip@pt\vz@tempdim\vzoig@space}%
\edef\vzoig@options{\vzoig@options]}%
% \show\vzoig@options
\vbox to 0pt{%
\hbox to \hsize{\expandafter\includegraphics\vzoig@options{#3}\hss}%
\vss}}%
\newsavebox\tempboxa
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\savebox{\tempboxa}{%
\vbox{%
\advance \hsize by -2\fboxrule
\hbox to \hsize{%
\hbox to 1cm{\hss\bfseries\Large\thesection.\ }%
\vtop{%
\advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}}}%
\hbox to \hsize{%
\fboxsep=0pt
\fboxrule=2pt
\fbox{%
\vbox{%
\advance \hsize by -2\fboxrule
\overlayincludegraphics{\hsize}{%
\heightof{\raisebox{\depth}{\usebox{\tempboxa}}}+1pt%
}{tex1.eps}%
\hbox to \hsize{\usebox{\tempboxa}}}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\savebox{\tempboxa}{%
\vbox{%
\advance \hsize by -2\fboxrule
\hbox to \hsize{%
% \hbox to 1cm{\hss\bfseries\Large\thesection.\ }%
\vtop{%
% \advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}}}%
\hbox to \hsize{%
\fboxsep=0pt
\fboxrule=2pt
\fbox{%
\vbox{%
\advance \hsize by -2\fboxrule
\overlayincludegraphics{\hsize}{%
\heightof{\raisebox{\depth}{\usebox{\tempboxa}}}+1pt%
}{tex1.eps}%
\hbox to \hsize{\usebox{\tempboxa}}}}}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
36
\documentclass{sample}
\usepackage{pstcol,psboxit,graphicx,calc}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\newdimen\vz@tempdim
\def\vzoig@space{ }%
\def\pt@to@bp#1{#1=.99627393548#1}% 1bp=1.00374pt
\def\overlayincludegraphicsandbox#1#2{%
\def\vzoig@options{[clip=true, viewport= 0 0 }%
\setlength{\vz@tempdim}{\widthof{#2}}\relax
\pt@to@bp\vz@tempdim
\edef\vzoig@options{\vzoig@options\strip@pt\vz@tempdim\vzoig@space}%
\setlength{\vz@tempdim}{\heightof{\raisebox{\depth}{#2}}+1pt}\relax
\pt@to@bp\vz@tempdim
\edef\vzoig@options{\vzoig@options\strip@pt\vz@tempdim\vzoig@space}%
\edef\vzoig@options{\vzoig@options]}%
% \show\vzoig@options
\vbox{%
\vbox to 0pt{%
\hbox to 0pt{\expandafter\includegraphics\vzoig@options{#1}\hss}%
\vss}%
\vbox{#2}}}
\newsavebox\tempboxa
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\hbox to \hsize{%
\hbox to 0pt{\hss
\overlayincludegraphicsandbox{tex1.eps}{%
\hbox to 1cm{%
\hfill\bfseries\Large\thesection.\hfill
\raisebox{-2pt}{\strut}%
\raisebox{2pt}{\strut}%
}}%
\ }%
\hbox to \hsize{%
\overlayincludegraphicsandbox{tex1.eps}{%
\hbox to \hsize{%
\hbox to 2pt{\hss}%
\vtop{%
\advance\hsize by -2pt
\advance\hsize by -2pt
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
\raisebox{2pt}{\strut}%
#2\raisebox{-2pt}{\strut}%
}%
\hbox to 2pt{\hss}%
}%
}}%
}
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\hbox to \hsize{%
% \hbox to 0pt{\hss
% \overlayincludegraphicsandbox{tex1.eps}{%
% \hbox to 1cm{%
% \hfill\bfseries\Large\thesection.\hfill
% \raisebox{-2pt}{\strut}%
% \raisebox{2pt}{\strut}%
% }}%
% \ }%
\hbox to \hsize{%
\overlayincludegraphicsandbox{tex1.eps}{%
\hbox to \hsize{%
\hbox to 2pt{\hss}%
\vtop{%
\advance\hsize by -2pt
\advance\hsize by -2pt
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
\raisebox{2pt}{\strut}%
#2\raisebox{-2pt}{\strut}%
}%
\hbox to 2pt{\hss}%
}%
}}%
}
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
37
\documentclass{sample}
\usepackage{pstcol,psboxit}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\vbox{%
\hbox to \hsize{%
\psboxit{box 1 .8 .8 setrgbcolor fill}{%
\vbox{%
\hbox to \hsize{%
\hbox to 1cm{\hss\bfseries\Large\thesection.\ }%
\vtop{%
\advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}%
}}}%
\red \hrule height 1pt depth 0pt width \hsize
}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\vbox{%
\hbox to \hsize{%
\psboxit{box 1 .8 .8 setrgbcolor fill}{%
\vbox{%
\hbox to \hsize{%
% \hbox to 1cm{\hss\bfseries\Large\thesection.\ }%
\vtop{%
% \advance \hsize by -1cm
\parindent=0pt
\leavevmode\raggedright\bfseries\Large
\raisebox{2pt}{\strut}%
\raisebox{-2pt}{\strut}%
#2
}}%
}}}%
\red \hrule height 1pt depth 0pt width \hsize
}\nobreak
\vskip 2mm\nobreak
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
\ignorespaces
}
\makeatother
\pagestyle{empty}
\begin{document}
\makeatletter
\texte
\section*{Introduction}
\sometext@@
\section{Suite}
\sometext@@
\section{Suite}
\sometext@@
\section{Fin}
\sometext@@
%\tableofcontents
\end{document}
Automatically generated
ven avr 20 13:06:47 CEST 2001
Vincent Zoonekynd <zoonek@math.jussieu.fr>