mirror of https://github.com/CGAL/cgal
122 lines
3.5 KiB
TeX
122 lines
3.5 KiB
TeX
\def\fileversion{0.1}
|
|
\def\filedate{2002/09/16}
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{tutorial}[\filedate\space\fileversion\space
|
|
Style for tutorial]
|
|
\RequirePackage{graphicx}
|
|
\RequirePackage{float}
|
|
\RequirePackage{times}
|
|
\RequirePackage{caption2}
|
|
\renewcommand{\captionfont}{\it}
|
|
\renewcommand{\captionlabelfont}{\rm}
|
|
\renewcommand{\captionlabeldelim}{~--}
|
|
% placement par défaut des figures : HERE
|
|
\floatplacement{figure}{H}
|
|
% deux colonnes
|
|
%\twocolumn
|
|
\sloppy
|
|
\flushbottom
|
|
\parindent 0em
|
|
\leftmargini 2em
|
|
\leftmarginv .5em
|
|
\leftmarginvi .5em
|
|
\marginparwidth 20pt
|
|
\marginparsep 10pt
|
|
\oddsidemargin 0.77cm
|
|
\evensidemargin 0.77cm
|
|
|
|
\topmargin 10mm
|
|
\headheight 0mm
|
|
\headsep 1mm
|
|
\textheight 8.0in
|
|
\textwidth 5.875in
|
|
\columnsep 1cm
|
|
\captionmargin 1cm
|
|
|
|
\pagestyle{empty}
|
|
\def\@normalsize{\@setsize\normalsize{10pt}\xpt\@xpt
|
|
\abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
|
|
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt
|
|
minus3pt\let\@listi\@listI}
|
|
\def\section{\@startsection {section}{1}{\z@}
|
|
{-1ex plus -.2ex minus -.2ex}{1ex plus .2ex}{\Large\bf}}
|
|
\def\subsection{\@startsection {subsection}{2}{\z@}
|
|
{-1ex plus -.2ex minus -.2ex}{1ex plus .2ex}{\large\bf}}
|
|
\renewcommand{\subsubsection}[1]{\paragraph*{\bf #1.}}
|
|
\def\paragraph{\@startsection {paragraph}{4}{\z@}
|
|
{-1ex plus -.2ex minus -.2ex}{-1em}{\normalsize\bf}}
|
|
\def\subparagraph{\@startsection {subparagraph}{4}{\parindent}
|
|
{-1ex plus -.2ex minus -.2ex}{-1em}{\normalsize\bf}}
|
|
% \Figure{Titre}{label}{nomfichier}{largeur}
|
|
\def\Figure#1#2#3#4{\begin{figure}%
|
|
\begin{center}
|
|
\includegraphics[width=#4\linewidth]{#3}
|
|
\end{center}
|
|
\caption{#1}
|
|
\label{#2}
|
|
\end{figure}%
|
|
}
|
|
|
|
\@ifclassloaded{article}{
|
|
% Here if \documentclass{article}
|
|
\def\@part[#1]#2{%
|
|
\ifnum \c@secnumdepth >\m@ne
|
|
\refstepcounter{part}%
|
|
\addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
|
|
\else
|
|
\addcontentsline{toc}{part}{#1}%
|
|
\fi
|
|
{\parindent \z@ \raggedright
|
|
\interlinepenalty \@M
|
|
\normalfont
|
|
\ifnum \c@secnumdepth >\m@ne
|
|
\Large \sffamily \bfseries \partname~\thepart
|
|
\par\nobreak
|
|
\fi
|
|
\huge \sffamily \bfseries #2%
|
|
\markboth{}{}\par}%
|
|
\nobreak
|
|
\vskip 3ex
|
|
\@afterheading}
|
|
\def\@spart#1{%
|
|
{\parindent \z@ \raggedright
|
|
\interlinepenalty \@M
|
|
\normalfont
|
|
\huge \sffamily \bfseries #1\par}%
|
|
\nobreak
|
|
\vskip 3ex
|
|
\@afterheading}}
|
|
|
|
\renewcommand{\section}{\@startsection {section}{1}{\z@}%
|
|
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
|
{2.3ex \@plus.2ex}%
|
|
{\normalfont\Large\sffamily\bfseries}}
|
|
|
|
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
|
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
|
{1.5ex \@plus .2ex}%
|
|
{\normalfont\large\sffamily\bfseries}}
|
|
|
|
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}%
|
|
{\z@}%
|
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
|
{1.5ex \@plus .2ex}%
|
|
{\normalfont\normalsize\sffamily\bfseries}}
|
|
|
|
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
|
|
{3.25ex \@plus1ex \@minus.2ex}%
|
|
{-1em}%
|
|
{\normalfont\normalsize\sffamily\bfseries}}
|
|
|
|
\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}%
|
|
{\parindent}%
|
|
{3.25ex \@plus1ex \@minus .2ex}%
|
|
{-1em}%
|
|
{\normalfont\normalsize\sffamily\bfseries}}
|
|
\endinput
|
|
|
|
%%
|
|
%% End of `SFheaders.sty'.
|
|
%%%% fin macro %%%%
|
|
|