Debian Codegraph @

texmf-dist/source/latex/smflatex/smflatex.dtx

raw
1 % \iffalse meta-comment
2 %
3 % smflatex package version 1.6-20210418
4 % Copyright (c) 1999-2021 Societe mathematique de France
5 %
6 % Ce fichier contient classes, paquetages et documentation pour
7 % les publications de la Societe mathematique de France (SMF).
8 %
9 % Ces classes utilisent du code des classes amsart et amsbook de
10 % l'American Mathematical Society (AMS).
11 %
12 % Leur modification est interdite \`a moins de modifier le nom de
13 % la classe.
14 %
15 % \fi
16 % \CheckSum{11858}
17 %% \CharacterTable
18 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
19 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
20 %% Digits \0\1\2\3\4\5\6\7\8\9
21 %% Exclamation \! Double quote \" Hash (number) \#
22 %% Dollar \$ Percent \% Ampersand \&
23 %% Acute accent \' Left paren \( Right paren \)
24 %% Asterisk \* Plus \+ Comma \,
25 %% Minus \- Point \. Solidus \/
26 %% Colon \: Semicolon \; Less than \<
27 %% Equals \= Greater than \> Question mark \?
28 %% Commercial at \@ Left bracket \[ Backslash \\
29 %% Right bracket \] Circumflex \^ Underscore \_
30 %% Grave accent \` Left brace \{ Vertical bar \|
31 %% Right brace \} Tilde \~}
32 %
33 % \changes{v0.2}{1997/01/02}{Utilisation de \texttt{doc.sty} et cr\'eation
34 % d'une documentation}
35 % \changes{v0.3}{1997/05/20}{Diverses options pour les th\'eor\`emes}
36 % \changes{v0.3}{1997/05/21}{Ajout du manuel}
37 % \changes{v0.3}{1997/05/28}{Fin de l'\'etat 1 du manuel (v.f.)}
38 % \changes{v0.4}{1997/07/01}{Manuel dans un fichier s\'epar\'e,
39 % au format smfart}
40 % \changes{v0.5}{1997/07/10}{Packages auxiliaires pour les revues}
41 % \changes{v0.5}{1997/07/10}{Package de th\'eor\`emes}
42 % \changes{v0.6}{1997/07/15}{Package smfmulti}
43 %
44 % \changes{v1.2}{1999/11/17}{Use \cs{GetFileInfo}}
45 % \changes{v1.3}{1999/11/20}{Remise \`a jour de la documentation}
46 % \changes{v1.3a}{2000/02/15}{Modification des styles revues}
47 %
48 % \changes{v1.3b}{2001/09/26}{Am\'elioration des commentaires et
49 % meilleure utilisation de \textsf{docstrip}}
50 % \changes{v1.3b}{2001/10/04}{Les labels de biblio s'ajustent
51 % automatiquement}
52 % \changes{v1.3b}{2001/10/04}{babel est charg\'e en dernier}
53 % \changes{v1.3b}{2001/10/04}{Pr\'evision de polices pour l'Euro}
54 % \changes{v1.3b}{2001/10/04}{Introuduction de \cs{emergencyhyphenate}}
55 % \changes{v1.3c}{2001/10/10}{Corrections mineures}
56 % \changes{v1.3c}{2001/10/10}{Introduction de \cs{smfmulti@protect}}
57 % \changes{v1.3d}{2002/07/02}{Remise \`a jour des environnements de preuve}
58 % \changes{v1.3e}{2003/01/13}{Modification d'un bug dans les environnements
59 % de figures et tables; rajout des env. figure* et table*}
60 % \changes{v1.3f}{2003/10/28}{Ajout d'une p\'enalit\'e n\'egative avant
61 % les \'enonc\'es de th\'eor\`emes}
62 % \changes{v1.4f}{2010/11/07}{Mise \`a jour suite \`a une s\'erie
63 % d'incompatibilit\'es avec hyperref (sections, th\'eor\`emes)}
64 % \changes{v1.5}{2012/09/26}{Mise à jour sérieuse (théorèmes, sections)}
65 % \changes{v1.5a}{2012/09/29}{Modifications supplémentaires en lien avec hyperref}
66 % \changes{v1.5b}{2014/01/11}{Réparation d'un bug ayant fait disparaître les titres de sections dans les titres courants}
67 % \changes{v1.5c}{2015/09/02}{Réparation d'un petit bug dans les environnements de théorèmes}
68 % \changes{v1.5d}{2018/05/30}{Ajout de option 14pt}
69 % \changes{v1.5e}{2019/07/11}{Ajout de appendixname (détecté par @KpanRambles)}
70 % \changes{v1.5f}{2020/11/05}{Remplacement de latin1 par utf8 et réparation de GetFileInfo}
71 % \changes{v1.6}[2021/03/28]{Ajout de préfixes smf aux noms de fichiers}
72 % \changes{v1.6}[2021/03/28]{Incorporation de upitparen dans smfgen}
73 % \changes{v1.6}[2021/04/18]{Correction de smfhyperref (backref)}
74 %
75 %
76 % \DoNotIndex{\@,\@@par,\@beginparpenalty,\@empty}
77 % \DoNotIndex{\@flushglue,\@gobble,\@input}
78 % \DoNotIndex{\@makefnmark,\@makeother,\@maketitle}
79 % \DoNotIndex{\@namedef,\@ne,\@spaces,\@tempa}
80 % \DoNotIndex{\@tempb,\@tempswafalse,\@tempswatrue}
81 % \DoNotIndex{\@thanks,\@thefnmark,\@topnum}
82 % \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa,\@totalleftmargin}
83 % \DoNotIndex{\",\/,\@ifundefined,\@nil,\@verbatim,\@vobeyspaces}
84 % \DoNotIndex{\|,\~,\ ,\active,\advance,\aftergroup,\begingroup,\bgroup}
85 % \DoNotIndex{\mathcal,\csname,\def,\documentstyle,\dospecials,\edef}
86 % \DoNotIndex{\egroup}
87 % \DoNotIndex{\else,\endcsname,\endgroup,\endinput,\endtrivlist}
88 % \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef,\global}
89 % \DoNotIndex{\hbox,\hss,\if,\if@inlabel,\if@tempswa,\if@twocolumn}
90 % \DoNotIndex{\ifcase}
91 % \DoNotIndex{\ifcat,\iffalse,\ifx,\ignorespaces,\index,\input,\item}
92 % \DoNotIndex{\jobname,\kern,\leavevmode,\leftskip,\let,\llap,\lower}
93 % \DoNotIndex{\m@ne,\next,\newpage,\nobreak,\noexpand,\nonfrenchspacing}
94 % \DoNotIndex{\obeylines,\or,\protect,\raggedleft,\rightskip,\rm,\sc}
95 % \DoNotIndex{\setbox,\setcounter,\small,\space,\string,\strut}
96 % \DoNotIndex{\strutbox}
97 % \DoNotIndex{\thefootnote,\thispagestyle,\topmargin,\trivlist,\tt}
98 % \DoNotIndex{\twocolumn,\typeout,\vss,\vtop,\xdef,\z@}
99 % \DoNotIndex{\,,\@bsphack,\@esphack,\@noligs,\@vobeyspaces,\@xverbatim}
100 % \DoNotIndex{\`,\catcode,\end,\escapechar,\frenchspacing,\glossary}
101 % \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht,\it,\langle}
102 % \DoNotIndex{\leaders,\long,\makelabel,\marginpar,\markboth,\mathcode}
103 % \DoNotIndex{\mathsurround,\mbox,\newcount,\newdimen,\newskip}
104 % \DoNotIndex{\nopagebreak}
105 % \DoNotIndex{\parfillskip,\parindent,\parskip,\penalty,\raise,\rangle}
106 % \DoNotIndex{\section,\setlength,\TeX,\topsep,\underline,\unskip,\verb}
107 % \DoNotIndex{\vskip,\vspace,\widetilde,\\,\%,\@date,\@defpar}
108 % \DoNotIndex{\[,\{,\},\]}
109 % \DoNotIndex{\count@,\ifnum,\loop,\today,\uppercase,\uccode}
110 % \DoNotIndex{\baselineskip,\begin,\tw@}
111 % \DoNotIndex{\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k,\l,\m,\n,\o,\p,\q}
112 % \DoNotIndex{\r,\s,\t,\u,\v,\w,\x,\y,\z,\A,\B,\C,\D,\E,\F,\G,\H}
113 % \DoNotIndex{\I,\J,\K,\L,\M,\N,\O,\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z}
114 % \DoNotIndex{\1,\2,\3,\4,\5,\6,\7,\8,\9,\0}
115 % \DoNotIndex{\!,\#,\$,\&,\',\(,\),\+,\.,\:,\;,\<,\=,\>,\?,\_}
116 % \DoNotIndex{\discretionary,\immediate,\makeatletter,\makeatother}
117 % \DoNotIndex{\meaning,\newenvironment,\par,\relax,\renewenvironment}
118 % \DoNotIndex{\repeat,\scriptsize,\selectfont,\the,\undefined}
119 % \DoNotIndex{\arabic,\do,\makeindex,\null,\number,\show,\write,\@ehc}
120 % \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title,\everypar}
121 % \DoNotIndex{\if@minipage,\if@restonecol,\ifeof,\ifmmode}
122 % \DoNotIndex{\lccode,\newtoks,\onecolumn,\openin,\p@,\SelfDocumenting}
123 % \DoNotIndex{\settowidth,\@resetonecoltrue,\@resetonecolfalse,\bf}
124 % \DoNotIndex{\clearpage,\closein,\lowercase,\@inlabelfalse}
125 % \DoNotIndex{\selectfont,\mathcode,\newmathalphabet,\rmdefault}
126 % \DoNotIndex{\bfdefault}
127 %
128 % \iffalse
129 % \begin{macrocode}
130 %<*doc>
131 \NeedsTeXFormat{LaTeX2e}
132 \ProvidesFile{smfdoc.tex}[2020/11/05 v1.5f
133 Documentation LaTeX pour les classes et styles SMF]
134 \documentclass{ltxdoc}
135 \GetFileInfo{smfdoc.tex}
136 \usepackage{amssymb,amstext}
137 \usepackage[T1]{fontenc}
138 \usepackage[utf8]{inputenc}
139 \usepackage[frenchb]{babel}
140 % \end{macrocode}
141 % On veut un index avec les num\'eros de ligne
142 % ainsi qu'une liste des changements.
143 % \begin{macrocode}
144 % \DisableCrossrefs if index is ready
145 % Say \EnableCrossrefs if index is not ready
146 \EnableCrossrefs
147 \RecordChanges
148 \CodelineIndex
149 \setlength\hfuzz{15pt} % dont make so many
150 \hbadness=7000 % over and under full box warnings
151
152 \IndexPrologue{\section*{Index} Les nombres en \usage{italique}
153 d\'esignent les pages o\`u l'entr\'ee correspondante est d\'ecrite,
154 ceux \main{soulign\'es} leur d\'efinition, et les autres signalent
155 les endroits o\`u l'entr\'ee est utilis\'ee.}
156
157 \begin{document}
158 \let\oldsection\section
159 \def\section{\clearpage\oldsection}
160 \DocInput{smflatex.dtx}
161 \end{document}
162 % \end{macrocode}
163 %</doc>
164 % \fi
165 %
166 % \title{Classes \LaTeXe\ pour les publications de la SMF}
167 % \author{A.\ Chambert-Loir \&\ SMF}
168 % \date{\today --- Version \fileversion{}, dat\'ee du \filedate{}.}
169 %
170 % \maketitle
171 %%
172 % \let\paquet\textsf
173 % \let\classe\textsf
174 % \def\paquetoption#1{{\sffamily\itshape #1}}
175 %
176 % Les classes \classe{smfbook} et \classe{smfart} ont
177 % \'et\'e d\'evelopp\'ees pour permettre la composition automatique de
178 % documents conform\'ement aux sp\'ecifications de la Soci\'et\'e
179 % math\'ematique de France.
180 % Les quelques pages qui suivent ont
181 % pour but de donner quelques informations sur leur utilisation.
182 % Ces classes ont \'et\'e con\c{c}ues pour \^etre le plus possible
183 % compatible avec les
184 % classes d\'evelopp\'ees par l'AMS \classe{amsart} et \classe{amsbook}.
185 %
186 % Pour les utiliser, il faut disposer~:
187 % \begin{itemize}
188 % \item de \LaTeXe, si possible une version r\'ecente. La classe
189 % ne fonctionne pas avec l'ancienne version \LaTeX 2.09,
190 % obsol\`ete depuis plusieurs ann\'ees~;
191 % \item des divers {\em package}s {AMS-\LaTeX} fournis par l'AMS~;
192 % il est pr\'ef\'erable de disposer de la version de novembre 1996,
193 % mais cela devrait fonctionner avec celle de 1995.
194 % \end{itemize}
195 % Pour mettre en page un \'eventuel index,
196 % il est de plus souhaitable de disposer du {\em package}
197 % \paquet{multicol}.
198 %
199 % D'autre part, il est important de composer le document de la mani\`ere
200 % le plus standard possible, en limitant le nombre de macros
201 % {\og maison\fg} suppl\'ementaires,
202 % d'autant que de nombreux {\em package}s apportent
203 % de nouvelles fonctionnalit\'es \`a \LaTeXe. Nous sugg\'erons ainsi
204 % d'utiliser~:
205 % \begin{itemize}
206 % \item \paquet{xypic}, pour les diagrammes~;
207 % \item \paquet{epsfig}, pour l'inclusion de dessins r\'ealis\'es
208 % en {\scshape PostScript} (encapsul\'e)~;
209 % \item \paquet{babel},
210 % qui permet des documents multilingues (c\'esure, etc.). Sont
211 % g\'er\'ees les options \paquetoption{frenchb} et
212 % \paquetoption{english}.
213 % \end{itemize}
214 %
215 % Nous avons aussi d\'evelopp\'e un certain nombres de packages :
216 % \begin{itemize}
217 % \item \paquet{smfthm} d\'efinit quelques envionnements
218 % de th\'eor\`emes et permet de
219 % g\'erer leur apparence de mani\`ere (un peu) transparente.
220 % \item \paquet{smfenum} am\'eliore les param\`etres des listes.
221 % J'esp\`ere l'inclure
222 % dans les classes un jour ou l'autre.
223 % \item \paquet{smfmulti} permet de composer un document
224 % en plusieurs morceaux
225 % (cha\^i nage automatique, etc.).
226 % \end{itemize}
227 % Les revues ont chacune leurs bidouillages propres, d'o\`u des
228 % paquetages aux noms transparents : \paquet{asterisque}, etc.
229 % Ce qui est commun \`a chaque revue est fait dans \texttt{smfgen}.
230 % Un certain nombre de donn\'ees volatiles (directeur de
231 % publication, prix, etc.) sont entr\'ees dans le paquetage
232 % \paquet{smfvar}. Celui-ci n'est pas inclus dans ce qui
233 % suit.
234 %
235 % Enfin, pour faciliter la gestion des bases de donn\'ees
236 % internes \`a la SMF, le paquet \paquet{smfbib} fabrique des
237 % notices bibliographiques normalis\'ees.
238 %
239 % \StopEventually
240 %
241 % \tableofcontents
242 %
243 % \section{Ent\^etes}
244 % \begin{macrocode}
245 %<article|book>\NeedsTeXFormat{LaTeX2e}
246 %<*article>
247 \ProvidesClass{smfart}[2021/03/28 v1.6
248 Classe LaTeX pour les articles publies par la SMF]
249 \def\@classname{smfart}
250 %</article>
251 %<*book>
252 \ProvidesClass{smfbook}[2021/03/28 v1.6
253 Classe LaTeX pour les monographies editees par la SMF]
254 \def\@classname{smfbook}
255 %</book>
256 % \end{macrocode}
257 % \section{Mise en page}
258 % \begin{macrocode}
259 %<*article|book>
260 \RequirePackage{amsgen}
261 % \end{macrocode}
262 % \subsection{Majuscules}
263 % \begin{macro}{\uppercasenonmath}
264 % Ces macros sont pomp\'ees de l'AMS. Bizarrement, l'ancienne version s'est
265 % mise \`a bugger r\'ecemment ! Elles servent \`a mettre un texte en majuscules
266 % en \'evitant les maths.
267 % Si \verb|\toto| s'expande en \texttt{Salut}, apr\`es
268 % \verb|\uppercasenonmath\toto|, \verb|\toto| s'expande en \texttt{SALUT}.
269 % \begin{macrocode}
270 \newcommand{\uppercasenonmath}[1]{\toks@\@emptytoks
271 \@xp\@skipmath\@xp\@empty#1$$%
272 \edef#1{\@nx\@upprep\the\toks@}%
273 }
274 \newcommand{\@upprep}{%
275 \spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
276 \upchars@}
277 \newcommand{\upchars@}{%
278 \def\ss{SS}\def\i{I}\def\j{J}\def\ae{\AE}\def\oe{\OE}%
279 \def\o{\O}\def\aa{\AA}\def\l{\L}\def\Mc{M{\scshape c}}}
280 \newcommand{\@skipmath}{}
281 \long\def\@skipmath#1$#2${%
282 \@xskipmath#1\(\)%
283 \@ifnotempty{#2}{\toks@\@xp{\the\toks@$#2$}\@skipmath\@empty}}%
284 \newcommand{\@xskipmath}{}
285 \long\def\@xskipmath#1\(#2\){%
286 \uppercase{\toks@\@xp\@xp\@xp{\@xp\the\@xp\toks@#1}}%
287 \@ifnotempty{#2}{\toks@\@xp{\the\toks@\(#2\)}\@xskipmath\@empty}}%
288 % \end{macrocode}
289 % \end{macro}
290 % \begin{macro}{\MakeUppercase}
291 % On red\'efinit |\MakeUppercase| afin qu'il utilise |\uppercasenonmath| et
292 % qu'il ne mette pas les math\'ematiques en majuscules.
293 % \DescribeMacro{\@smfprotect}
294 % La macro |\@smfprotect| permet de prot\'eger les |\\|.
295 % \begin{macrocode}
296 \def\@smfprotect{\let\smfcr\\\def\\{\protect\smfcr}}
297 \DeclareRobustCommand{\MakeUppercase}[1]{{%
298 \@smfprotect\upchars@
299 \protected@edef\reserved@a{#1}\uppercasenonmath\reserved@a\reserved@a}}
300 \protected@edef\MakeUppercase#1{\MakeUppercase{#1}}
301 % \end{macrocode}
302 % \end{macro}
303 % \subsection{Date (anglaise)}
304 % \DescribeMacro{\today}
305 % \begin{macrocode}
306 \newcommand{\today}{%
307 \relax\ifcase\month\or
308 January\or February\or March\or April\or May\or June\or
309 July\or August\or September\or October\or November\or December\fi
310 \space\number\day, \number\year}
311 % \end{macrocode}
312 % \subsection{Commandes de caract\`eres pr\'e-NFSS}
313 % \DescribeMacro{\rm}
314 % \DescribeMacro{\sf}
315 % \DescribeMacro{\tt}
316 % \DescribeMacro{\bf}
317 % \DescribeMacro{\it}
318 % \DescribeMacro{\it}
319 % \DescribeMacro{\sl}
320 % \DescribeMacro{\sc}
321 % Avant d'avoir l'effet escompt\'e, ces macros reviennent en |\normalfont|,
322 % comme autrefois dans \LaTeX 2.09 (avant NFSS).
323 % Ces commandes sont rajout\'ees par AMS-\LaTeX, il faut bien avouer
324 % qu'elles peuvent \^etre salvatrices face \`a certains fichiers d\'emod\'es,
325 % alors je les laisse~!
326 % \begin{macrocode}
327 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
328 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
329 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
330 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
331 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
332 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
333 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
334 % \end{macrocode}
335 % \subsection{Changements de casse}
336 % \DescribeMacro{\larger}
337 % \DescribeMacro{\smaller}
338 % Ce code est emprunt\'e \`a \texttt{amsbook.cls}, il serait donc de bon ton de
339 % demander l'avis de l'$\mathcal{AMS}$ avant de publier cette classe, ou
340 % alors de tout r\'ecrire.
341 % \begin{macrocode}
342 \newcommand{\larger}[1][1]{%
343 \count@\@currsizeindex \advance\count@#1\relax
344 \ifnum\count@<\z@ \count@\z@
345 \else\ifnum\count@>12 \count@12 \fi\fi
346 \ifcase\count@
347 \Tiny\or\Tiny\or\tiny\or\SMALL\or\Small\or\small
348 \or\normalsize
349 \or\large\or\Large\or\LARGE\or\huge\or\Huge\else\Huge
350 \fi
351 }
352 \newcommand{\smaller}[1][1]{\larger[-#1]}
353 \def\@adjustvertspacing{%
354 \bigskipamount.7\baselineskip plus.7\baselineskip
355 \medskipamount\bigskipamount \divide\medskipamount\tw@
356 \smallskipamount\medskipamount \divide\smallskipamount\tw@
357 \abovedisplayskip\medskipamount
358 \belowdisplayskip \abovedisplayskip
359 \abovedisplayshortskip\abovedisplayskip
360 \advance\abovedisplayshortskip-1\abovedisplayskip
361 \belowdisplayshortskip\abovedisplayshortskip
362 \advance\belowdisplayshortskip 1\smallskipamount
363 \jot\baselineskip \divide\jot 4 \relax
364 }
365 % \end{macrocode}
366 % On d\'efinit les macros usuelles pour changer de tailles.
367 % C'est la macro |\@setfontsize| qui fera le travail. Elle utilise
368 % |\@typesizes| qui est d\'efini plus bas.
369 % \begin{macrocode}
370 \renewcommand\normalsize{\@xsetfontsize\normalsize 6%
371 \@adjustvertspacing \let\@listi\@listI}
372 \newcommand\Tiny{\@xsetfontsize\Tiny 1}
373 \newcommand\tiny{\@xsetfontsize\tiny 2}
374 \newcommand\SMALL{\@xsetfontsize\SMALL 3}
375 \newcommand\Small{\@xsetfontsize\Small 4%
376 \@adjustvertspacing
377 \def\@listi{\topsep\smallskipamount \parsep\z@skip
378 \itemsep\z@skip}}
379 \newcommand\small{\@xsetfontsize\small 5\@adjustvertspacing}
380 \def\footnotesize{\Small}
381 \def\scriptsize{\SMALL}
382 \newcommand\large{\@xsetfontsize\large 7\@adjustvertspacing}
383 \newcommand\Large{\@xsetfontsize\Large 8\@adjustvertspacing}
384 \newcommand\LARGE{\@xsetfontsize\LARGE 9}
385 \newcommand\huge{\@xsetfontsize\huge{10}}
386 \newcommand\Huge{\@xsetfontsize\Huge{11}}
387 \def\@xsetfontsize#1#2{%
388 \chardef\@currsizeindex#2\relax
389 \edef\@tempa{\@nx\@setfontsize\@nx#1%
390 \@xp\ifcase\@xp\@currsizeindex\@typesizes
391 \else{99}{99}\fi}%
392 \@tempa
393 }
394 % \end{macrocode}
395 % \subsection{Param\`etres}
396 % Je ne comprends pas tous ces param\`etres, il faudra les \'etudier un par
397 % un.
398 %
399 % Le premier r\'ef\`ere la taille courante (|\normalsize|).
400 % \begin{macrocode}
401 \chardef\@currsizeindex=6
402 % \end{macrocode}
403 % Les veuves, orphelines et c\'esures sont proscrites en bas de page.
404 % \begin{macrocode}
405 \widowpenalty=10000
406 \clubpenalty=10000
407 \brokenpenalty=10000
408 % \end{macrocode}
409 % La macro |\linespacing| est utilis\'ee \`a plusieurs endroits~:
410 % elle vaut essentiellement |\baselineskip|.
411 % Ces param\`etres servent aussi pour la gestion
412 % des formules math\'ematiques dans
413 % les packages {\em amsmath} et {\em amstex}.
414 % \begin{macrocode}
415 \newdimen\linespacing
416 \lineskip=1pt \normallineskip=1pt
417 \lineskiplimit=1pt \normallineskiplimit=1pt
418 % \end{macrocode}
419 % Le texte me para\^{\i}trait plus lisible un peu plus espac\'e que la
420 % normale, je mais tout de m\^eme un |\baselinestretch| de |{1}|.
421 % \begin{macrocode}
422 \def\baselinestretch{1} %% 1.1 is better
423 % \end{macrocode}
424 % Les sp\'ecifications g\'en\'eriques de la SMF pour le format des pages~:
425 % \begin{itemize}
426 % \item un cadre de $13\times 21{,}5\,\text{cm}$, titres courants et pied de
427 % page compris~;
428 % \item Un espace de $1\,\text{cm}$ entre la premi\`ere ligne du texte et le
429 % titre courant~;
430 % \item un espace de $1\,\text{cm}$, voire $1{,}5\,\text{cm}$
431 % entre le pied de page et la derni\`ere ligne du texte.
432 % \end{itemize}
433 % \begin{macrocode}
434 \textheight 21.5cm
435 \textwidth 13cm
436 \headheight=10pt
437 \headsep 10mm
438 \footskip 10mm % was .7
439 \columnsep=10pt \columnseprule=0pt
440 \marginparsep=10pt
441 \marginparpush=5pt
442 \marginparwidth=90pt
443 \newskip\normaltopskip
444 % \end{macrocode}
445 % \begin{macrocode}
446 \skip\footins=12pt plus12pt
447 \skip\@mpfootins=\skip\footins
448
449 \fboxsep=3pt \fboxrule=.4pt
450
451 \arrayrulewidth=.4pt \doublerulesep=2pt
452 \labelsep=5pt \arraycolsep=\labelsep
453 \tabcolsep=\labelsep \tabbingsep=\labelsep
454
455 \floatsep=15pt plus 12pt \dblfloatsep=15pt plus 12pt
456 \textfloatsep=\floatsep \dbltextfloatsep=15pt plus 12pt
457 \intextsep=\floatsep
458
459 \@fptop=0pt plus1fil \@dblfptop=0pt plus1fil
460 \@fpbot=0pt plus1fil \@dblfpbot=0pt plus1fil
461 \@fpsep=10pt plus2fil \@dblfpsep=10pt plus2fil\relax
462 % \end{macrocode}
463 % Aucun espacement entre deux paragraphes. Sinon, comme |\@parboxrestore|
464 % supprime l'alin\'ea dans des notes de bas de page, on utilise l'astuce de
465 % {\em amsart} pour la r\'etablir~; |\normalparindent| est la largeur de
466 % l'alin\'ea standard.
467 % \begin{macrocode}
468 \parskip=0pt
469
470 \newdimen\normalparindent
471 \normalparindent=12pt
472 \parindent=\normalparindent
473
474 \parsep 0pt
475 \partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
476
477 \@lowpenalty=51 \@medpenalty=151 \@highpenalty=301
478 \@beginparpenalty=-\@lowpenalty
479 \@endparpenalty=-\@lowpenalty
480 \@itempenalty=-\@lowpenalty
481 % \end{macrocode}
482 % \subsection{Calculs}
483 % \begin{macro}{\calclayout}
484 % Dans cette impl\'ementation, la partie imprim\'ee de la feuille
485 % est centr\'ee aussi bien verticalement qu'horizontalement.
486 % \begin{macrocode}
487 \def\calclayout{\normalsize
488 \topskip\normaltopskip
489 \settoheight{\footnotesep}{\normalfont\footnotesize M$^1$}%
490 \@tempdima=\textheight
491 \advance\textheight -\headheight
492 \advance\textheight -\headsep
493 \advance\textheight -\footskip
494 \advance\textheight -\topskip
495 \divide\textheight\baselineskip\@tempcnta\textheight
496 \textheight\@tempcnta\baselineskip
497 \advance\textheight \topskip
498 \headsep\@tempdima
499 \advance\headsep -\textheight \advance\headsep -\headheight
500 \footskip=.5\headsep\advance\footskip .5\baselineskip
501 \advance\headsep by -\footskip
502
503 \oddsidemargin\paperwidth
504 \advance\oddsidemargin -\textwidth
505 \divide\oddsidemargin\tw@
506 \ifdim\oddsidemargin<.5truein \oddsidemargin.5truein \fi
507 \advance\oddsidemargin -1truein
508
509 \evensidemargin\oddsidemargin
510
511 \topmargin\paperheight \advance\topmargin -\textheight
512 \advance\topmargin -\headheight \advance\topmargin -\headsep
513 \advance\topmargin -\footskip
514 \divide\topmargin\tw@
515 \ifdim\topmargin<.5truein \topmargin.5truein \fi
516 \advance\topmargin -1truein\relax
517 }
518 % \end{macrocode}
519 % \end{macro}
520 % \subsection{Ent\^etes et pieds de page}
521 % \subsubsection{empty}
522 % \begin{macro}{\ps@empty}
523 % Rien du tout sur la page\dots
524 % \begin{macrocode}
525 \def\ps@empty{\let\@mkboth\@gobbletwo
526 \let\@oddhead\@empty \let\@evenhead\@empty
527 \let\@oddfoot\@empty \let\@evenfoot\@empty
528 \global\topskip\normaltopskip}
529 % \end{macrocode}
530 % \end{macro}
531 % \subsubsection{plain}
532 % \begin{macro}{\ps@plain}
533 % Ent\^etes vierges, num\'eros de pages centr\'es en bas de page.
534 % \begin{macrocode}
535 \def\ps@plain{\ps@empty
536 \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}%
537 \let\@evenfoot\@oddfoot}
538 %</article|book>
539 % \end{macrocode}
540 % \end{macro}
541 % \subsubsection{headings}
542 % \begin{macro}{ps@headings}
543 % C'est le style standard, les num\'eros de pages sont en haut, en gras,
544 % avec le texte des |\mark|, le pied de page est vierge.
545 % \begin{macrocode}
546 %<*article>
547 \def\ps@headings{\ps@empty
548 \def\@oddfoot{}%
549 \def\@evenfoot{}%
550 \def\@evenhead{\normalfont\scriptsize
551 \rlap{\bfseries\thepage}\hfil \leftmark{}{}\hfil}%
552 \def\@oddhead{\normalfont\scriptsize
553 \hfil \rightmark{}{}\hfil \llap{\bfseries\thepage}}%
554 \let\@mkboth\@gobbletwo}
555 %</article>
556 %<*book>
557 \def\ps@headings{\ps@empty
558 \def\@oddfoot{}%
559 \def\@evenfoot{}%
560 \def\@evenhead{\normalfont\scriptsize
561 \rlap{\bfseries\thepage}\hfil \leftmark{}{}\hfil}%
562 \def\@oddhead{\normalfont\scriptsize
563 \hfil \rightmark{}{}\hfil \llap{\bfseries\thepage}}%
564 \let\@mkboth\org@markboth
565 \def\partmark {\@secmark\markboth\partrunhead\partname}%
566 \def\chaptermark {\@secmark\markboth\chapterrunhead\chaptername}%
567 \def\sectionmark {\@secmark\markright\sectionrunhead\sectionname}%
568 \def\indexmark {\@secmark\markboth\indexrunhead\indexname}%
569 }
570 %</book>
571 % \end{macrocode}
572 % \end{macro}
573 % \subsubsection{copyright}
574 % Vierge en standard.
575 % \begin{macrocode}
576 %<*article|book>
577 \let\ps@copyright\ps@empty
578 % \end{macrocode}
579 % \subsubsection{myheadings}
580 % C'est le style \texttt{headings} sauf que les marques droite et gauche
581 % sont d\'ecid\'ees par l'utilisateur.
582 % \begin{macrocode}
583 \def\ps@myheadings{\ps@headings \let\@mkboth\@gobbletwo}
584 % \end{macrocode}
585 % \subsection{Marques}
586 % \begin{macrocode}
587 \def\leftmark{\expandafter\@firstoftwo\topmark{}{}}
588 \def\rightmark{\expandafter\@secondoftwo\botmark{}{}}
589 \long\def\@nilgobble#1\@nil{}
590 \def\@secmark#1#2#3#4{%
591 \begingroup \let\protect\@unexpandable@protect
592 \edef\@tempa{\endgroup \toks@{\protect#2{#3}{\@secnumber}}}%
593 \@tempa
594 \toks@\@xp{\the\toks@{#4}}%
595 \afterassignment\@nilgobble\@temptokena\@themark{}\@nil
596 \edef\@tempa{\@nx\@mkboth{%
597 \ifx\markright#1\the\@temptokena\else\the\toks@\fi}{\the\toks@}}%
598 \@tempa}
599 \let\@secnumber\@empty
600 \def\markboth#1#2{%
601 \begingroup
602 \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}%
603 \mark{\the\@temptokena}%
604 \endgroup
605 \if@nobreak\ifvmode\nobreak\fi\fi}
606 \let\org@markboth\markboth
607 % \end{macrocode}
608 % Avant de d\'ecider le style d'ent\^ete utilis\'e, pas de marques.
609 % \begin{macrocode}
610 \let\partmark\@gobble
611 \let\tocmark\@gobble
612 \let\sectionmark\@gobble
613 \let\subsectionmark\@gobble
614 \let\subsubsectionmark\@gobble
615 \let\paragraphmark\@gobble
616 % \end{macrocode}
617 % \subsection{Red\'efinition de \texttt{cleardoublepage}}
618 % En effet, la page saut\'ee lorsque par exemple un chapitre commence sur
619 % la page de droite doit \^etre vierge de tout ent\^ete/pied de page.
620 % \begin{macrocode}
621 \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
622 \thispagestyle{empty}\hbox{}\newpage
623 \if@twocolumn\hbox{}\newpage\fi\fi\fi}
624 % \end{macrocode}
625 % \section{Options}
626 % \subsection{Taille du papier}
627 % La taille par d\'efaut sera la taille A4 (\texttt{a4paper}) mais l'option
628 % \texttt{letterpaper} est conserv\'ee pour que la classe se comporte bien
629 % aux \'E.U.
630 % \begin{macrocode}
631 \DeclareOption{a4paper}{\paperheight 297mm\paperwidth 210mm}
632 \DeclareOption{letterpaper}{\paperheight 11in\paperwidth 8.5in }
633 % \end{macrocode}
634 % \subsection{Recto-verso}
635 % Cette option est appel\'ee \`a dispara\^{\i}tre.
636 % \begin{macrocode}
637 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
638 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
639 % \end{macrocode}
640 % \subsection{Version pr\'eliminaire}
641 % L'option \texttt{draft} correspond aux versions pr\'eliminaires, les
642 % barres noires d'{\itshape overfull hbox} sont visibles.
643 % Dans les packages additionnels smf, cela supprime les pages de
644 % couverture.
645 % \begin{macrocode}
646 \newif\if@draft
647 \DeclareOption{draft}{\@drafttrue\overfullrule5\p@ }
648 \DeclareOption{final}{\@draftfalse\overfullrule\z@ }
649 % \end{macrocode}
650 % \subsection{Une ou deux colonnes}
651 % \begin{macrocode}
652 \DeclareOption{onecolumn}{\@twocolumnfalse}
653 \DeclareOption{twocolumn}{\@twocolumntrue}
654 % \end{macrocode}
655 % \subsection{Num\'eros d'\'equations}
656 % \begin{macrocode}
657 \newif\iftagsleft@
658 \DeclareOption{leqno}{%
659 \tagsleft@true \PassOptionsToPackage{leqno}{amsmath}}
660 \DeclareOption{reqno}{%
661 \tagsleft@false \PassOptionsToPackage{reqno}{amsmath}}
662 % \end{macrocode}
663 % \subsection{Alignement des \'equations \`a gauche}
664 % \begin{macrocode}
665 \DeclareOption{fleqn}{%
666 \def\[{\relax
667 \ifmmode\@badmath
668 \else
669 \begin{trivlist}%
670 \@beginparpenalty\predisplaypenalty
671 \@endparpenalty\postdisplaypenalty
672 \item[]\leavevmode
673 \hbox to\linewidth\bgroup$\displaystyle
674 \hskip\mathindent\bgroup
675 \fi}%
676 \def\]{\relax
677 \ifmmode
678 \egroup \m@th$\hfil \egroup
679 \end{trivlist}%
680 \else \@badmath
681 \fi}%
682 \renewenvironment{equation}{%
683 \@beginparpenalty\predisplaypenalty
684 \@endparpenalty\postdisplaypenalty
685 \refstepcounter{equation}%
686 \@topsep\abovedisplayskip \trivlist
687 \item[]\leavevmode
688 \hbox to\linewidth\bgroup\hskip\mathindent$\displaystyle
689 }{%
690 \m@th$\hfil \displaywidth\linewidth \hbox{\@eqnnum}\egroup
691 \endtrivlist
692 }%
693 \renewenvironment{eqnarray}{%
694 \stepcounter{equation}\let\@currentlabel\theequation
695 \global\@eqnswtrue \global\@eqcnt\z@ \tabskip\mathindent
696 \let\\=\@eqncr \abovedisplayskip\topsep
697 \ifvmode \advance\abovedisplayskip\partopsep \fi
698 \belowdisplayskip\abovedisplayskip
699 \belowdisplayshortskip\abovedisplayskip
700 \abovedisplayshortskip\abovedisplayskip
701 $$\everycr{}\halign to\linewidth\bgroup
702 \hskip\@centering
703 $\displaystyle\tabskip\z@skip####\m@th$&%
704 \@eqnsel \global\@eqcnt\@ne
705 \hfil${}####{}\m@th$\hfil&%
706 \global\@eqcnt\tw@
707 $\displaystyle ####\m@th$\hfil\tabskip\@centering&%
708 \global\@eqcnt\thr@@
709 \hbox to \z@\bgroup\hss####\egroup\tabskip\z@skip\cr
710 }{%
711 \@@eqncr \egroup \global\advance\c@equation\m@ne$$%
712 \global\@ignoretrue
713 }%
714 \newdimen\mathindent \mathindent\leftmargini
715 }
716 % \end{macrocode}
717 % \subsection{Math\'ematiques grasses}
718 % Cette option est faite pour que les math\'ematiques soient
719 % grasses dans des titres gras.
720 % \begin{macrocode}
721 \let\smf@boldmath\relax
722 \DeclareOption{boldmath}{%
723 \def\smf@boldmath{\mathversion{bold}}}
724 % \end{macrocode}
725 % \subsection{Choix de la langue}
726 % Le choix de cette option est n\'ecessaire \`a la bonne marche de la
727 % classe, mais par d\'efaut, on choisit {\tt francais}.
728 % \begin{macrocode}
729 \DeclareOption{french}{%
730 \global\def\smf@language{french}}
731 \DeclareOption{francais}{%
732 \global\def\smf@language{french}}
733 \DeclareOption{english}{%
734 \global\def\smf@language{english}}
735 % \end{macrocode}
736 % \subsection{Options de tailles de caract\`eres}
737 % Pour l'instant, l'option par d\'efaut est d'imprimer en 10 points mais il
738 % est possible de revenir \`a 11 ou 12 points, voire de laisser le choix
739 % \`a l'auteur. Il y a aussi une option 14 points.
740 % \begin{macrocode}
741 \def\@xxxpt{29.86}
742 \DeclareOption{10pt}{\def\@mainsize{10}\def\@ptsize{0}%
743 \normaltopskip=10pt \relax
744 \def\@typesizes{%
745 \or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}%
746 \or{10}{12}% normalsize
747 \or{\@xipt}{13}\or{\@xiipt}{14}\or{\@xivpt}{17}%
748 \or{\@xviipt}{20}\or{\@xxpt}{24}}%
749 \normalsize \linespacing=\baselineskip }
750
751 \DeclareOption{11pt}{\def\@mainsize{11}\def\@ptsize{1}%
752 \normaltopskip=11pt \relax
753 \def\@typesizes{%
754 \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
755 \or{\@xipt}{13}% normalsize
756 \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
757 \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
758 \normalsize \linespacing=\baselineskip }
759
760 \DeclareOption{12pt}{\def\@mainsize{12}\def\@ptsize{2}%
761 \normaltopskip=12pt \relax
762 \def\@typesizes{%
763 \or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
764 \or{\@xiipt}{14}% normalsize
765 \or{\@xivpt}{17}\or{\@xviipt}{20}\or{\@xxpt}{24}%
766 \or{\@xxvpt}{30}\or{\@xxxpt}{36}}%
767 \normalsize \linespacing=\baselineskip }
768
769 \DeclareOption{14pt}{\def\@mainsize{14}\def\@ptsize{3}%
770 \normaltopskip=14pt \relax
771 \def\@typesizes{%
772 \or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
773 \or{\@xiipt}{14}\or{\@xivpt}{17}% normalsize
774 \or{\@xviipt}{20}\or{\@xxpt}{24}%
775 \or{\@xxvpt}{30}\or{\@xxxpt}{36}\or{\@xxxpt}{36}}%
776 \normalsize \linespacing=\baselineskip }
777
778 \DeclareOption{8pt}{\def\@mainsize{8}\def\@ptsize{8}%
779 \normaltopskip=8pt \relax
780 \def\@typesizes{%
781 \or{5}{6}\or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}%
782 \or{8}{10}% normalsize
783 \or{9}{11}\or{10}{12}\or{\@xipt}{13}%
784 \or{\@xiipt}{14}\or{\@xivpt}{17}}%
785 \normalsize \linespacing=\baselineskip }
786
787 \DeclareOption{9pt}{\def\@mainsize{9}\def\@ptsize{9}%
788 \normaltopskip=9pt \relax
789 \def\@typesizes{%
790 \or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}%
791 \or{9}{11}% normalsize
792 \or{10}{12}\or{\@xipt}{13}\or{\@xiipt}{14}%
793 \or{\@xivpt}{17}\or{\@xviipt}{20}}%
794 \normalsize \linespacing=\baselineskip }
795 % \end{macrocode}
796 % \subsection{\'Ex\'ecution des options}
797 % \begin{macrocode}
798 \ExecuteOptions{leqno,centertags,%
799 a4paper,portrait,%
800 10pt,twoside,onecolumn,%
801 final,francais}
802 \ProcessOptions\relax
803 \@ifundefined{numberwithin}%
804 {\let\@tempa\relax}%
805 {\let\@tempa\@gobbletwo}
806 \@tempa
807 \ifx\relax\mathfrak \@xp\@gobbletwo
808 \else \let\mathfrak\relax \fi
809 \RequirePackage{amsfonts}\relax
810 \RequirePackage{amsmath}\relax
811 % \end{macrocode}
812 % Il faut aussi supprimer l'espacement avant et apr\`es
813 % les points de suspension...
814 % \begin{macrocode}
815 \def\tdots@{$\m@th\ldots$}
816 % \end{macrocode}
817 % \section{Titre, premi\`eres pages}
818 % \subsection{Titre}
819 % \DescribeMacro{\title}
820 % Usage~: |\title[|\meta{titre courant}|]{|\meta{titre}|}|. C'est
821 % \meta{titre} qui va en table des mati\`eres et \meta{titre courant}
822 % sur chaque haut de page.
823 %
824 % \DescribeMacro{\alttitle}
825 % La commande |\alttitle{|\meta{titre dans l'autre langue}|}| sert \`a
826 % introduire le titre de l'article dans l'autre langue (anglais/fran\c cais).
827 % \begin{macrocode}
828 \renewcommand{\title}[2][]{\gdef\shorttitle{#1}\gdef\@title{#2}}
829 \edef\title{\@nx\@dblarg
830 \@xp\@nx\csname\string\title\endcsname}
831 \let\@title\@empty \let\shorttitle\@empty
832 \def\alttitle#1{\gdef\@alttitle{#1}}
833 \let\@alttitle\@empty
834 % \end{macrocode}
835 % \subsection{Auteur(s)}
836 % \DescribeMacro{\author}
837 % \DescribeMacro{\shortauthor}
838 % \begin{macrocode}
839 \renewcommand{\author}[2][]{%
840 \ifx\@empty\authors
841 \gdef\shortauthors{#1}\gdef\authors{#2}%
842 \else
843 \g@addto@macro\shortauthors{\and#1}%
844 \g@addto@macro\authors{\and#2}%
845 \fi
846 \g@addto@macro\addresses{\author{#1}}%
847 }
848 \edef\author{\@nx\@dblarg
849 \@xp\@nx\csname\string\author\endcsname}
850 % \end{macrocode}
851 % Initialisation des listes
852 % \begin{macrocode}
853 \let\shortauthors\@empty \let\authors\@empty
854 % \end{macrocode}
855 % Quelques macros piqu\'ees encore \`a l'AMS pour g\'erer les listes d'auteurs.
856 % \begin{macrocode}
857 \newcommand{\xandlist}[4]{\@andlista{{#1}{#2}{#3}}#4\and\and}
858 \def\@andlista#1#2\and#3\and{\@andlistc{#2}\@ifnotempty{#3}{%
859 \@andlistb#1{#3}}}
860 \def\@andlistb#1#2#3#4#5\and{%
861 \@ifempty{#5}{%
862 \@andlistc{#2#4}%
863 }{%
864 \@andlistc{#1#4}\@andlistb{#1}{#3}{#3}{#5}%
865 }}
866 \let\@andlistc\@iden
867 \newcommand{\nxandlist}[4]{%
868 \def\@andlistc##1{\toks@\@xp{\the\toks@##1}}%
869 \toks@{\toks@\@emptytoks \@andlista{{#1}{#2}{#3}}}%
870 \the\@xp\toks@#4\and\and
871 \edef#4{\the\toks@}%
872 \let\@andlistc\@iden}
873 % \end{macrocode}
874 % \DescribeMacro{\andify}
875 % Les auteurs sont s\'epar\'es par des virgules et le dernier est introduit
876 % par |\smfandname| (qui vaut \texttt{et} ou \texttt{and} suivant la langue
877 % du texte).
878 % \begin{macrocode}
879 \newcommand{\andify}{%
880 \nxandlist{\unskip, }{\unskip{} \smfandname~}{\unskip{} \smfandname~}}
881 \def\and{\unskip{} \smfandname\ \ignorespaces}
882 % \end{macrocode}
883 % \subsection{Adresses}
884 % \DescribeMacro{\address}
885 % La macro |\address| contient l'adresse de l'auteur,
886 % \DescribeMacro{\curraddr}
887 % la macro |\curraddr| son adresse courante (inutilis\'ee).
888 % \DescribeMacro{\urladdr}
889 % La macro |\urladdr| contient son URL et
890 % \DescribeMacro{\email}
891 % la macro |\urladdr| son adresse m\'el.
892 % Ce sont les m\^emes noms que dans les classes AMS.
893 % Ces macros se contentent de rajouter ce qu'il faut \`a la macro
894 % |\addresses|.
895 % \begin{macrocode}
896 \let\addresses\@empty \let\thankses\@empty
897 \newcommand{\address}[2][]{\g@addto@macro\addresses{\address{#1}{#2}}}
898 \newcommand{\curraddr}[2][]{\g@addto@macro\addresses{\curraddr{#1}{#2}}}
899 \newcommand{\email}[2][]{\g@addto@macro\addresses{\email{#1}{#2}}}
900 \newcommand{\urladdr}{\bgroup\catcode`\:=12\catcode`\~=12\@urladdr}
901 \newcommand{\@urladdr}[2][]{\g@addto@macro\addresses{\urladdr{#1}{#2}}\egroup}
902 % \end{macrocode}
903 % \DescribeMacro{\addresses}
904 % \DescribeMacro{\@setaddresses}
905 % Suivant la classe, on compose l'addresse. Dans les articles, elle est en
906 % fin de texte, ligne par ligne.
907 % \begin{macrocode}
908 %<*article>
909 \def\@setaddresses{\par\nobreak
910 \begingroup
911 \parindent-2em\leftskip2em
912 \rightskip=0pt plus 20pt
913 \emergencystretch .5\textwidth
914 \exhyphenpenalty=-100
915 \interlinepenalty\@M
916 \def\baselinestretch{1}\normalfont\footnotesize
917 \def\\{\unskip, \penalty-10\ignorespaces}%
918 \def\cond@bullet {{\setbox0\hbox{\quad$\bullet$\quad}%
919 \hskip 0pt plus 3cm\penalty -30\hskip 0pt plus -3cm
920 \cleaders \copy0 \hskip\wd0 }}%
921 \def\author##1{\ifhmode\par\nobreak \vskip\smallskipamount\fi
922 {\scshape ##1}\let\address\firstaddress}%
923 \def\firstaddress##1##2{\unskip, \let\address\otheraddress
924 \penalty-20\ignorespaces##2}%
925 \def\otheraddress##1##2{\cond@bullet \ignorespaces##2}%
926 \def\curraddr{\address}%
927 \let\address\firstaddress
928 \def\email##1##2{\@ifnotempty{##2}%
929 {\cond@bullet
930 \hbox{\itshape E-mail~:}~{\ttfamily\ignorespaces ##2}}}%
931 \def\urladdr##1##2{\@ifnotempty{##2}%
932 {\cond@bullet
933 {\itshape Url~:}~{\ttfamily\ignorespaces ##2}\par}}%
934 \addresses
935 \par\endgroup
936 }
937 %</article>
938 % \end{macrocode}
939 % Dans les livres, elle est plus a\'er\'ee.
940 % \begin{macrocode}
941 %<*book>
942 \def\@setaddresses{\par\nobreak
943 \begingroup
944 \raggedright
945 \interlinepenalty\@M
946 \def\baselinestretch{1}\par
947 \normalfont
948 \def\\{\unskip, \penalty-5\ignorespaces}%
949 \def\author##1{\nobreak \bigskip
950 {\itshape ##1}\par}%
951 \def\address##1##2{\smallskip\nobreak
952 \ignorespaces##2\unskip.\par}%
953 \let\curraddr\address
954 \def\email##1##2{\@ifnotempty{##2}{\smallskip\nobreak
955 {\itshape E-mail~:} {\ttfamily\ignorespaces##2}\par}}%
956 \def\urladdr##1##2{\@ifnotempty{##2}{\smallskip\nobreak
957 {\itshape Url~:} {\ttfamily\ignorespaces##2}\par}}%
958 \addresses
959 \endgroup
960 }
961 %</book>
962 % \end{macrocode}
963 % \subsection{Remerciements}
964 % \DescribeMacro{\thanks}
965 % Pour les reconnaissances de dettes\dots
966 % \begin{macrocode}
967 \renewcommand{\thanks}[1]{\g@addto@macro\thankses{\thanks{#1}}}
968 \def\@setthanks{\def\thanks##1{\par##1\@addpunct{{\upshape.}}}\thankses}
969 % \end{macrocode}
970 % \subsection{Date}
971 % \DescribeMacro{\date}
972 % \begin{macrocode}
973 \let\@date\@empty
974 \def\@setdate{{\itshape\@date\@@par}} %% enleve le \@addpunct. avant \@@par
975 % \end{macrocode}
976 % \subsection{D\'edicace}
977 % \begin{macrocode}
978 \def\dedicatory#1{\def\@dedicatory{#1}}
979 \let\@dedicatory\@empty
980 %</article|book>
981 %<*article>
982 \def\dedicatoryfont{\normalfont\footnotesize\itshape}
983 \def\@setdedicatory{%
984 \begingroup
985 \def\signature##1{\nobreak\hskip 2em plus 1fil
986 \penalty-5\hbox{}\nobreak\hfil\parfillskip=0pt
987 \mbox{\upshape ##1}\par}
988 \raggedleft
989 \dedicatoryfont
990 \@dedicatory\par
991 \endgroup}
992 %</article>
993 % \end{macrocode}
994 % Dans les livres, elle est mise en page sur une page seule (normalement,
995 % une page droite).
996 % \begin{macrocode}
997 %<*book>
998 \def\dedicatoryfont{\normalfont\itshape}
999 \def\@setdedicatory{%
1000 \ifx\@dedicatory\@empty\else
1001 \begingroup
1002 \def\signature##1{\nobreak\hskip 2em plus 1fil
1003 \penalty-5\hbox{}\nobreak\hfil\parfillskip=0pt
1004 \mbox{\upshape ##1}\par}
1005 \clearpage\thispagestyle{empty}
1006 \hbox{}\vfil
1007 \leftskip=.2\textwidth
1008 \dedicatoryfont
1009 \@dedicatory
1010 \par\vfil
1011 \cleardoublepage
1012 \endgroup
1013 \fi}
1014 %</book>
1015 % \end{macrocode}
1016 % \subsection{Mots-clefs}
1017 % \DescribeMacro{\keywords}
1018 % La macro |\keywords| prend une liste de mots clefs dans la langue
1019 % principale de l'article.
1020 % \begin{macrocode}
1021 %<*article|book>
1022 \def\keywords#1{\def\@keywords{#1}}
1023 \let\@keywords=\@empty
1024 \def\@setkeywords{%
1025 \abstractfont
1026 {\abstractheadfont\keywordsname\MakePointrait}\enspace\ignorespaces
1027 \@keywords\@addpunct{{\upshape.}}}
1028 % \end{macrocode}
1029 % \DescribeMacro{\keywords}
1030 % La macro |\altkeywords| prend une liste de mots clefs dans la langue
1031 % secondaire de l'article.
1032 % \begin{macrocode}
1033 \def\altkeywords#1{\def\@altkeywords{#1}}
1034 \let\@altkeywords=\@empty
1035 \def\@setaltkeywords{%
1036 \abstractfont
1037 {\abstractheadfont\altkeywordsname\MakePointrait}\enspace\ignorespaces
1038 \@altkeywords\@addpunct{{\upshape.}}}
1039 % \end{macrocode}
1040 % \subsection{Classification AMS}
1041 % \begin{macrocode}
1042 \def\subjclass#1{\def\@subjclass{#1}}
1043 \let\@subjclass=\@empty
1044 \def\@setsubjclass{%
1045 \abstractfont
1046 {\abstractheadfont\subjclassname\MakePointrait}\enspace\ignorespaces
1047 \@subjclass\@addpunct{{\upshape.}}}
1048 % \end{macrocode}
1049 % \subsection{Traducteur(s)}
1050 % \begin{macrocode}
1051 \def\translator#1{%
1052 \ifx\@empty\@translators
1053 \gdef\@translators{#1}\else
1054 \g@addto@macro\@translators{\and#1}\fi}
1055 \let\@translators\@empty
1056 \def\@settranslators{\par
1057 \begingroup
1058 \translatedby\ \andify\@translators
1059 {\itshape \ignorespaces\@translators} \@@par
1060 \endgroup}
1061 % \end{macrocode}
1062 % \subsection{ISBN, ISSN}
1063 % \begin{macrocode}
1064 \def\ISBN#1{\def\@isbn{#1}}
1065 \def\ISSN#1{\def\@issn{#1}}
1066 \let\@isbn\@empty
1067 \let\@issn\@empty
1068 % \end{macrocode}
1069 % \subsection{R\'esum\'es}
1070 % \DescribeMacro{\abstractheadfont}
1071 % \DescribeMacro{\abstractfont}
1072 % \DescribeMacro{\abstractmargin}
1073 % Quelques param\`etres g\'en\'eraux pour commencer.
1074 % |\abstractheadfont| et |\abstractfont| sont des macros qui sp\'ecifient la
1075 % police utilis\'ee pour les ent\^etes de r\'esum\'es et les r\'esum\'es.
1076 % \begin{macrocode}
1077 \def\abstractheadfont{\bfseries\smf@boldmath\itshape}
1078 %<article>\def\abstractfont{\def\baselinestretch{1}\footnotesize}
1079 %<book>\def\abstractfont{\normalfont}
1080 % \end{macrocode}
1081 % Le r\'esum\'e est mis en page avec des marges \'elargies de |\abstractmargin|.
1082 % \begin{macrocode}
1083 \newdimen\abstractmargin
1084 %<article>\abstractmargin1cm
1085 %<book>\abstractmargin0pt
1086 % \end{macrocode}
1087 % \subsubsection{Une macro tordue}
1088 % \DescribeEnv{@genabstract}
1089 % L'environnement |@genabstract| est un peu compliqu\'e. Son but premier est
1090 % d'attrapper tout ce qui se trouve entre un |\begin{abstract}| et un
1091 % |\end{abstract}| dans une macro |\@abstract|.
1092 % Mais je ne sais plus pourquoi j'ai invent\'e \c ca !!!
1093 % Actuellement, cela permet \`a |\abstract| et |\altabstract| d'avoir des
1094 % d\'efinitions plus courtes.
1095 % C'est aussi r\'eutilis\'e pour les r\'esum\'es courts.
1096 % \begin{macrocode}
1097 \newtoks\@genabs\newtoks\@genabstokb
1098 \newenvironment{@genabstract}[1]{%
1099 \gdef\@genabstext{}\def\smf@tempb{#1}\@getgenabstext
1100 }{%
1101 \@xp\@xp\global\@xp\let\csname @\smf@tempb\endcsname \@genabstext}
1102
1103 \long\def\@getgenabstext#1\end #2{%
1104 \@genabs=\expandafter{\@genabstext}
1105 \def\@tempa{#2}\ifx\@tempa\smf@tempb
1106 \@genabstokb={#1}%
1107 \edef\@next{\noexpand\end{@genabstract}\noexpand\end{\smf@tempb}}%
1108 \else
1109 \@genabstokb={#1\end{#2}}%
1110 \let\@next\@getgenabstext
1111 \fi
1112 \global\edef\@genabstext {\the\@genabs \the\@genabstokb}%
1113 \@next}
1114
1115 \def\@setgenabstract#1{%
1116 \@xp\ifx\csname @#1\endcsname\@empty\else
1117 \vbox\bgroup
1118 \abstractfont
1119 \list{}{\labelwidth\z@
1120 \leftmargin\abstractmargin \rightmargin\leftmargin
1121 \listparindent\normalparindent
1122 \itemindent\z@
1123 % \itemindent\normalparindent % \advance\itemindent\labelsep
1124 \parsep\z@ \@plus\p@
1125 \let\fullwidthdisplay\relax}%
1126 \sbox\@tempboxa{\csname @set#1head\endcsname}%
1127 \ifdim\wd\@tempboxa>.7\textwidth \smf@skippttrue\fi
1128 \item\relax
1129 {\csname @set#1head\endcsname
1130 \ifsmf@skippt
1131 \global\smf@skipptfalse
1132 \@@par\nobreak
1133 \else
1134 \pointrait\nobreak
1135 \fi}
1136 \ignorespaces
1137 \csname @#1language\endcsname
1138 \csname @#1\endcsname
1139 \endlist
1140 \egroup
1141 \fi}
1142 % \end{macrocode}
1143 % \subsubsection{R\'esum\'e principal}
1144 % \begin{macrocode}
1145 \def\@abstract{}
1146 \def\@abstractlanguage{\@smflanguage}
1147 \newenvironment{abstract}{%
1148 \ifx\maketitle\relax
1149 \ClassWarning{\@classname}{Abstracts should precede
1150 \protect\maketitle\space in SMF documentclasses; reported}%
1151 \fi
1152 \begin{@genabstract}{abstract}%
1153 }{%
1154 % \end{macrocode}
1155 % Si |\@setabstract| est |\relax|, cela signifie que |\maketitle| est pass\'e
1156 % par l\`a. Dans ce cas, on met tout de suite le r\'esum\'e
1157 % principal.
1158 % \begin{macrocode}
1159 \ifx\@setabstract\relax \@setabstracta\par\bigskip \fi
1160 }
1161 % \end{macrocode}
1162 % Enfin, la macro |\@setabstracthead| pr\'ecise comment composer l'ent\^ete du
1163 % r\'esum\'e.
1164 % \begin{macrocode}
1165 \def\@setabstracthead{\abstractheadfont\abstractname}
1166 % \end{macrocode}
1167 % On introduit |\ifsmfabstracta| qui conditionne l'affichage du r\'esum\'e
1168 % dans la langue de l'article : dans des ouvrages collectifs notamment, on
1169 % peut vouloir mettre les r\'esum\'es ensemble.
1170 % \begin{macrocode}
1171 \newif\ifsmfabstracta\smfabstractatrue
1172 \def\@setabstract{\ifsmfabstracta
1173 \@setabstracta
1174 \global\let\@setabstract\relax
1175 \fi}
1176 \def\@setabstracta{\@setgenabstract{abstract}}
1177 % \end{macrocode}
1178 % \subsubsection{R\'esum\'e dans l'autre langue}
1179 % \begin{macrocode}
1180 \def\@altabstract{}
1181 \def\@altabstractlanguage{\@smfaltlanguage}
1182 \newenvironment{altabstract}{%
1183 \ifx\maketitle\relax
1184 \ClassWarning{\@classname}{Abstracts should precede
1185 \protect\maketitle\space in SMF documentclasses; reported}%
1186 \fi
1187 \begin{@genabstract}{altabstract}%
1188 }{%
1189 % \end{macrocode}
1190 % Si |\@setaltabstract| est |\relax|, on met tout de suite le resum\'e dans
1191 % l'autre langue
1192 % \begin{macrocode}
1193 \ifx\@setaltabstract\relax \@setaltabstracta\par\bigskip \fi
1194 }
1195 % \end{macrocode}
1196 % Enfin, la macro |\@setaltabstracthead| pr\'ecise comment composer l'ent\^ete du
1197 % r\'esum\'e alternatif.
1198 % \begin{macrocode}
1199 \def\@setaltabstracthead{\abstractheadfont \altabstractname
1200 \ifx\@alttitle\@empty\else\
1201 {\@altabstractlanguage\textup(\emph{\@alttitle}\textup)}\fi}
1202 % \end{macrocode}
1203 % On introduit |\ifsmfaltabstracta| qui est le pendant de
1204 % |\ifsmfabstracta|.
1205 % \begin{macrocode}
1206 \newif\ifsmfaltabstracta\smfaltabstractatrue
1207 \def\@setaltabstract{\ifsmfaltabstracta
1208 \@setaltabstracta
1209 \global\let\@setaltabstract\relax
1210 \fi}
1211 \def\@setaltabstracta{\@setgenabstract{altabstract}}
1212 % \end{macrocode}
1213 % \subsection{Page de titre~?}
1214 % \begin{macrocode}
1215 \def\titlepage{%
1216 \cleardoublepage
1217 \thispagestyle{empty}\setcounter{page}{0}}
1218 \def\endtitlepage{\newpage}
1219 % \end{macrocode}
1220 % \subsection{Affichage de la page de titre}
1221 % L'option |draft| ou une option |notitlepage| devrait permettre
1222 % d'all\'eger cette pr\'esentation, notamment lorsqu'on ne pr\'epare pas la
1223 % version finale.
1224 % \DescribeMacro{\maketitle}
1225 % \DescribeMacro{\@maketitlehook}
1226 % Cette macro est g\'en\'eriques. Elles se contente de s\'electionner un symbole
1227 % de note vide et appelle |\@maketitle|. Pour finir, elle appelle
1228 % |\@endmaketitlehook|.
1229 % \begin{macrocode}
1230 \def\maketitle{\par \@topnum\z@
1231 % this prevents figures from falling at the top of page 1
1232 \begingroup
1233 \let\@makefnmark\relax \let\@thefnmark\relax
1234 \@maketitle
1235 \@endmaketitlehook
1236 \endgroup
1237 \c@footnote\z@
1238 \let\maketitle\relax \let\@maketitle\relax }
1239 \def\@endmaketitlehook{}
1240 %</article|book>
1241 % \end{macrocode}
1242 % \subsection{Dans les articles}
1243 % \DescribeMacro{\smf@journalhead}
1244 % |\smf@journalhead| est vide dans les classes standard. Dans la version
1245 % finale, c'est une macro qu'appelle |\@maketitle| pour afficher
1246 % les r\'ef\'erences de l'article en haut
1247 % de la premi\`ere page.
1248 % \begin{macrocode}
1249 %<*article>
1250 \def\smf@journalhead{}
1251 \def\smf@authorfont{}
1252 \def\@maketitle{\cleardoublepage\thispagestyle{copyright}
1253 \begingroup
1254 \uppercasenonmath\shorttitle
1255 \ifx\@empty\shortauthors \let\shortauthors\shorttitle
1256 \else \uppercasenonmath\shortauthors \andify\shortauthors \fi
1257 \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
1258 \edef\@tempa{\@nx\markboth{\the\toks@}{\the\@temptokena}}\@tempa
1259 \topskip\z@skip
1260 \vtop to 55 mm{%
1261 \parindent=0pt
1262 \hrule
1263 \medskip
1264 {\abstractfont\smf@journalhead\par}\vfil
1265 \begin{center}
1266 \def\baselinestretch{1.2}\large\vfil
1267 {\bfseries\smf@boldmath\MakeUppercase\@title\par}
1268 \vfil
1269 \ifx\@empty\smfbyname\else
1270 {\smf@byfont\smfbyname\ifsmf@byauthor\par\vfil\else\ \fi}%
1271 \fi
1272 {\smf@authorfont
1273 \edef\smfandname{{\noexpand\normalfont \smfandname}}
1274 \andify\authors\authors\par}
1275 \vfil \vrule height .4pt width .3\textwidth \vfil
1276 \end{center}}
1277 \@maketitlehook
1278 \par\bigskip
1279 \ifx\@empty\@dedicatory\else\@setdedicatory\medskip\fi
1280 \@setabstract\par\smallskip\@setaltabstract\par
1281 \bigskip\bigskip
1282 \endgroup}
1283 % \end{macrocode}
1284 % \DescribeMacro{\ifsmf@byauthor}
1285 % \DescribeMacro{\smf@byfont}
1286 % |\ifsmf@byauthor| est vrai ou faux, suivant que l'on veut que dans
1287 % le titre, les auteurs soient pr\'ec\'ed\'es d'un {\og par\fg}.
1288 % \begin{macrocode}
1289 \newif\ifsmf@byauthor\smf@byauthortrue
1290 \def\smf@byfont{\normalfont\itshape}
1291 % \end{macrocode}
1292 % \DescribeMacro{\@maketitlehook}
1293 % Pour que les styles auxiliaires puissent facilement ins\'erer des choses
1294 % dans le titre. Par d\'efaut, c'est l'affichage de la classification,
1295 % des mots-clefs et des subventions.
1296 % \begin{macrocode}
1297 \def\@maketitlehook{%
1298 \ifx\@empty\@subjclass\else\@footnotetext{\@setsubjclass}\fi
1299 \ifx\@empty\@keywords\else\@footnotetext{\@setkeywords}\fi
1300 \ifx\@empty\thankses\else\def\par{\let\par\@par}\@footnotetext{\@setthanks}\fi
1301 }
1302 % \end{macrocode}
1303 % \DescribeMacro{\smf@enddoc}
1304 % Adresses, date, traducteurs sont report\'ees en fin d'article,
1305 % lorsque la macro |\smf@enddoc| est ex\'ecut\'ee.
1306 % \begin{macrocode}
1307 \def\smf@enddoc{%
1308 \par\vskip 2\bigskipamount
1309 \bgroup
1310 \def\baselinestretch{1}\normalfont\footnotesize
1311 \raggedright
1312 \hrule width .2\textwidth\par\bigskip
1313 \ifx\@empty\@date \else \@setdate\medskip \fi
1314 \ifx\@empty\@translators\else \@settranslators\medskip \fi
1315 \ifx\@empty\addresses \else \@setaddresses \fi
1316 \par\egroup}
1317 \AtEndDocument{\smf@enddoc}
1318 %</article>
1319 % \end{macrocode}
1320 % \subsection{Dans les livres}
1321 % C'est plus compliqu\'e car les pages de titre sont au nombre de 4.
1322 % La premi\`ere contient titre et auteurs.
1323 % \begin{macrocode}
1324 %<*book>
1325 \def\smf@titlei{\clearpage\thispagestyle{empty}
1326 \vspace*{-2cm}\enlargethispage{2cm}
1327 \topskip\z@skip
1328 \vfil
1329 \begin{raggedleft}
1330 \Large \bfseries
1331 \def\and{\par\medskip}\authors\par
1332 \end{raggedleft}
1333 \vfil
1334 \hrule height 1pt
1335 \vfil
1336 \begin{raggedright}
1337 \huge\bfseries\smf@boldmath
1338 \MakeUppercase\@title\par
1339 \vfil
1340 \hrule height 1pt
1341 \vfil\vfil
1342 \end{raggedright}
1343 \vfilneg
1344 }
1345 % \end{macrocode}
1346 % La seconde contient adresses, classification, mots-clefs,
1347 % traducteurs, remerciements et la date.
1348 % \begin{macrocode}
1349 \def\smf@titleii{\clearpage
1350 \thispagestyle{empty}
1351 \ifx\@empty\addresses\else \@setaddresses\fi
1352 \vfill
1353 \ifx\@empty\@subjclass
1354 \ifx\@empty\@keywords\else
1355 \hrule\medskip\@setkeywords\medskip\hrule\vfill\fi
1356 \else
1357 \hrule\medskip\@setsubjclass\par\medskip
1358 \ifx\@empty\@keywords\else\@setkeywords\par\medskip\fi
1359 \hrule\vfill
1360 \fi
1361 \ifx\@empty\@translators\else\@settranslators\bigskip\fi
1362 \ifx\@empty\thankses\else\@setthanks\par\fi
1363 \ifx\@empty\@date\else\@setdate\fi
1364 \vfilneg
1365 }
1366 % \end{macrocode}
1367 % La troisi\`eme reprend le titre et les auteurs et affiche les deux r\'esum\'es.
1368 % J'avais pr\'evu qu'on puisse ins\'erer une image en haut de la page, comme
1369 % dans le \emph{Panoramas et Synth\`eses} de th\'eorie de Hodge.
1370 % \begin{macrocode}
1371 \def\smf@titleiii{%
1372 \clearpage\thispagestyle{copyright}
1373 \markboth{\@nx\shortauthors}{\@nx\shorttitle}
1374 %% INSERER UNE IMAGE
1375 \null
1376 \vskip 12\medskipamount plus 8\medskipamount
1377 \begin{center}\Large\bfseries\smf@boldmath
1378 {\MakeUppercase\@title\par}
1379 \vskip 4\medskipamount plus 2\medskipamount
1380 \def\and{,\ \penalty-1}\authors\par
1381 \end{center}
1382 \vskip 8\medskipamount plus 4 \medskipamount
1383 \@setabstract\par
1384 \vskip 1\medskipamount plus 1\medskipamount
1385 \penalty-100
1386 \@setaltabstract\par
1387 }
1388 % \end{macrocode}
1389 % \DescribeMacro{\@maketitle}
1390 % Et le titre est constitu\'e des pages 1 et 2, puis d'une d\'edicace
1391 % (cf. |\@setdedicatory|) et de la page 3.
1392 % \begin{macrocode}
1393 \def\@maketitle{\cleardoublepage
1394 \begingroup
1395 \parindent\z@
1396 \smf@titlei \smf@titleii \@setdedicatory \smf@titleiii \cleardoublepage
1397 \endgroup}
1398 %</book>
1399 % \end{macrocode}
1400 % \section{Environnements}
1401 % \subsection{trivlist}
1402 % \DescribeEnv{trivlist}
1403 % L'environnement \texttt{trivlist} est \`a peu pr\`es standard.
1404 % \begin{macrocode}
1405 %<*article|book>
1406 \def\trivlist{\parsep\parskip\@nmbrlistfalse
1407 \@trivlist \labelwidth\z@ \leftmargin\z@
1408 \itemindent\z@
1409 \let\@itemlabel\@empty
1410 \def\makelabel##1{\upshape##1}}
1411 % \end{macrocode}
1412 % \subsection{list}
1413 % \DescribeEnv{list}
1414 % Il me para\^{\i}t souhaitable de supprimer |\listI| (manque de sym\'etrie
1415 % surprenant).
1416 % \begin{macrocode}
1417 \newskip\listisep \listisep\smallskipamount
1418 \def\@listi{\leftmargin\leftmargini \parsep\z@skip
1419 \topsep\listisep \itemsep\z@skip
1420 \listparindent\normalparindent}
1421 \def\@listii{\leftmargin\leftmarginii
1422 \labelwidth\leftmarginii \advance\labelwidth-\labelsep
1423 \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\z@skip}
1424 \def\@listiii{\leftmargin\leftmarginiii
1425 \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
1426 \def\@listiv{\leftmargin\leftmarginiv
1427 \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
1428 \def\@listv{\leftmargin\leftmarginv
1429 \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
1430 \def\@listvi{\leftmargin\leftmarginvi
1431 \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
1432 % \end{macrocode}
1433 % Pour compatibilit\'e, avant de voir~:
1434 % \begin{macrocode}
1435 \let\@listI\@listi
1436 % \end{macrocode}
1437 % \subsection{enumerate}
1438 % \DescribeEnv{enumerate}
1439 % \begin{macrocode}
1440 \def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
1441 \advance\@enumdepth \@ne
1442 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
1443 {\csname label\@enumctr\endcsname}{\usecounter
1444 {\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}\fi}
1445 \def\labelenumi{\theenumi.}
1446 \def\theenumi{\@arabic\c@enumi}
1447 \def\labelenumii{(\theenumii)}
1448 \def\theenumii{\@alph\c@enumii}
1449 \def\p@enumii{\theenumi}
1450 \def\labelenumiii{(\theenumiii)}
1451 \def\theenumiii{\@roman\c@enumiii}
1452 \def\p@enumiii{\theenumi(\theenumii)}
1453 \def\labelenumiv{(\theenumiv)}
1454 \def\theenumiv{\@Alph\c@enumiv}
1455 \def\p@enumiv{\p@enumiii\theenumiii}
1456 % \end{macrocode}
1457 % \subsection{itemize}
1458 % \DescribeEnv{itemize}
1459 % \begin{macrocode}
1460 \def\itemize{%
1461 \ifnum\@itemdepth>3 \@toodeep
1462 \else \advance\@itemdepth\@ne
1463 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
1464 \list{\csname\@itemitem\endcsname}%
1465 {\def\makelabel##1{\hss\llap{\upshape##1}}}%
1466 \fi}
1467 \def\labelitemi{\bfseries --}% \upshape already done by \itemize
1468 \def\labelitemii{$\m@th\bullet$}
1469 \def\labelitemiii{$\m@th\ast$}
1470 \def\labelitemiv{$\m@th\cdot$}
1471 % \end{macrocode}
1472 % \subsection{verse}
1473 % \DescribeEnv{verse}
1474 % Le texte est compos\'e avec des marges augment\'ees de 1.5\textit{em} et un
1475 % alin\'ea n\'egatif de $-1.5$\textit{em}.
1476 % \begin{macrocode}
1477 \def\verse{\let\\\@centercr
1478 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent\itemindent
1479 \rightmargin\leftmargin \advance\leftmargin 1.5em\relax}\item[]}
1480 \let\endverse=\endlist
1481 % \end{macrocode}
1482 % \subsection{quotation}
1483 % \DescribeEnv{quotation}
1484 % Les marges droites et gauches sont fix\'ees \`a 3\textit{pc}, l'espacement
1485 % entre paragraphes quasiment nul. Les alin\'eas ne changent pas.
1486 % \begin{macrocode}
1487 \def\quotation{\list{}{%
1488 \leftmargin3pc \listparindent\normalparindent
1489 \itemindent\z@
1490 \rightmargin\leftmargin \parsep\z@ \@plus\p@}%
1491 \item[]}
1492 \let\endquotation=\endlist
1493 % \end{macrocode}
1494 % \DescribeEnv{quote}
1495 % Marges droites et gauches sont \'egales \`a la valeur fix\'ee par
1496 % le niveau de profondeur de l'environnement \texttt{list}.
1497 % \begin{macrocode}
1498 \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
1499 \let\endquote=\endlist
1500 % \end{macrocode}
1501 % \subsection{description}
1502 % \DescribeEnv{description}
1503 % Il est hideux : c'est une liste, le label est en gras suivi d'un
1504 % deux-points. Les marges sont augment\'ees et le premier alin\'ea est n\'egatif.
1505 % Je ne suis pas s\^ur que les param\`etres soient robustes.
1506 % \begin{macrocode}
1507 \newcommand{\descriptionlabel}[1]{\hspace\labelsep
1508 \upshape\bfseries\smf@boldmath #1\unskip\ :}
1509 \newcommand{\description}{\list{}{%
1510 \advance\leftmargini6\p@ \itemindent-12\p@
1511 \labelwidth\z@ \let\makelabel\descriptionlabel}}
1512 \let\enddescription=\endlist
1513 % \end{macrocode}
1514 % \subsection{Ajustement des param\`etres}
1515 % Ainsi, les marges sont ajust\'ees au d\'ebut de la mise en page du
1516 % document (suivant les polices, casses utilis\'ees).
1517 % \begin{macrocode}
1518 \AtBeginDocument{%
1519 \labelsep=5pt
1520 \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
1521 \advance\leftmargini by \normalparindent
1522 \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
1523 \advance\leftmarginii by 15pt
1524 \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
1525 \advance\leftmarginiii by 12pt
1526 \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
1527 \advance\leftmarginiv by 10pt
1528 \leftmarginv=10pt
1529 \leftmarginvi=10pt
1530 \leftmargin=\leftmargini
1531 \labelwidth=\leftmargini \advance\labelwidth-\labelsep
1532 \@listi}
1533 % \end{macrocode}
1534 % \section{Chapitres et sections}
1535 % \subsection{Macros g\'en\'erales}
1536 % \DescribeMacro{\@startsection}
1537 % La macro |\@startsection| prend 6 arguments.
1538 % \begin{enumerate}
1539 % \item
1540 % Si |#1| vaut \texttt{section}, on utilise le compteur |\c@section|, les
1541 % marques |\sectionmark|, etc.
1542 % \item
1543 % |#2| contient le niveau de profondeur de la section. S'il
1544 % est sup\'erieur \`a |\c@secnumdepth|, il n'y pas de num\'eros, s'il est
1545 % sup\'erieur \`a |\c@tocdepth|, l'entr\'ee ne va pas dans la toc.
1546 % \item
1547 % |\#3| est le d\'ecalage horizontal avant l'affichage du titre.
1548 % \item
1549 % |#4| est l'espacement vertical avant l'affichage de la section.
1550 % \item
1551 % Si |#5| est positif, il contient l'espacement vertical apr\`es la section,
1552 % s'il est n\'egatif, sa valeur absolue est l'espacement horizontal et le
1553 % titre n'est pas suivi d'un retour \`a la ligne.
1554 % \item
1555 % |#6| permet les changements de polices. Il peut se terminer par
1556 % |\MakeUppercase| afin que le titre soit en majuscules.
1557 % \end{enumerate}
1558 % Les environnements standard (|\section|, etc., voir plus bas) d\'efinissent
1559 % ces 6 premiers param\`etres.
1560 %
1561 % Si ces six arguments sont suivis d'une ast\'erisque \texttt{*}, le
1562 % param\`etre |#2| est mis \`a |\@m| (1000). Cela a l'effet de supprimer la
1563 % num\'erotation et l'entr\'ee de table des mati\`eres.
1564 %
1565 % \begin{macrocode}
1566 \def\@startsection#1#2#3#4#5#6{%
1567 \if@noskipsec \leavevmode \fi
1568 \par \@tempskipa #4\relax
1569 \@afterindenttrue
1570 \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
1571 \if@nobreak \everypar{}\else
1572 \addpenalty\@secpenalty\addvspace\@tempskipa\fi
1573 \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
1574 {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
1575 }
1576 % \end{macrocode}
1577 % \DescribeMacro{\@seccntformat}
1578 % \begin{macrocode}
1579 \def\@seccntformat#1{%
1580 \protect\textup{\protect\@secnumfont
1581 \csname the#1\endcsname
1582 \protect\@secnumpunct
1583 }%
1584 }
1585 % \end{macrocode}
1586 % \DescribeMacro{\@secnumfont}
1587 % \begin{macrocode}
1588 \def\@secnumfont{\bfseries}
1589 %</article|book>
1590 % \end{macrocode}
1591 % \DescribeMacro{\@sect}
1592 % Nouvelle version de |\@sect|, reprise des classes Ams.
1593 % Cependant, il a fallu faire trois adaptations pour traiter le point-trait,
1594 % permettre de compsoer des titres de section en capitales,
1595 % et se débrouiller pour que hyperref fonctionne.
1596 %
1597 %
1598 % |\ifsmf@ee| (\emph{empty eight}) dira si l'argument |#8| est vide ou non.
1599 % Le souci est qu'hyperref le rend toujours non vide.
1600 % Le test se fera en le composant dans la boîte |\smf@eebox|.
1601 % Enfin, le compteur |\smf@sf| contient le |\spacefactor| après la composition
1602 % du titre de section (avant passage éventuel en capitales).
1603 % \begin{macrocode}
1604 %<*article|book>
1605 \newif\ifsmf@ee
1606 \newbox\smf@eebox
1607 \newcount\smf@sf
1608 % \end{macrocode}
1609 % \begin{macrocode}
1610 \def\@sect#1#2#3#4#5#6[#7]#8{%
1611 \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}%
1612 \ifnum #2>\c@secnumdepth \let\@secnumber\@empty
1613 \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi
1614 \@tempskipa #5\relax
1615 % \end{macrocode}
1616 % C'est ici qu'on décide une fois pour toute de la vacuité de |#8|.
1617 % Pour gérer le point-trait après des titres qui se terminent par un
1618 % signe de ponctuation,
1619 % on garde aussi une trace du |\spacefactor| après |#8|.
1620 % \begin{macrocode}
1621 \setbox\smf@eebox\hbox{#8\global\smf@sf\the\spacefactor}%
1622 \ifdim\wd\smf@eebox>\z@\smf@eefalse\else\smf@eetrue\fi
1623 % \end{macrocode}
1624 % On reprend le fil de la macro de l'Ams.
1625 % \begin{macrocode}
1626 \ifnum #2>\c@secnumdepth
1627 \let\@svsec\@empty
1628 \else
1629 \refstepcounter{#1}%
1630 \edef\@secnumpunct{%
1631 \ifdim\@tempskipa>\z@ % not a run-in section heading
1632 \ifsmf@ee\else .\@nx\enspace\fi
1633 \else
1634 \ifsmf@ee \else .\@nx\enspace\fi
1635 \fi}%
1636 \ifsmf@ee
1637 \ifnum #2=\tw@ \def\@secnumfont{\bfseries}\fi
1638 \fi
1639 \protected@edef\@svsec{%
1640 \ifnum#2<\@m
1641 \@ifundefined{#1name}{}{%
1642 \ignorespaces\csname #1name\endcsname\space
1643 }%
1644 \fi
1645 \@seccntformat{#1}%
1646 }%
1647 \fi
1648 \ifdim \@tempskipa>\z@ % then this is not a run-in section heading
1649 % \end{macrocode}
1650 % On reprend l'ancienne formulation qui permet que |#6| se termine
1651 % par |\MakeUppercase|.
1652 % \begin{macrocode}
1653 \begingroup #6{\relax
1654 \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\@@par}}%
1655 \endgroup
1656 % \end{macrocode}
1657 % Dans la classe article de l'AMS,
1658 % les titres de section n'apparaissent pas dans les titres courants ;
1659 % ici, on supprime cette particularité,
1660 % il est toujours possible de rendre |\sectionmark| égal à |\@gobble|.
1661 % \begin{macrocode}
1662 \csname #1mark\endcsname{#7}%
1663 % \end{macrocode}
1664 % \begin{macrocode}
1665 \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
1666 \else
1667 % \end{macrocode}
1668 % Lorsque |#8| n'est pas vide, on rétablit le |\spacefactor|
1669 % qui pourrait avoir été perturbé par le passage en capitales.
1670 % \begin{macrocode}
1671 \ifsmf@ee
1672 \def\@svsechd{#6{\hskip #3\@svsec\unskip}\MakePointrait
1673 \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi }%
1674 \else
1675 \def\@svsechd{#6{\hskip #3\@svsec\ignorespaces #8}\unskip
1676 \spacefactor\smf@sf\MakePointrait%
1677 \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi }%
1678 \fi
1679 \fi
1680 \global\@nobreaktrue
1681 \@xsect{#5}}
1682 % \end{macrocode}
1683 % \subsection{Profondeur de num\'erotation}
1684 % \begin{macrocode}
1685 \setcounter{secnumdepth}{5}
1686 % \end{macrocode}
1687 % \subsection{D\'efinition des compteurs de sections}
1688 % \begin{macrocode}
1689 \newcounter{part}
1690 %<book>\newcounter{chapter}
1691 %<book>\newcounter{section}[chapter]
1692 %<article>\newcounter{section}
1693 \newcounter{subsection}[section]
1694 \newcounter{subsubsection}[subsection]
1695 \newcounter{paragraph}[subsubsection]
1696 % \end{macrocode}
1697 % ... et leur style par d\'efaut.
1698 % \begin{macrocode}
1699 \renewcommand\thepart {\Roman{part}}
1700 %<book>\renewcommand\thechapter {\arabic{chapter}}
1701 %<book>\renewcommand\thesection {\thechapter.\arabic{section}}
1702 %<article>\renewcommand\thesection {\arabic{section}}
1703 \renewcommand\thesubsection{\thesection.\arabic{subsection}}
1704 \renewcommand\thesubsubsection
1705 {\thesubsection.\arabic{subsubsection}}
1706 \renewcommand\theparagraph {\thesubsubsection.\arabic{paragraph}}
1707 %</article|book>
1708 % \end{macrocode}
1709 % \subsection{Partie}
1710 % \begin{macrocode}
1711 %<*article>
1712 \def\part{\@startsection{part}{1}%
1713 \z@{3\linespacing\@plus\linespacing}{2\linespacing}%
1714 {\centering\normalfont\bfseries\smf@boldmath\MakeUppercase}}
1715 %</article>
1716 %<*book>
1717 \def\part{\cleardoublepage \thispagestyle{empty}%
1718 \null\vfil \markboth{}{}\secdef\@part\@spart}
1719 \def\@part[#1]#2{%
1720 \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}%
1721 \addcontentsline{toc}{part}{\partname\ \thepart.
1722 \protect\enspace\protect\noindent#1}%
1723 \else
1724 \addcontentsline{toc}{part}{#1}\fi
1725 \begingroup
1726 \centering
1727 \ifnum \c@secnumdepth >-2\relax
1728 {\huge\bfseries\smf@boldmath
1729 \MakeUppercase{\partname\ \thepart}}
1730 \vfil \fi
1731 \huge\bfseries\smf@boldmath
1732 \MakeUppercase{#1}\par
1733 \vfil\vfil
1734 \endgroup
1735 \newpage\thispagestyle{empty}}
1736
1737 \def\@spart#1{\addcontentsline{toc}{part}{\protect\noindent#1}%
1738 \begingroup
1739 \centering
1740 \huge\bfseries\smf@boldmath
1741 \MakeUppercase{#1}\par
1742 \vfil\vfil
1743 \endgroup
1744 \newpage\thispagestyle{empty}}
1745 % \end{macrocode}
1746 % \subsection{Chapitre}
1747 % \DescribeMacro{\chapter}
1748 % \DescribeMacro{\chapterspace}\DescribeMacro{\chapterheight}
1749 % La dimension \texttt{chapterheight} ou la macro |\chapterspace|
1750 % permettent de diminuer l'espace d'un chapitre la taille de l'ent\^ete de
1751 % ce chapitre. C'est cens\'e \^etre utile avant les tables des mati\`eres
1752 % notamment, pour \'eviter manuellement quelques orphelines.
1753 % Si l'on tape |\chapterspace{-1}|, cela permet de gagner une ligne sur la
1754 % page, on peut aussi taper |\chapterheight -1cm|.
1755 % \begin{macrocode}
1756 \newdimen\chapterheight\chapterheight\z@
1757 \def\chapterspace#1{\global\chapterheight=#1\baselineskip\relax}
1758 \def\chapter{\cleardoublepage
1759 \thispagestyle{empty}\global\@topnum\z@
1760 \@afterindenttrue
1761 \@ifstar{\@schapter}{\@dblarg\@chapter}}
1762 \def\@chapter[#1]#2{\refstepcounter{chapter}%
1763 \ifnum\c@secnumdepth<\z@ \let\@secnumber\@empty
1764 \else \let\@secnumber\thechapter \fi
1765 \typeout{\chaptername\space\@secnumber}%
1766 \def\@toclevel{0}%
1767 \ifx\chaptername\appendixname
1768 \@tocwriteb\tocappendix{chapter}{#2}%
1769 \else \@tocwriteb\tocchapter{chapter}{#2}\fi
1770 \chaptermark{#1}%
1771 \addtocontents{lof}{\protect\addvspace{10\p@}}%
1772 \addtocontents{lot}{\protect\addvspace{10\p@}}%
1773 \@makechapterhead{#2}\@afterheading}
1774 \def\@schapter#1{\typeout{#1}%
1775 \let\@secnumber\@empty
1776 \def\@toclevel{0}%
1777 \ifx\chaptername\appendixname
1778 \@tocwriteb\tocappendix{chapter}{#1}%
1779 \else \@tocwriteb\tocchapter{chapter}{#1}\fi
1780 \chaptermark{#1}%
1781 \addtocontents{lof}{\protect\addvspace{10\p@}}%
1782 \addtocontents{lot}{\protect\addvspace{10\p@}}%
1783 \@makeschapterhead{#1}\@afterheading}
1784 \def\@makechapterhead#1{\global\topskip 0pt\relax
1785 \advance\chapterheight 6cm
1786 \vbox to \chapterheight{\Large\bfseries\smf@boldmath\centering
1787 \vskip 0pt plus 0.7fil\relax
1788 \ifnum\c@secnumdepth>\m@ne
1789 \uppercase\@xp{\chaptername}\enspace\thechapter\par\vskip2pc\fi
1790 \MakeUppercase{#1}\par
1791 \vfil}\global\chapterheight\z@\relax}
1792 \def\@makeschapterhead#1{\global\topskip 0pt\relax
1793 \advance\chapterheight 6cm
1794 \vbox to \chapterheight{\Large\bfseries\smf@boldmath\centering
1795 \vskip0pt plus 0.7fil\relax
1796 \MakeUppercase{#1}\par
1797 \vfil}\global\chapterheight\z@\relax}
1798 % \end{macrocode}
1799 % \subsection{Chapitre sp\'ecial}
1800 % \DescribeMacro{\specialchapter}
1801 % Permet un chapitre sans titre num\'erot\'e automatiquement du genre
1802 % `Appendice A' ou `Chapitre 2'.
1803 % \begin{macrocode}
1804 \def\specialchapter{\refstepcounter{chapter}%
1805 \chapter*{\chaptername\space\thechapter}}
1806 %</book>
1807 % \end{macrocode}
1808 % \subsection{Appendices}
1809 % \begin{macrocode}
1810 %<*article>
1811 \def\appendix{\par
1812 \begingroup
1813 \def\@elt##1{\global\csname c@##1\endcsname\z@\relax
1814 \csname cl@##1\endcsname}
1815 \global\c@section\z@
1816 \cl@section
1817 \endgroup
1818 \let\sectionname\appendixname
1819 \def\thesection{\@Alph\c@section}}
1820 %</article>
1821 %<*book>
1822 \def\appendix{\par
1823 \begingroup
1824 \def\@elt##1{\global\csname c@##1\endcsname\z@\relax
1825 \csname cl@##1\endcsname}
1826 \global\c@chapter\z@
1827 \cl@chapter
1828 \endgroup
1829 \let\chaptername\appendixname
1830 \renewcommand\thechapter{\Alph{chapter}}}
1831 %</book>
1832 % \end{macrocode}
1833 % \subsection{Section sp\'eciale}
1834 % \DescribeMacro{\specialsection}
1835 % Dans AMS\LaTeX, cette section sp\'eciale permet une s\'eparation non
1836 % num\'erot\'ee englobant des sections.
1837 % L\`a, c'est une section usuelle, un peu plus espac\'ee du texte et
1838 % dont le titre est en majuscules.
1839 % \begin{macrocode}
1840 %<*article|book>
1841 \def\specialsection{\@startsection{section}{1}%
1842 \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
1843 {\centering\normalfont\bfseries\smf@boldmath\MakeUppercase}}
1844 %</article|book>
1845 % \end{macrocode}
1846 % \subsection{Section}
1847 % \begin{macrocode}
1848 %<*article>
1849 \def\section{\@startsection{section}{1}%
1850 \z@{1.5\linespacing\@plus\linespacing}{.5\linespacing}%
1851 {\normalfont\bfseries\smf@boldmath\centering}}
1852 %</article>
1853 %<*book>
1854 \def\section{\@startsection{section}{1}%
1855 \z@{1.5\linespacing\@plus\linespacing}{.5\linespacing}%
1856 {\normalfont\bfseries\smf@boldmath}}
1857 %</book>
1858 %<*article|book>
1859 \let\sectionname\@empty
1860 % \end{macrocode}
1861 % \subsection{Sous-section}
1862 % On d\'efinit deux sous-sections : |\subsection|, pour laquelle le texte
1863 % continue, et |\Subsection| pour laquelle le texte est renvoy\'e \`a la
1864 % ligne.
1865 % \begin{macrocode}
1866 \def\subsection{\@startsection{subsection}{2}%
1867 \z@{.7\linespacing\@plus.7\linespacing}{-.5em}%
1868 {\normalfont\bfseries\smf@boldmath}}
1869 \def\Subsection{\@startsection{subsection}{2}%
1870 \z@{.7\linespacing\@plus.7\linespacing}{.3\linespacing}
1871 {\normalfont\bfseries\smf@boldmath}}
1872 \let\subsectionname\@empty
1873 % \end{macrocode}
1874 % \subsection{Sous-sous-section}
1875 % L\`a encore, il y en a deux.
1876 % \begin{macrocode}
1877 \def\subsubsection{\@startsection{subsubsection}{3}%
1878 \z@{.4\linespacing}{-.5em}%
1879 {\normalfont\itshape}}
1880 \def\Subsubsection{\@startsection{subsubsection}{3}%
1881 \z@{.4\linespacing}{.2\linespacing}%
1882 {\normalfont\itshape}}
1883 \let\subsubsectionname\@empty
1884 % \end{macrocode}
1885 % \subsection{Paragraphe}
1886 % \begin{macrocode}
1887 \def\paragraph{\@startsection{paragraph}{4}%
1888 \z@{.4\linespacing}{-\fontdimen2\font}%
1889 {\normalfont\itshape}}
1890 \let\paragraphname\@empty % ACL
1891 % \end{macrocode}
1892 % \subsection{Sous-paragraphe}
1893 % \begin{macrocode}
1894 \def\subparagraph{\@startsection{subparagraph}{5}%
1895 \z@{.3\linespacing}{-\fontdimen2\font}%
1896 \normalfont}
1897 % \end{macrocode}
1898 % \subsection{Hauts de pages provoqu\'es par les sections}
1899 % \begin{macrocode}
1900 \def\partrunhead#1#2#3{%
1901 \@ifnotempty{#2}
1902 {\MakeUppercase{#1 #2}\@ifnotempty{#3}{.\ }}%
1903 \@ifnotempty{#3}{\MakeUppercase{#3}}}
1904 %</article|book>
1905 %<*book>
1906 \let\chapterrunhead\partrunhead
1907 \def\indexrunhead#1#2#3{%
1908 \@xp\MakeUppercase{#3}}
1909 %</book>
1910 %<*article|book>
1911 \let\sectionrunhead\partrunhead
1912 % \end{macrocode}
1913 % \subsection{Re-d\'efinition de \texttt{@Roman}}
1914 % \begin{macrocode}
1915 \def\@Roman#1{\@xp\@slowromancap \romannumeral#1@}
1916 \def\@slowromancap#1{\ifx @#1% then terminate
1917 \else
1918 \if i#1I\else\if v#1V\else\if x#1X\else\if l#1L\else\if
1919 c#1C\else\if m#1M\else#1\fi\fi\fi\fi\fi\fi
1920 \@xp\@slowromancap
1921 \fi }
1922 %</article|book>
1923 % \end{macrocode}
1924 % \subsection{Exercices}
1925 % L'AMS pr\'evoyait des macros particuli\`eres pour les exercices,
1926 % diff\'erentes suivant que les exercices sont dans le cours du texte ou
1927 % bien en fin de chapitre. Pour l'instant, rien n'est fait hors quelques
1928 % macros de style `th\'eor\`emes'.
1929 % \subsection{Subdivisions d'un livre}
1930 % Cela me para\^{\i}t inutile pour l'instant, mais est standard en
1931 % \LaTeXe. Il faut ou d\'evelopper l'id\'ee, ou la supprimer.
1932 % \begin{macrocode}
1933 %<*book>
1934 \def\frontmatter{\cleardoublepage\pagenumbering{roman}}
1935 \def\mainmatter{\cleardoublepage
1936 \setcounter{page}{1}\def\baselinestretch{1.1}\normalfont
1937 \pagenumbering{arabic}}
1938 \def\backmatter{\cleardoublepage
1939 \def\baselinestretch{1}\normalfont}
1940 %</book>
1941 %<*article>
1942 \def\frontmatter{}
1943 \def\mainmatter{\def\baselinestretch{1.1}\normalfont}
1944 \def\backmatter{\def\baselinestretch{1}\normalfont}
1945 %</article>
1946 % \end{macrocode}
1947 % \section{Tables des mati\`eres}
1948 % \subsection{Param\`etres}
1949 % \begin{macrocode}
1950 %<*article|book>
1951 \newcommand{\@pnumwidth}{1.6em}
1952 \newcommand{\@tocrmarg}{2.6em}
1953 \setcounter{tocdepth}{1}
1954 %</article|book>
1955 % \end{macrocode}
1956 % \subsection{Macro g\'en\'erale}
1957 % Une nouveaut\'e est qu'on \'ecrit la toc dans tous les cas, m\^eme quand
1958 % elle n'est pas incluse dans la document. C'est important pour
1959 % \texttt{smfmulti}.
1960 % \begin{macrocode}
1961 %<*article>
1962 \def\@starttoc#1#2{\begingroup
1963 \par\removelastskip\vskip\z@skip
1964 \@startsection{toc}\@M\z@{\linespacing\@plus\linespacing}%
1965 {.5\linespacing}{\centering\normalfont\bfseries}{#2}%
1966 \ifx\contentsname#2%
1967 \else \addcontentsline{toc}{section}{#2}\fi
1968 \list{}{\labelwidth\z@
1969 \leftmargin\abstractmargin \rightmargin\leftmargin
1970 \listparindent\z@
1971 \itemindent\z@
1972 \parsep\z@ \@plus\p@
1973 \def\baselinestretch{1}\normalfont
1974 \let\fullwidthdisplay\relax}%
1975 \item\relax
1976 \makeatletter
1977 \@input{\jobname.#1}%
1978 \def\@tempa{toc}\def\@tempb{#1}\ifx\@tempa\@tempb\else
1979 \if@filesw
1980 \@xp\newwrite\csname tf@#1\endcsname
1981 \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
1982 \fi\fi\par
1983 \endlist
1984 \global\@nobreakfalse \endgroup
1985 \addvspace{32\p@\@plus14\p@}%
1986 }
1987 %</article>
1988 %<*book>
1989 \def\@starttoc#1#2{\begingroup
1990 \cleardoublepage
1991 \thispagestyle{empty}\global\@topnum\z@
1992 \@afterindenttrue
1993 \let\@secnumber\@empty % for \@tocwrite and \chaptermark
1994 \ifx\contentsname#2%
1995 \else \@tocwrite{chapter}{#2}\fi
1996 \typeout{#2}\@xp\chaptermark\@xp{#2}%
1997 \@makeschapterhead{#2}\@afterheading
1998 \makeatletter
1999 \@input{\jobname.#1}%
2000 \def\@tempa{toc}\def\@tempb{#1}\ifx\@tempa\@tempb\else
2001 \if@filesw
2002 \@xp\newwrite\csname tf@#1\endcsname
2003 \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
2004 \fi\fi
2005 \global\@nobreakfalse \endgroup
2006 \newpage }
2007 %</book>
2008 % \end{macrocode}
2009 % \subsection{D\'efinitions particuli\`eres}
2010 % \begin{macrocode}
2011 %<*article|book>
2012 \def\tableofcontents{\@starttoc{toc}\contentsname
2013 \let\tableofcontents\relax}
2014 \def\listoffigures{\@starttoc{lof}\listfigurename}
2015 \def\listoftables{\@starttoc{lot}\listtablename}
2016 % \end{macrocode}
2017 % \subsection{Ajustement de param\`etres}
2018 % J'ai cru d\'eceler un bug dans les macros originales d'amsbook. En effet,
2019 % si |\tocindent| augmente, il ne semble pas pouvoir rediminuer
2020 % apr\`es\dots
2021 % \begin{macrocode}
2022 \AtBeginDocument{%
2023 \@for\@tempa:=-1,0,1,2,3,4,5,10000\do{%
2024 \@ifundefined{r@tocindent\@tempa}{%
2025 \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}%
2026 }%
2027 }
2028 \def\@writetocindents{%
2029 \begingroup
2030 \@for\@tempa:=-1,0,1,2,3,4,5,10000\do{%
2031 \immediate\write\@auxout{%
2032 \string\newlabel{tocindent\@tempa}{%
2033 \csname r@tocindent\@tempa\endcsname}}%
2034 }%
2035 \endgroup}
2036 \AtEndDocument{\@writetocindents}
2037 \AtEndDocument{%
2038 \if@filesw
2039 \@xp\newwrite\csname tf@toc\endcsname
2040 \immediate\@xp\openout\csname tf@toc\endcsname \jobname.toc\relax
2041 \fi}
2042 % \end{macrocode}
2043 % \subsection{Fabrication d'une ligne dans la table}
2044 % \begin{macrocode}
2045 \let\indentlabel\@empty
2046 \def\@tochangmeasure#1{\sbox\z@{#1}%
2047 \ifdim\wd\z@>\csname r@tocindent\@toclevel\endcsname\relax
2048 \@xp\xdef\csname r@tocindent\@toclevel\endcsname{\the\wd\z@}%
2049 \fi
2050 }
2051 % \end{macrocode}
2052 % Les arguments sont les suivants :
2053 % \begin{enumerate}
2054 % \item degr\'e de profondeur ;
2055 % \item espacement avant la ligne ;
2056 % \item indentation \`a gauche ;
2057 % \item espacement suppl\'ementaire \`a gauche. S'il est vide, les macros
2058 % |\r@tocindent?| le calculent ;
2059 % \item polices ;
2060 % \item entr\'ee de tdm proprement dite ;
2061 % \item num\'ero de page.
2062 % \end{enumerate}
2063 % Il y a aussi une p\'enalit\'e \cs{tochyphenpenalty} de c\'esure dans
2064 % TdM. Par d\'efaut, elle vaut \cs{@M}=10\,000.
2065 % \begin{macrocode}
2066 \newcount\tochyphenpenalty
2067 \tochyphenpenalty\@M
2068 \def\@tocline#1#2#3#4#5#6#7{\relax
2069 \ifnum #1>\c@tocdepth % then omit
2070 \else
2071 \par \addpenalty\@secpenalty\addvspace{#2}%
2072 \begingroup \hyphenpenalty\tochyphenpenalty
2073 \@ifempty{#4}{%
2074 \@tempdima\csname r@tocindent\number#1\endcsname\relax
2075 }{%
2076 \@tempdima#4\relax
2077 }%
2078 \parindent\z@ \leftskip#3\relax
2079 \advance\leftskip\@tempdima\relax
2080 \advance\rightskip\@pnumwidth % plus1em
2081 \parfillskip-\@pnumwidth
2082 {#5{\leavevmode\hskip-\@tempdima #6}}%
2083 \nobreak
2084 \xleaders\hbox to1ex{\normalfont\hss.\hss}\hfil\nobreak
2085 \hbox to\@pnumwidth{\@tocpagenum{#7}}\par
2086 \nobreak
2087 \endgroup
2088 \fi}
2089 \def\@tocpagenum#1{\hss{\mdseries #1}}
2090 \def\@tocwrite#1{\@xp\@tocwriteb\csname toc#1\endcsname{#1}}
2091 \def\@tocwriteb#1#2#3{\begingroup
2092 \def\@tocline##1##2##3##4##5##6{\ifnum##1>\c@tocdepth
2093 \else \sbox\z@{##5\let\indentlabel\@tochangmeasure##6}\fi}%
2094 \csname l@#2\endcsname
2095 {#1{\csname#2name\endcsname}{\@secnumber}{}}%
2096 \endgroup
2097 \addcontentsline{toc}{#2}%
2098 {\protect#1{\csname#2name\endcsname}{\@secnumber}{#3}}}
2099 % \end{macrocode}
2100 % \subsection{Affichage des sections dans la table}
2101 % \begin{macrocode}
2102 \newcommand{\tocpart}[3]{%
2103 \indentlabel{\@ifnotempty{#2}{\ignorespaces#1 #2.\kern1ex}}#3}
2104 %</article|book>
2105 %<*book>
2106 \newcommand{\tocchapter}[3]{%
2107 \indentlabel{\@ifnotempty{#2}{\ignorespaces #2.\kern1ex}}#3}
2108 \let\tocappendix\tocchapter
2109 %</book>
2110 %<*article|book>
2111 \let\tocsection\tocpart
2112 \let\tocsubsection\tocsection
2113 \let\tocsubsubsection\tocsection
2114 \let\tocparagraph\tocsection
2115
2116 \def\l@part{\@tocline{-1}{12pt plus2pt}{0pt}{}{\bfseries\smf@boldmath}}
2117 %</article|book>
2118 %<*book>
2119 \def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{\bfseries\smf@boldmath}}
2120 \def\l@section{\@tocline{1}{0pt}{1pc}{}{}}
2121 \def\l@subsection{\@tocline{2}{0pt}{2pc}{}{}}
2122 \def\l@subsubsection{\@tocline{3}{0pt}{3pc}{}{}}
2123 \def\l@paragraph{\@tocline{5}{0pt}{4pc}{}{}}
2124 %</book>
2125 %<*article>
2126 \def\l@section{\@tocline{1}{0pt}{0pc}{}{}}
2127 \def\l@subsection{\@tocline{2}{0pt}{1pc}{}{}}
2128 \def\l@subsubsection{\@tocline{3}{0pt}{2pc}{}{}}
2129 \def\l@paragraph{\@tocline{5}{0pt}{3pc}{}{}}
2130 %</article>
2131 %<*article|book>
2132 \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}}
2133 \let\l@table\l@figure
2134 % \end{macrocode}
2135 % \section{Bibliographie}
2136 % La bibliographie est une section usuelle, dont le titre n'est finalement
2137 % plus en majuscules (03/10/97).
2138 % La taille du plus grand label est calcul\'ee automatiquement
2139 % et est sauv\'ee dans \cs{r@maxlabelwd}, via le \texttt{.aux}.
2140 % Il peut y a plusieurs environnements \texttt{thebibliography},
2141 % chacun a son \cs{r@maxlabelwd} (ils sont num\'erot\'es via \cs{smf@nthebib}).
2142 % \begin{macrocode}
2143 \newcount\smf@nthebib
2144 \newdimen\smf@tempwidtha
2145 \newdimen\smf@tempwidthb
2146 %<article>\let\bibliosection\section
2147 %<book>\let\bibliochapter\chapter
2148 %<article>\def\bibliofont{\def\baselinestretch{1}\small}
2149 %<book>\def\bibliofont{}
2150 \newenvironment{thebibliography}[1]{%
2151 \global\advance\smf@nthebib1
2152 %<article> \bibliosection*{\refname}%
2153 %<book> \bibliochapter*{\bibname}%
2154 \normalfont\labelsep .5em\relax
2155 \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
2156 \list{\@biblabel{\theenumiv}}{%
2157 \global\smf@tempwidtha 0pt
2158 \expandafter\ifx
2159 \csname r@maxlabelwd\the\smf@nthebib\endcsname
2160 \relax
2161 \settowidth\labelwidth{\@biblabel{#1}}%
2162 \else
2163 \expandafter\expandafter\expandafter\labelwidth
2164 \csname r@maxlabelwd\the\smf@nthebib\endcsname
2165 \fi
2166 \leftmargin\labelwidth \advance\leftmargin\labelsep
2167 \usecounter{enumiv}%
2168 \itemindent 0pt
2169 %<article> \itemsep 0.1\baselineskip plus0.1\baselineskip
2170 %<article> minus0.1\baselineskip
2171 %<book> \itemsep .7\baselineskip plus0.1\baselineskip
2172 %<book> minus0.2\baselineskip
2173 }
2174 \bibliofont
2175 \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
2176 \sfcode`\.=\@m
2177 }{%
2178 \def\@noitemerr{%
2179 \@latex@warning{Empty `thebibliography' environment}}% ' (hack)
2180 \endlist
2181 \immediate\write\@auxout
2182 {\string\newlabel{maxlabelwd\the\smf@nthebib}{\the\smf@tempwidtha}}
2183 }
2184 \def\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
2185 \def\newblock{}
2186 \def\@biblabel#1{\@ifnotempty{#1}{[#1]}}
2187 \def\@cite#1#2{{%
2188 \m@th\upshape\mdseries[{\bfseries #1}{\if@tempswa, #2\fi}]}}
2189 \@ifundefined{cite }{%
2190 \expandafter\let\csname cite \endcsname\cite
2191 \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}%
2192 }{}
2193 % \end{macrocode}
2194 % On red\'efinit |\bibitem|, etc. pour calculer la longueur du plus grand
2195 % label.
2196 % \begin{macrocode}
2197 \def\bibitem{\@ifnextchar[\@lbibitem\@bibitem}
2198 \def\smf@lbibitem[#1]#2{\item[\@biblabel{#1}\hfill]%
2199 \settowidth\smf@tempwidthb{\@biblabel{#1}}%
2200 \ifdim\smf@tempwidthb>\smf@tempwidtha
2201 \global\smf@tempwidtha=\smf@tempwidthb
2202 \fi
2203 \if@filesw
2204 {\let\protect\noexpand
2205 \immediate
2206 \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
2207 \def\smf@bibitem#1{\item\if@filesw \immediate\write\@auxout
2208 {\string\bibcite{#1}{\the\value{\@listctr}}}\fi
2209 \settowidth\smf@tempwidthb{\@biblabel{\theenumiv}}%
2210 \ifdim\smf@tempwidthb>\smf@tempwidtha
2211 \global\smf@tempwidtha=\smf@tempwidthb
2212 \fi\ignorespaces}
2213 \let\@lbibitem\smf@lbibitem\let\@bibitem\smf@bibitem
2214 % \end{macrocode}
2215 % \section{Index}
2216 % L'index est en deux colonnes. Si le package |multicol| existe, on
2217 % l'utilise, car il \'equilibre automatiquement les colonnes en fin
2218 % d'index.
2219 % \begin{macrocode}
2220 \newif\ifhave@multicol
2221 \IfFileExists{multicol.sty}%
2222 {\ClassInfo{\@classname}{Loading multicol.sty}%
2223 \RequirePackage{multicol}\have@multicoltrue}%
2224 {\ClassInfo{\@classname}%
2225 {multicol.sty is unavailable, using LaTeX's twocolumn}}
2226 \newcommand\printindex{\@input{\jobname.ind}}%
2227 \newif\if@restonecol
2228 % \def\indexchap{\@startsection{chapter}{1}{\z@}{92pt}{10pc}%
2229 % {\centering\fontsize{\@xivpt}{18}\bfseries}}%
2230 %<article>\let\indexsection\section
2231 %<book>\let\indexchapter\chapter
2232 \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
2233 \columnseprule0pt \columnsep 35\p@
2234 %</article|book>
2235 %<*article>
2236 \ifhave@multicol
2237 \begin{multicols}{2}[\indexsection*{\indexname}]%
2238 \else
2239 \twocolumn[\indexsection*{\indexname}]%
2240 \fi
2241 %</article>
2242 %<*book>
2243 \ifhave@multicol
2244 \begin{multicols}{2} [\indexchapter*{\indexname}]
2245 \else
2246 \twocolumn [\indexchapter*{\indexname}]
2247 \fi
2248 \@xp\indexmark\@xp{\indexname}%
2249 \thispagestyle{empty}%
2250 %</book>
2251 %<*article|book>
2252 \let\item\@idxitem
2253 \parindent\z@ \parskip\z@\@plus.3\p@\relax
2254 \footnotesize}
2255 \def\@idxitem{\par\hangindent 2em}
2256 \def\subitem{\par\hangindent 2em\hspace*{1em}}
2257 \def\subsubitem{\par\hangindent 3em\hspace*{2em}}
2258 %</article|book>
2259 %<*article>
2260 \def\endtheindex{\ifhave@multicol
2261 \end{multicols}%
2262 \else
2263 \if@restonecol\onecolumn\fi
2264 \fi}
2265 %</article>
2266 %<*book>
2267 \def\endtheindex{\ifhave@multicol
2268 \end{multicols}\clearpage
2269 \else
2270 \if@restonecol\onecolumn\else\clearpage\fi
2271 \fi}
2272 %</book>
2273 %<*article|book>
2274 \def\indexspace{\par}
2275 %</article|book>
2276 % \end{macrocode}
2277 % \section{Notes de bas de page}
2278 % Suivant le message pr-tools/2664 de Frank Mittelbach, on revient \`a la
2279 % d\'efinition originelle de \LaTeXe.
2280 % \begin{macrocode}
2281 %<book>\@addtoreset{footnote}{chapter}
2282 %<*article|book>
2283 \def\footnoterule{\kern-.4\p@
2284 \hrule\@width 5pc\kern10\p@\kern-\footnotesep}
2285 \def\@makefnmark{\hbox{$\m@th^{(\@thefnmark)}$}}
2286 \def\@makefntext{\parindent0pt\sloppy\indent\@makefnmark}
2287 % \end{macrocode}
2288 % \section{Figures}
2289 % \subsection{Param\`etres}
2290 % \begin{macrocode}
2291 \hfuzz=1pt \vfuzz=\hfuzz
2292 \def\sloppy{\tolerance9999 \emergencystretch 3em\relax}
2293 \setcounter{topnumber}{4}
2294 \setcounter{bottomnumber}{4}
2295 \setcounter{totalnumber}{4}
2296 \setcounter{dbltopnumber}{4}
2297 \renewcommand{\topfraction}{.97}
2298 \renewcommand{\bottomfraction}{.97}
2299 \renewcommand{\textfraction}{.03}
2300 \renewcommand{\floatpagefraction}{.9}
2301 \renewcommand{\dbltopfraction}{.97}
2302 \renewcommand{\dblfloatpagefraction}{.9}
2303 \setlength{\floatsep}{12pt plus 6pt minus 4pt}
2304 \setlength{\textfloatsep}{15pt plus 8pt minus 5pt}
2305 \setlength{\intextsep}{12pt plus 6pt minus 4pt}
2306 \setlength{\dblfloatsep}{12pt plus 6pt minus 4pt}
2307 \setlength{\dbltextfloatsep}{15pt plus 8pt minus 5pt}
2308 \setlength{\@fptop}{0pt}% removed ``plus 1fil''
2309 \setlength{\@fpsep}{8pt}% removed ``plus 2fil''
2310 \setlength{\@fpbot}{0pt plus 1fil}
2311 \setlength{\@dblfptop}{0pt}% removed ``plus 1fil''
2312 \setlength{\@dblfpsep}{8pt}% removed ``plus 2fil''
2313 \setlength{\@dblfpbot}{0pt plus 1fil}
2314 \newcommand{\fps@figure}{tbp}
2315 \newcommand{\fps@table}{tbp}
2316 %</article|book>
2317 %<*article>
2318 \newcounter{figure}
2319 \newcounter{table}
2320 %</article>
2321 %<*book>
2322 \newcounter{figure}[chapter]
2323 \newcounter{table}[chapter]
2324 %</book>
2325 %<*article|book>
2326 \def\ftype@figure{1}
2327 \def\ext@figure{lof}
2328 \def\fnum@figure{\figurename\ \thefigure}
2329 \newenvironment{figure}{\@float{figure}}{\end@float}
2330 \newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
2331 \def\ftype@table{2}
2332 \def\ext@table{lot}
2333 \def\fnum@table{\tablename\ \thetable}
2334 \newenvironment{table}{\@float{table}}{\end@float}
2335 \newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
2336 % \end{macrocode}
2337 % \subsection{L\'egende}
2338 % \begin{macrocode}
2339 \newskip\abovecaptionskip \abovecaptionskip=12pt \relax
2340 \newskip\belowcaptionskip \belowcaptionskip=12pt \relax
2341 \newdimen\captionindent \captionindent=3pc
2342 %% \def\captionheadfont@{\scshape}
2343 %% \def\captionfont@{\normalfont}
2344 \def\@captionheadfont{\normalfont\scshape\small}
2345 \def\@captionfont{\normalfont\small}
2346 \long\def\smf@makecaption#1#2{%
2347 \ifdim\captionindent>.1\hsize \captionindent.1\hsize \fi
2348 \setbox\@tempboxa\vbox{\color@setgroup
2349 \advance\hsize-2\captionindent\noindent
2350 \@captionfont\@captionheadfont#1\@xp\@ifnotempty\@xp
2351 {\@cdr#2\@nil}{\@addpunct{.}\@captionfont\rmfamily\upshape\enspace#2}%
2352 \unskip\kern-2\captionindent\par
2353 \global\setbox\@ne\lastbox\color@endgroup}%
2354 \ifhbox\@ne % the normal case
2355 \setbox\@ne\hbox{\unhbox\@ne\unskip\unskip\unpenalty\unkern}%
2356 \fi
2357 \ifdim\wd\@tempboxa=\z@ % this means caption will fit on one line
2358 \setbox\@ne\hbox to\columnwidth{\hss\kern-2\captionindent\box\@ne\hss}%
2359 \@tempdima\wd\@ne\advance\@tempdima-\captionindent
2360 \wd\@ne\@tempdima
2361 \else % tempboxa contained more than one line
2362 \setbox\@ne\vbox{\rightskip=0pt plus\captionindent\relax
2363 \unvbox\@tempboxa\parskip\z@skip
2364 \noindent\unhbox\@ne\advance\hsize-2\captionindent\par}%
2365 \fi
2366 \ifnum\@tempcnta<64 % if the float IS a figure...
2367 \addvspace\abovecaptionskip
2368 \noindent\kern\captionindent\box\@ne
2369 \else % if the float IS NOT a figure...
2370 \noindent\kern\captionindent\box\@ne
2371 \nobreak
2372 \vskip\belowcaptionskip
2373 \fi
2374 \relax
2375 }
2376 \let\@makecaption\smf@makecaption
2377 % \end{macrocode}
2378 % \section{Th\'eor\`emes}
2379 % On utilise le package AMS, actuellement, des environnements sont
2380 % d\'efinis dans la classe, cela me para\^{\i}t souhaitable (comparer avec
2381 % ce que font Springer, Kluwer and co).
2382 % Malheureusement, la nouvelle version de {\tt amsthm.sty} n'est pas
2383 % compatible avec l'ancienne\dots
2384 % \begin{macrocode}
2385 \def\@upn{}
2386 \RequirePackage{amsthm}
2387 \@ifundefined{@restorelabelsep}{\let\@restorelabelsep\relax}{}
2388 \@ifundefined{thm@headfont}{%
2389 \let\thm@indent\theoremindent
2390 \let\thm@headfont\theoremheadfont
2391 \let\thm@notefont\theoremnotefont
2392 \let\thm@preskip\theorempreskipamount
2393 \let\thm@postskip\theorempostskipamount
2394 \let\thm@headpunct\theoremheadpunct}{}
2395 \def\@swapped#1#2{#2\@ifnotempty{#1}{\@addpunct{{\upshape.}}\quad#1\unskip}}
2396 % \end{macrocode}
2397 % Et il y a encore une nouvelle version [2000/06/02] de {\tt amsthm.sty}
2398 % qui change la num\'erotation. Il faudra comparer et \'elaguer...
2399 % \begin{macrocode}
2400 \def\swappedhead#1#2#3{%
2401 \thmnumber{#2.}%
2402 \thmname{\@ifnotempty{#2}{~}#1}%
2403 \thmnote{ {\the\thm@notefont(#3)}}}
2404 % \end{macrocode}
2405 % On inclut la macro |\@thmheadnl| qui sauvegarde ce qu'a d\'ecid\'e l'AMS
2406 % lorsqu'un \'enonc\'e de th\'eor\`eme d\'ebute \`a la ligne au lieu de continuer apr\`es
2407 % son titre.
2408 % \begin{macrocode}
2409 \def\@thmheadnl{%
2410 \@noskipsectrue
2411 \everypar{\global\@minipagefalse \global\@newlistfalse
2412 \global\@inlabelfalse \global\@nobreakfalse
2413 {\setbox\z@\lastbox}\box\@labels
2414 {\parskip0pt\par}\global\@nobreaktrue
2415 \everypar{}\indent}}%
2416 % \end{macrocode}
2417 % On red\'efinit |\@begintheorem|
2418 % en reprenant une version récente de l'AMS.
2419 % Pour régler le problème des noms de th\'eor\`emes trop longs ; si la
2420 % longueur du nom dépasse 70\%\ de la largeur du texte, l'énoncé passe
2421 % à la ligne.
2422 % De plus, le système de l'AMS pose un problème lorsqu'un environnement de liste
2423 % suit un entête de théorème qui passe à la ligne.
2424 % La solution est donnée par David Carlisle dans tex.stackexchange.
2425 % On doit définir |\thmnewline| qui rend |true| le test |\ifsmf@thmnewline|,
2426 % et modifier l'environnement |\@trivlist| pour qu'il s'en serve.
2427 % \begin{macrocode}
2428 \newif\ifsmf@thmnewline
2429 \def\thmnewline{\newline\global\smf@thmnewlinetrue}
2430 \def\@begintheorem#1#2[#3]{%
2431 \global\smf@thmnewlinefalse
2432 \def\@theoremhead{\the\thm@headfont \thm@indent
2433 \@ifempty{#1}{\let\thmname\@gobble}{\let\thmname\@iden}%
2434 \@ifempty{#2}{\let\thmnumber\@gobble}{\let\thmnumber\@iden}%
2435 \@ifempty{#3}{\let\thmnote\@gobble}{\let\thmnote\@iden}%
2436 \thm@swap\swappedhead\thmhead{#1}{#2}{#3}%
2437 \the\thm@headpunct
2438 \thmheadnl % possibly a newline.
2439 \hskip\thm@headsep
2440 }%
2441 \ifsmf@skippt\else
2442 {\thm@headpunct{.}\sbox\@labels{\@theoremhead}%
2443 \ifdim\wd\@labels>.7\linewidth\skippointrait\fi}\fi
2444 \ifsmf@skippt\def\thmheadnl{\newline\indent\global\smf@thmnewlinetrue}\fi
2445 \deferred@thm@head{\@theoremhead}%
2446 \ignorespaces}
2447 % \end{macrocode}
2448 % La rédéfinition de |\@trivlist|.
2449 % \begin{macrocode}
2450 \let\smf@org@trivlist\@trivlist
2451 \def\@trivlist{%
2452 \if@inlabel\ifsmf@thmnewline
2453 \mbox{}\par\nobreak
2454 \vskip\glueexpr-\parskip-\baselineskip+3pt\relax
2455 \hrule\@height\z@
2456 \global\smf@thmnewlinefalse
2457 \fi\fi
2458 \smf@org@trivlist}
2459 % \end{macrocode}
2460 % Pour regler le probleme des noms de demonstrations trop longs ; si la
2461 % longueur du nom depasse 70\%\ de la largeur du texte, la demonstration
2462 % est sur la ligne suivante.
2463 % On s'adapte aussi \`a la nouvelle version de \textsf{amsthm} qui offre une
2464 % macro \cs{qedhere} plus efficace que l'ancien \cs{MakeQed}.
2465 % \begin{macrocode}
2466 \newif\ifx@pushQED
2467 \@ifundefined{pushQED}{\x@pushQEDfalse}{\x@pushQEDtrue}
2468 \renewenvironment{proof}[1][\proofname]{\par
2469 \ifx@pushQED \pushQED{\qed}\fi
2470 \normalfont
2471 % \topsep6\p@\@plus6\p@
2472 \topsep0pt
2473 \trivlist \itemindent\z@ %% \normalparindent
2474 \def\@proofhead{\normalfont\itshape #1}%
2475 \sbox\@tempboxa{\@proofhead}%
2476 \ifdim\wd\@tempboxa>0.7\linewidth \smf@skippttrue\fi
2477 \ifsmf@skippt
2478 % \penalty-\@medpenalty
2479 \global\smf@skipptfalse
2480 \item[]{\@proofhead\@@par}
2481 \nobreak
2482 \else
2483 \item[\hskip\labelsep
2484 \unhbox\@tempboxa\pointrait]%
2485 \fi
2486 \ignorespaces
2487 }{%
2488 \MakeQed
2489 \endtrivlist
2490 \@endpefalse
2491 \medskip
2492 }
2493 \def\MakeQed{\ifsmf@qed
2494 \ifx@pushQED\popQED\else\qed\fi
2495 \fi\global\smf@qedtrue}
2496 \newif\ifsmf@qed\smf@qedtrue
2497 \def\skipqed{\global\smf@qedfalse}
2498 % \end{macrocode}
2499 % \subsection{Styles g\'en\'eraux}
2500 % \begin{macrocode}
2501 \def\th@plain{%
2502 \let\thm@indent\noindent
2503 \thm@headfont{\bfseries\smf@boldmath\itshape}%
2504 \thm@notefont{\bfseries\smf@boldmath\upshape}%
2505 \thm@preskip 0pt %% was: .5\linespacing \@plus .5\linespacing
2506 \thm@postskip\thm@preskip
2507 \thm@headpunct{\MakePointrait}
2508 \itshape }
2509 \def\th@definition{\th@plain \upshape }
2510 \def\th@remark{\th@definition }
2511 % \end{macrocode}
2512 % \section{Compatibilit\'e avec \emph{babel.sty}}
2513 % Tout doit \^etre fait pour que la classe puisse \^etre multilingue.
2514 % Le probl\`eme est toutefois que \emph{babel} n'existe pas partout,
2515 % et que je ne veux pas forcer son utilisation (par exemple pour un
2516 % texte anglais...)
2517 % \subsection{Anglais}
2518 % \begin{macrocode}
2519 \def\smf@captionsenglish{%
2520 \def\abstractname{Abstract}%
2521 \def\contentsname{Contents}%
2522 \def\partname{Part}%
2523 \def\chaptername{Chapter}%
2524 \def\refname{References}%
2525 \def\bibname{Bibliography}%
2526 \def\indexname{Index}%
2527 \def\altabstractname{R\'esum\'e}%
2528 \def\appendixname{Appendix}%
2529 \def\tablename{Table}%
2530 \def\listtableename{List of tables}%
2531 \def\figurename{Figure}%
2532 \def\listfigurename{List of figures}%
2533 \def\seename{see also}%
2534 \def\keywordsname{Key words and phrases}%
2535 \def\altkeywordsname{Mots clefs}%
2536 \def\translatedby {Translated by}%
2537 \def\subjclassname
2538 {\textup{2000} Mathematics Subject Classification}%
2539 \def\proofname{Proof}%
2540 \def\definame{Definition}%
2541 \def\propname{Proposition}%
2542 \def\theoname{Theorem}%
2543 \def\conjname{Conjecture}%
2544 \def\coroname{Corollary}%
2545 \def\exemname{Example}%
2546 \def\lemmname{Lemma}%
2547 \def\remaname{Remark}%
2548 \def\smfbyname{by}\def\smfandname{\&}%
2549 \def\smfedbyname{edited by}%
2550 \def\smfedname{ed.}\def\smfedsname{eds.}%
2551 \def\smfphdthesisname{Ph.D. Thesis}%
2552 \def\smfmastersthesisname{Master's Thesis}%
2553 \let\@makecaption\smf@makecaption
2554 }
2555 % \end{macrocode}
2556 % \subsection{Fran\c cais}
2557 % \begin{macrocode}
2558 \def\smf@captionsfrench{%
2559 \def\abstractname{R\'esum\'e}%
2560 \def\contentsname{Table des mati\`eres}%
2561 \def\partname{Partie}%
2562 \def\chaptername{Chapitre}%
2563 \def\bibname{Bibliographie}%
2564 \def\indexname{Index}%
2565 \def\refname{R\'ef\'erences}%
2566 \def\altabstractname{Abstract}%
2567 \def\appendixname{Appendice}%
2568 \def\figurename{Figure}%
2569 \def\listfigurename{Liste des figures}%
2570 \def\tablename{Table}%
2571 \def\listtablename{Liste des tables}%
2572 \def\seename{voir}%
2573 \def\keywordsname{Mots clefs}%
2574 \def\altkeywordsname{Key words and phrases}%
2575 \def\subjclassname
2576 {Classification math\'ematique par sujets \textup{(2000)}}%
2577 \def\translatedby {Traduit par}%
2578 \def\proofname{D\'emonstration}%
2579 \def\definame{D\'efinition}%
2580 \def\propname{Proposition}%
2581 \def\theoname{Th\'eor\`eme}%
2582 \def\conjname{Conjecture}%
2583 \def\coroname{Corollaire}%
2584 \def\exemname{Exemple}%
2585 \def\lemmname{Lemme}%
2586 \def\remaname{Remarque}%
2587 \def\smfbyname{par}\def\smfandname{\&}%
2588 \def\smfedbyname{\'edit\'e par}%
2589 \def\smfedname{\'ed.}\def\smfedsname{\'eds.}%
2590 \def\smfphdthesisname{Th\`ese}%
2591 \def\smfmastersthesisname{M\'emoire}%
2592 \csname bbl@nonfrenchlistspacing\endcsname
2593 \let\@makecaption\smf@makecaption
2594 }
2595 % \end{macrocode}
2596 % \subsection{Int\'egration dans {\em babel}}
2597 % Cela doit se faire au |\begin{document}| car \textit{babel} repousse
2598 % jusque l\`a la plupart de ses d\'eclarations.
2599 % \begin{macrocode}
2600 \AtBeginDocument{%
2601 \expandafter\csname smf@captions\smf@language\endcsname
2602 \ifx\ldf@quit\@undefined % babel n'est pas charge
2603 \let\@smflanguage\relax
2604 \let\@smfaltlanguage\relax
2605 \else
2606 \expandafter\main@language\expandafter{\smf@language}
2607 % \end{macrocode}
2608 % Si le dialecte babel \texttt{frenchb} n'est pas charg\'e,
2609 % on teste le dialecte \texttt{french} :
2610 % En fait, les versions r\'ecentes de \textit{babel/frenchb} utilisent
2611 % \verb'captionsfrench'.
2612 % \begin{macrocode}
2613 \ifx\captionsfrenchb\@undefined\else
2614 \addto\captionsfrenchb{\smf@captionsfrench}\fi
2615 \ifx\captionsfrench\@undefined\else
2616 \addto\captionsfrench{\smf@captionsfrench}\fi
2617 \ifx\captionsfrancais\@undefined\else
2618 \addto\captionsfrancais{\smf@captionsfrench}\fi
2619 % \end{macrocode}
2620 % On regarde si le dialecte babel \texttt{english} est charg\'e
2621 % \begin{macrocode}
2622 \ifx\captionsenglish\@undefined\else
2623 \addto\captionsenglish{\smf@captionsenglish}%
2624 \fi
2625 \def\@temp{french}%
2626 \ifx\smf@language\@temp
2627 \def\@smflanguage{\smf@silentselectlanguage{french}}%
2628 \def\@smfaltlanguage{\smf@silentselectlanguage{english}}%
2629 \else
2630 \def\@smflanguage{\smf@silentselectlanguage{english}}%
2631 \def\@smfaltlanguage{\smf@silentselectlanguage{french}}%
2632 \fi
2633 \fi }
2634 \def\smf@silentselectlanguage#1{%
2635 \def\smf@tmp{}%
2636 \expandafter\ifx\csname date#1\endcsname\relax\else
2637 \def\smf@tmp{\selectlanguage{#1}}\fi\smf@tmp}
2638 % \end{macrocode}
2639 % \subsection{Guillemets fran\c cais}
2640 % {\LaTeXe} a des macros pr\'evues pour tout cela qui sont
2641 % parfaits lorsque l'{\em encoding} des caract\`eres est {\tt T1},
2642 % il est peut-\^etre utile de les red\'efinir pour qu'ils soient bien quand
2643 % l'auteur n'a pas tap\'e |\usepackage{T1}{fontenc}|.
2644 % \begin{macrocode}
2645 \ProvideTextCommandDefault{\guillemotleft}%
2646 {\leavevmode\hbox{\fontencoding{U}\fontfamily{lasy}%
2647 \fontseries{m}\fontshape{n}\selectfont
2648 (\kern-0.20em(\kern+0.20em}\nobreak}
2649 \ProvideTextCommandDefault{\guillemotright}%
2650 {\nobreak\leavevmode
2651 \hbox{\fontencoding{U}\fontfamily{lasy}%
2652 \fontseries{m}\fontshape{n}\selectfont
2653 \kern+0.20em)\kern-0.20em)}}
2654 % \end{macrocode}
2655 % \subsection{Espace ins\'ecable, tiret}
2656 % Je ne sais plus d'o\`u viennent ces deux lignes. Le point-trait est
2657 % introduit pour \'eviter les incoh\'erences.
2658 % \begin{macrocode}
2659 \def\nonbreakingspace{\unskip\nobreak\ \ignorespaces}
2660 \def~{\protect\nonbreakingspace}
2661 % \end{macrocode}
2662 % Les titres de sections qui sont imm\'ediatement suivies du texte sont
2663 % affubli\'es d'un point--trait, conform\'ement \`a certains usages en
2664 % typographie fran\c caise. Seulement, il faut pouvoir le supprimer lorsque
2665 % le texte qui suit va tout de m\^eme \`a la ligne (c'est par exemple le
2666 % cas si le paragraphe d\'ebute par une liste). La commande
2667 % |\skippointrait| supprime l'affichage du prochain point--trait.
2668 % \begin{macrocode}
2669 \newif\ifsmf@skippt \smf@skipptfalse
2670 \def\skippointrait{\global\smf@skippttrue}
2671 \DeclareRobustCommand{\@pointrait}{%
2672 \unskip
2673 \ifnum\spacefactor>\@m \hskip1ex\hbox{---}\else
2674 {\upshape.\hskip 1ex\hbox{---}}\fi}
2675 \DeclareRobustCommand{\MakePointrait}{%
2676 \ifsmf@skippt\global\smf@skipptfalse \else\nobreak\@pointrait\fi}
2677 \let\pointrait\MakePointrait
2678 % \end{macrocode}
2679 % \subsection{Divers}
2680 % \begin{macrocode}
2681 \def\fullwidthdisplay{\displayindent\z@ \displaywidth\columnwidth}
2682 \edef\@tempa{\noexpand\fullwidthdisplay\the\everydisplay}
2683 \everydisplay\expandafter{\@tempa}
2684 \newcommand\see[2]{{\em \seename\/} #1}%
2685 % \end{macrocode}
2686 % Pour que \emph{hyperref} fonctionne, on charge \emph{smfhyperref.sty}
2687 % au |\begin{document}|.
2688 % \begin{macrocode}
2689 \AtBeginDocument{%
2690 \csname @ifpackageloaded\endcsname{hyperref}{\RequirePackage{smfhyperref}}{}}
2691 % \end{macrocode}
2692 % \section{Initialisation}
2693 % \begin{macrocode}
2694 \calclayout % initialize
2695 \pagenumbering{arabic}
2696 \pagestyle{headings}
2697 \thispagestyle{plain}
2698 % \end{macrocode}
2699 % La variable |\emergencystretch| est initialis\'ee \`a \texttt{2em} pour
2700 % \'eviter des \emph{Overfull hbox}es trop fr\'equentes.
2701 % \begin{macrocode}
2702 \emergencystretch 2em
2703 %</article|book>
2704 % \end{macrocode}
2705 % \section{Pour qu'\texttt{hyperref} fonctionne}
2706 %<*hyperref>
2707 % \begin{macrocode}
2708 \ProvidesPackage{smfhyperref}[2021/04/18 v1.6
2709 Adaptations pour faire cohabiter hyperref et les classes smf]
2710 % \end{macrocode}
2711 % Redéfinition des macros d'index.
2712 % \begin{macrocode}
2713 \def\@@wrindex#1|#2|#3\\{%
2714 \ifx\\#2\\%
2715 \protected@write\@indexfile{}{%
2716 \string\indexentry{#1}{\thepage}%
2717 }%
2718 \else
2719 \def\Hy@temp@A{#2}%
2720 \ifx\Hy@temp@A\HyInd@ParenLeft
2721 \protected@write\@indexfile{}{%
2722 \string\indexentry{#1|#2}{\thepage}%
2723 }%
2724 \else
2725 \protected@write\@indexfile{}{%
2726 \string\indexentry{#1|#2}{\thepage}%
2727 }%
2728 \fi
2729 \fi
2730 \endgroup
2731 \@esphack
2732 }%
2733 % \end{macrocode}
2734 % Redéfinition des macros de bibliographie.
2735 % \begin{macrocode}
2736 \ltx@IfUndefined{NAT@parse}{%
2737 \def\@lbibitem[#1]#2{%
2738 \@skiphyperreftrue
2739 \H@item[%
2740 \ifx\Hy@raisedlink\@empty
2741 \hyper@anchorstart{cite.#2\@extra@b@citeb}%
2742 \@BIBLABEL{#1}%
2743 \hyper@anchorend
2744 \else
2745 \Hy@raisedlink{%
2746 \hyper@anchorstart{cite.#2\@extra@b@citeb}\hyper@anchorend
2747 }%
2748 \@BIBLABEL{#1}%
2749 \fi
2750 \hfill
2751 ]%
2752 \settowidth\smf@tempwidthb{\@biblabel{#1}}%
2753 \ifdim\smf@tempwidthb>\smf@tempwidtha
2754 \global\smf@tempwidtha=\smf@tempwidthb
2755 \fi
2756 \@skiphyperreffalse
2757 \if@filesw
2758 \begingroup
2759 \let\protect\noexpand
2760 \immediate\write\@auxout{%
2761 \string\bibcite{#2}{#1}%
2762 }%
2763 \endgroup
2764 \fi
2765 \ignorespaces
2766 }%
2767 \def\@bibitem#1{%
2768 \@skiphyperreftrue\H@item\@skiphyperreffalse
2769 \Hy@raisedlink{%
2770 \hyper@anchorstart{cite.#1\@extra@b@citeb}\relax\hyper@anchorend
2771 }%
2772 \if@filesw
2773 \begingroup
2774 \let\protect\noexpand
2775 \immediate\write\@auxout{%
2776 \string\bibcite{#1}{\the\value{\@listctr}}%
2777 }%
2778 \endgroup
2779 \fi
2780 \settowidth\smf@tempwidthb{\@biblabel{\theenumiv}}%
2781 \ifdim\smf@tempwidthb>\smf@tempwidtha
2782 \global\smf@tempwidtha=\smf@tempwidthb
2783 \fi
2784 \ignorespaces
2785 }%
2786 }{}
2787 % \end{macrocode}
2788 %</hyperref>
2789 % \section{Package de th\'eor\`emes}
2790 % \begin{macrocode}
2791 %<*smfthm>
2792 \ProvidesPackage{smfthm}[1999/03/05 v1.0.h
2793 Environnements predefinis de theoremes]
2794 % \end{macrocode}
2795 % \subsection{Options laiss\'ees au choix de l'utilisateur}
2796 % Ici se pose un probl\`eme~: il faut arbitrer entre la libert\'e de
2797 % l'auteur
2798 % et l'uniformit\'e du style. Dans un recueil d'articles, il faudra
2799 % permettre
2800 % de changer d'options d'un article \`a l'autre, c'est pourquoi ce choix
2801 % est constitu\'e d'une option par d\'efaut et de macros qui permettent de
2802 % changer l'apparence --- malheureusement en cours de texte,
2803 % mais il ne faut pas le dire --- au choix de l'auteur. \'Eventuellement,
2804 % de nouvelles options pourraient \^etre rajout\'ees plus tard au fur et
2805 % \`a
2806 % mesure de l'apparition des besoins, si bien que de
2807 % nombreuses solutions devraient \^etre possibles.
2808 % Dans tous les cas, pour plus de lisibilit\'e,
2809 % il me semble que tous les \'enonc\'es doivent \^etre num\'erot\'es
2810 % \`a la suite (Th\'eor\`eme 1~; Lemme 2; % Proposition 3; Lemme 4).
2811 % Il y a plusieurs options, qui doivent \^etre entr\'ees \emph{avant} le
2812 % |\begin{document}|.
2813 % \begin{itemize}
2814 % \item
2815 % |\NumberTheoremsIn{|\meta{nom de compteur}|}| \par
2816 % on peut pr\'eciser le niveau de profondeur
2817 % auquel les num\'eros d'\'enonc\'es sont remis \`a z\'ero
2818 % (|section| me para\^it le mieux)
2819 % \item
2820 % |\NumberTheoremsAs{|\meta{nom de compteur}|}|\par
2821 % on utilise un d\'ecoupage en paragraphes, dont les th\'eor\`emes sont des
2822 % cas
2823 % particuliers (|paragraph| me para\^it le plus adapt\'e dans ce cas).
2824 % \item
2825 % |\SwapTheoremNumbers|\par
2826 % on met le num\'ero avant le type d'\'enonc\'e,
2827 % comme dans \og 1.~Th\'eor\`eme\fg ;
2828 % \item
2829 % |\NoSwapTheoremNumbers|\par
2830 % on met le type d'\'enonc\'e avant son num\'ero, exemple~: \og
2831 % Th\'eor\`eme\fg.
2832 % \end{itemize}
2833 % En standard, je propose\par
2834 % |\NumberTheoremsIn{section}\NoSwapTheoremNumbers|.
2835 % \begin{macrocode}
2836 \newif\ifsmf@thmsin\smf@thmsintrue
2837 \def\NumberTheoremsIn#1{\@ifempty{#1}%
2838 {\smf@thmsinfalse}%
2839 {\@ifundefined{c@#1}{\@nocounterr{#1}}%
2840 {\smf@thmsintrue\def\@NumberTheorems{#1}}}}
2841 \NumberTheoremsIn{section}
2842 \def\NumberTheoremsAs#1{\@ifempty{#1}%
2843 {\smf@thmsintrue}%
2844 {\@ifundefined{c@#1}{\@nocounterr{#1}}%
2845 {\smf@thmsinfalse\def\@NumberTheorems{#1}}}}
2846 \NumberTheoremsAs{}
2847 \def\SwapTheoremNumbers{\def\thm@swap{S}}
2848 \def\NoSwapTheoremNumbers{\def\thm@swap{N}}
2849 \NoSwapTheoremNumbers
2850 % \end{macrocode}
2851 % \subsection{D\'efinition de th\'eor\`emes}
2852 % L\`a sont d\'efinies d\'efinitions, th\'eor\`emes, corollaires, etc. Il
2853 % n'y a qu'un seul compteur (\texttt{defi}),
2854 % tout est donc num\'erot\'e \`a la suite, ce qui pourrait \^etre
2855 % modifi\'e.
2856 % \begin{macrocode}
2857 \def\smf@thmdefs{%
2858 \theoremstyle{plain}
2859 \ifsmf@thmsin
2860 % \ClassInfo{Theoremes numerotes dans les \@NumberTheorems}
2861 \newcounter{smfthm}[\@NumberTheorems]
2862 \xdef\thesmfthm
2863 {\expandafter\noexpand\csname the\@NumberTheorems\endcsname
2864 .\noexpand\arabic{smfthm}}%
2865 \gdef\smf@thm{smfthm}
2866 \else
2867 % \ClassInfo{Theoremes numerotes comme les \@NumberTheorems}
2868 \xdef\smf@thm{\@NumberTheorems}
2869 \fi
2870 \newtheorem{theo}[\smf@thm]{\theoname}%
2871 \newtheorem{prop}[\smf@thm]{\propname}%
2872 \newtheorem{conj}[\smf@thm]{\conjname}%
2873 \newtheorem{coro}[\smf@thm]{\coroname}%
2874 \newtheorem{lemm}[\smf@thm]{\lemmname}%
2875 %
2876 \theoremstyle{definition}%
2877 \newtheorem{defi}[\smf@thm]{\definame}%
2878 %
2879 \theoremstyle{remark}%
2880 \newtheorem{rema}[\smf@thm]{\remaname}%
2881 \newtheorem{exem}[\smf@thm]{\exemname}%
2882 \theoremstyle{plain}}
2883 % \end{macrocode}
2884 % \subsection{Th\'eor\`eme g\'en\'erique}
2885 % L'environnement \texttt{enonce} permet un th\'eor\`eme g\'en\'erique dont
2886 % le nom change \`a la demande, par exemple~:\par
2887 % |\begin{enonce}{Formulaire}| \meta\dots |\end{enonce}|\par
2888 % \noindent provoque l'affichage d'un `Formulaire', num\'erot\'e comme il
2889 % se doit.
2890 % L'environnement \texttt{enonce*} est le pendant de l'environnement
2891 % \texttt{enonce}, mais sans num\'erotation.
2892 % \begin{macrocode}
2893 \def\smf@enoncedef{%
2894 \newenvironment{enonce}[2][plain]%
2895 {\let\smfenonce\relax \theoremstyle{##1}%
2896 \newtheorem{smfenonce}[\smf@thm]{##2}%
2897 \begin{smfenonce}}%
2898 {\end{smfenonce}}%
2899 \newenvironment{enonce*}[2][plain]%
2900 {\let\smfenonce\relax \theoremstyle{##1}%
2901 \newtheorem*{smfenonce}{##2}%
2902 \begin{smfenonce}}%
2903 {\end{smfenonce}}%
2904 }
2905 % \end{macrocode}
2906 % \subsection{Mise en place des th\'eor\`emes}
2907 % Lors du |\begin{document}|, on met tout en place, suivant les options
2908 % choisies.
2909 % \begin{macrocode}
2910 \AtBeginDocument{%
2911 \smf@thmdefs\smf@enoncedef}
2912 %</smfthm>
2913 % \end{macrocode}
2914 % \section{Am\'elioration des param\`etres de listes}
2915 % Ce package est pour l'instant \`a part. \`A terme, j'esp\`ere l'inclure
2916 % totalement dans \texttt{smfart} et \texttt{smfbook}.
2917 %
2918 % \begin{macrocode}
2919 %<*smfenum>
2920 \ProvidesPackage{smfenum}[2002/02/07 v1.2b
2921 Nouvelle version des parametres d'enumerations]
2922 % \end{macrocode}
2923 % Il faut pour l'instant charger \paquet{smfenum} AVANT \paquet{babel}.
2924 % \begin{macrocode}
2925 \ifx\captionsfrenchb\@undefined\else
2926 \PackageError{smfenum}
2927 {Il vaut mieux charger smfenum avant la langue frenchb de babel!}
2928 \fi
2929 \def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
2930 \advance\@enumdepth \@ne
2931 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
2932 {\csname label\@enumctr\endcsname}{\usecounter
2933 {\@enumctr}\def\makelabel##1{{\upshape##1}}}\fi}
2934
2935 \def\itemize{%
2936 \ifnum \@itemdepth >\thr@@\@toodeep\else
2937 \advance\@itemdepth\@ne
2938 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
2939 \expandafter
2940 \list
2941 \csname\@itemitem\endcsname
2942 {\def\makelabel##1{{\upshape ##1}}}%
2943 \fi}
2944
2945 \def\quote{\list{}%
2946 {\advance\leftmargin2\normalparindent
2947 \rightmargin\leftmargin
2948 \labelwidth\z@
2949 \itemindent\z@}%
2950 \item[]}
2951
2952 \def\@genlists{%
2953 \itemsep\z@skip
2954 \partopsep\z@skip
2955 \topsep\z@skip
2956 \parsep\z@skip
2957 \labelwidth-\labelsep
2958 \listparindent\normalparindent
2959 \itemindent\normalparindent}
2960
2961 \def\@listi {\@genlists \leftmargin\leftmargini \topsep\listisep}
2962 \let\@listI\@listi
2963 \def\@listii {\@genlists \leftmargin\leftmarginii \topsep\listiisep}
2964 \def\@listiii{\@genlists \leftmargin\leftmarginiii \topsep\listiiisep}
2965 \def\@listiv {\@genlists \leftmargin\leftmarginiv \topsep\listivsep}
2966 \def\@listv {\@genlists \leftmargin\leftmarginv \topsep\listvsep}
2967 \def\@listvi {\@genlists \leftmargin\leftmarginvi \topsep\listvisep}
2968
2969 \def\labelitemi{--}
2970 \def\labelenumi{(\theenumi)}
2971 \def\theenumi{\@arabic\c@enumi}
2972 \expandafter\ifx\csname listisep\endcsname\relax
2973 \newskip\listisep
2974 \fi
2975 \listisep \smallskipamount
2976
2977 \let\labelitemii\labelitemi
2978 \def\p@enumii{\theenumi}
2979 \def\labelenumii{(\theenumii)}
2980 \def\theenumii{\@alph\c@enumii}
2981 \newdimen\listiisep
2982 \listiisep \smallskipamount
2983
2984 \let\labelitemiii\labelitemi
2985 \def\labelenumiii{(\theenumiii)}
2986 \def\theenumiii{\@roman\c@enumiii}
2987 \def\p@enumiii{\theenumi(\theenumii)}
2988 \newdimen\listiiisep
2989 \listiiisep \smallskipamount
2990
2991 \let\labelitemiv\labelitemi
2992 \def\labelenumiv{(\theenumiv)}
2993 \def\theenumiv{\@Alph\c@enumiv}
2994 \def\p@enumiv{\p@enumiii\theenumiii}
2995 \newdimen\listivsep
2996 \listivsep \smallskipamount
2997
2998 \AtBeginDocument{%
2999 \labelsep=1ex
3000 \leftmargini 0pt
3001 \leftmarginii 2\normalparindent
3002 \leftmarginiii 4\normalparindent
3003 \leftmarginiv 6\normalparindent
3004 \leftmarginv 8\normalparindent
3005 \leftmarginvi 10\normalparindent
3006 \leftmargin=\leftmargini
3007 \@listi}
3008 % \end{macrocode}
3009 % Pour d\'esamorcer la gestion des espacements des listes dans Babel.
3010 % \begin{macrocode}
3011 \AtBeginDocument{%
3012 \csname FrenchItemizeSpacingfalse\endcsname
3013 \csname FrenchListSpacingfalse\endcsname
3014 }
3015 %</smfenum>
3016 % \end{macrocode}
3017 % \section{Packages suppl\'ementaires pour chaque revue}
3018 % Ces packages sont priv\'es (c'est-\`a-dire ne seront pas
3019 % diffus\'es) et permettent d'adapter la pr\'esentation de chaque
3020 % revue, sur la base des styles \texttt{smfbook} et \texttt{smfart}.
3021 % \subsection{Parties communes}
3022 % \begin{macrocode}
3023 %<*smfgen>
3024 \ProvidesPackage{smfgen}[2012/10/03 v1.9b
3025 Fichier additionnel pour les Publications de la SMF]
3026 % \end{macrocode}
3027 % Un certain nombre de packages doivent \^etre charg\'es syst\'ematiquement
3028 % (babel, amssymb, amscd et XY). Tant pis pour l'efficacit\'e.
3029 % On met une option \texttt{nopackage} pour que
3030 % ceux-ci ne soient pas charg\'es .
3031 % \begin{macrocode}
3032 \newif\ifsmf@nopackage
3033 \DeclareOption{nopackage}{\smf@nopackagetrue}
3034 % \end{macrocode}
3035 % Viennent ensuite quelques options concernant le contr\^ole de polices.
3036 % Avec l'option \texttt{ec}, les polices EC sont charg\'ees.
3037 % Avec l'option \texttt{ae}, on charge le package \texttt{ae.sty} en
3038 % prenant en outre les guillemets dans la police \textit{Times}.
3039 % Enfin, l'option \texttt{mltex} utilise un moteur Ml\TeX.
3040 % \begin{macrocode}
3041 \newif\ifsmf@ec
3042 \newif\ifsmf@ae
3043 \newif\ifsmf@bask
3044 \DeclareOption{ec}{\smf@ectrue\smf@aefalse}
3045 \DeclareOption{mltex}{\smf@ecfalse\smf@aefalse}
3046 \DeclareOption{ae}{\smf@ecfalse\smf@aetrue}
3047 \DeclareOption{bask}{\smf@ecfalse\smf@aefalse\smf@basktrue}
3048 \newif\ifsmf@upitparen
3049 \DeclareOption{upitparen}{\smf@upitparentrue}
3050 \DeclareOption{noupitparen}{\smf@upitparenfalse}
3051 \newif\ifsmf@xy
3052 \DeclareOption{xy}{\smf@xytrue}
3053 \DeclareOption{noxy}{\smf@xyfalse}
3054 % \end{macrocode}
3055 % \begin{macrocode}
3056 \DeclareOption{euro}{\def\@FrenchCurrency{\texteuro}}
3057 \DeclareOption{FF}{\def\@FrenchCurrency{FF}}
3058 % \end{macrocode}
3059 % Maintenant, on ex\'ecute les options. Par d\'efaut, on choisit l'option
3060 % \texttt{ae} afin de pouvoir faire des PDF corrects. \`A terme, il
3061 % faudrait peut-\^etre se payer les polices EM. Il y aura aussi le passage en
3062 % \texttt{smfbask} \`a incorporer.
3063 % Depuis le premier janvier 2002, on paie en euros.
3064 % \begin{macrocode}
3065 \ExecuteOptions{ae,xy,euro,noupitparen}
3066 \ProcessOptions\relax
3067 % \end{macrocode}
3068 % Il y a l'option \texttt{nopackage} pour ne rien faire de ce qui suit.
3069 % \begin{macrocode}
3070 \ifsmf@nopackage\else
3071 % \end{macrocode}
3072 % Avec l'option \texttt{ec}, on charge juste \paquet{fontenc}, option
3073 % \texttt{T1}. Cela appelle les polices EC (probl\`eme pour le PDF puisque
3074 % ces polices ne sont pas en Type~1 --- s*@\#?! de bug d'Acrobat!).
3075 % \begin{macrocode}
3076 \ifsmf@ec\RequirePackage[T1]{fontenc}\else
3077 % \end{macrocode}
3078 % Avec l'option \texttt{ae}, on charge le paquet du m\^eme nom et on met les
3079 % guillemets en Times. (Pour les guillemets, il faut le faire au
3080 % |\begin{document}|.)
3081 %% \changes{v1.7b}{2001/10/10}{D\'efinition des guillemets retard\'ee au
3082 %% begin document}
3083 % \begin{macrocode}
3084 \ifsmf@ae
3085 \RequirePackage{ae}
3086 \AtBeginDocument{%
3087 \def\selectguillfont{\fontencoding{T1}\fontfamily{ptm}\selectfont}
3088 \def\guillemotleft{{\selectguillfont\symbol{19}}}
3089 \def\guillemotright{{\selectguillfont\symbol{20}}}}
3090 \else
3091 % \end{macrocode}
3092 % Option \texttt{bask}: on charge \paquet{smfbask}. Mais il resterait sans
3093 % doute des choses \`a arranger ici.
3094 % \begin{macrocode}
3095 \ifsmf@bask
3096 \RequirePackage{smfbask}
3097 % \end{macrocode}
3098 % Plus rien \`a faire, sinon Ml\TeX...
3099 % \begin{macrocode}
3100 \else
3101 \PackageWarning{smfgen}{Requiring MlTeX...}
3102 \RequirePackage{mltex}
3103 \fi\fi\fi
3104 % \end{macrocode}
3105 % Pour l'Euro, il y a deux solutions: soit la police d'Adobe (mod\`ele
3106 % officiel par exemple), soit avec le paquetage \paquet{textcomp}, mais ce
3107 % ne sera pas en Type~1 (\emph{refrain}...).
3108 % \begin{macrocode}
3109 \ifsmf@ec
3110 \RequirePackage{textcomp} % T1...
3111 \else
3112 \RequirePackage{europs}
3113 \let\texteuro\EURofc % Adobe, modele officiel de la CE
3114 \fi
3115 % \end{macrocode}
3116 % presque \`a la fin, \paquet{babel} !
3117 % \begin{macrocode}
3118 \RequirePackage[english,frenchb]{babel}
3119 % \end{macrocode}
3120 % Avec l'option \texttt{upitparen}, on fait en sorte que parenth\`eses et
3121 % ponctuation haute soient syst\'ematiquement imprim\'ees en romain.
3122 % Les macros de \paquet{upitparen} requi\`erent que \paquet{babel} soit
3123 % charg\'e.
3124 % Cela a une cons\'equence sur les |\catcode| et on doit y faire attention
3125 % plus tard au chargement de~\paquet{xy}.
3126 % \begin{macrocode}
3127 \ifsmf@upitparen
3128 \declare@shorthand{french}{;}{%
3129 \ifhmode
3130 \ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\else\FDP@thinspace\fi
3131 \fi
3132 \ifmmode\string;\else\textup{\string;}\fi}
3133 \declare@shorthand{french}{!}{%
3134 \ifhmode
3135 \ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\else\FDP@thinspace\fi
3136 \fi
3137 \ifmmode\string!\else\textup{\string!}\fi}
3138 \declare@shorthand{french}{?}{%
3139 \ifhmode
3140 \ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\else\FDP@thinspace\fi
3141 \fi
3142 \ifmmode\string?\else \textup{\string?}\fi}
3143 \declare@shorthand{french}{:}{%
3144 \ifhmode
3145 \ifdim\lastskip>\z@\unskip\penalty\@M\Fcolonspace\else\FDP@colonspace\fi
3146 \fi
3147 \ifmmode\string:\else\textup{\string:}\fi}
3148 \initiate@active@char{(}
3149 \initiate@active@char{)}
3150 \declare@shorthand{french}{(}{%
3151 \ifmmode\string(\else\textup{\string(}\penalty\@M\fi}
3152 \declare@shorthand{french}{)}{%
3153 \ifmmode\string)\else\penalty\@M\textup{\string)}\fi}
3154 \declare@shorthand{system}{(}{\string(}
3155 \declare@shorthand{system}{)}{\string)}
3156 \addto\extrasfrench{\bbl@activate{(}\bbl@activate{)}}
3157 \addto\noextrasfrench{\bbl@deactivate{(}\bbl@deactivate{)}}
3158 \fi
3159 % \end{macrocode}
3160 % On charge enfin plus ou moins automatiquement \paquet{xy}.
3161 % Normalement, la red\'efinition de |\xymatrixcompile| permet de compiler
3162 % les matrices: \paquet{xy} est charg\'e avec tous les |\catcode| \`a~12,
3163 % et ils y sont remis...
3164 % \begin{macrocode}
3165 \ifsmf@xy
3166 \makeatother
3167 \RequirePackage[all,ps,cmtip]{xy}\def\labelstyle{\textstyle}
3168 \makeatletter
3169 \let\old@xymatrixcompile\xymatrixcompile
3170 \xdef\xymatrixcompile{%
3171 \catcode`!=12 \catcode`;=12 \catcode`:=12 \catcode`?=12
3172 \ifsmf@upitparen \catcode`)=12 \catcode`(=12\fi
3173 \noexpand \old@xymatrixcompile}
3174 \fi
3175 % \end{macrocode}
3176 % On a aussi besoin des paquetage \paquet{url}, \paquet{xspace},
3177 % \paquet{amssymb} et \paquet{amscd} (ces derniers pour des raisons
3178 % obscures). L\`a encore, il faut faire gaffe aux |\catcode|s.
3179 % \begin{macrocode}
3180 \ifsmf@upitparen \catcode`)=13 \catcode`(=13 \fi
3181 \catcode`!=13 \catcode`;=13 \catcode`:=13 \catcode`?=13
3182 \RequirePackage{url,xspace}
3183 \RequirePackage{amssymb,amscd}
3184 \ifsmf@upitparen \catcode`)=12 \catcode`(=12 \fi
3185 \catcode`!=12 \catcode`;=12 \catcode`:=12 \catcode`?=12
3186 % \end{macrocode}
3187 % Fin du chargement des divers paquetages...
3188 % \begin{macrocode}
3189 \fi
3190 % \end{macrocode}
3191 % Pour garder des traces des polices CM.
3192 % \begin{macrocode}
3193 \def\smf@restorecmr{%
3194 \renewcommand{\rmdefault}{cmr}
3195 \renewcommand{\sfdefault}{cmss}
3196 \renewcommand{\ttdefault}{cmtt}}
3197 % \end{macrocode}
3198 % Auteurs/\'editeurs
3199 % \begin{macrocode}
3200 \newif\ifsmf@editor
3201 \def\editor{\global\smf@editortrue\author}
3202 % \end{macrocode}
3203 % Informations de la page de garde, comit\'e de r\'edaction, prix, num\'ero
3204 % de t\'el\'ephone, etc.
3205 % \begin{macrocode}
3206 \newif\ifsubventionCNRS\subventionCNRSfalse
3207 \newif\ifsubventionMCC\subventionMCCfalse
3208 \newif\ifsubventionCNRSMCC\subventionCNRSMCCfalse
3209 \def\smf@year{}
3210 \def\smfyear#1{\def\smf@year{#1}\year#1\relax}
3211 \def\@setyear{\ifx\smf@year\@empty\number\year\else\smf@year\fi}
3212 \def\comitedered#1{\def\@comitedered{#1}}
3213 \let\@comitedered\@empty
3214 \def\comitedir#1{\def\@comitedir{#1\unskip\ (dir.)}}
3215 \let\@comitedir\@empty
3216 \let\smf@commparitaire\@empty
3217 \newif\ifEDP
3218 \def\tarifAbo#1#2#3{% %% Europe, Hors Europe (euros), Hors Europe ($)
3219 \def\@tarifAboEurope{#1}%
3220 \def\@tarifAboHors{#2}%
3221 \def\@tarifAboDolHors{#3}}
3222 \let\@tarifAboEurope\@empty
3223 \newif\ifsmf@tarifs
3224 \def\tarifNum#1#2{% %% Euro, $
3225 \smf@tarifstrue
3226 \def\@tarifNum{#1}%
3227 \def\@tarifNumDol{#2}}
3228 \let\@tarifNum\@empty
3229 \let\@tarifNumDol\@empty
3230 \def\secretariatSMF#1{\def\@secretariatSMF{#1}}
3231 \let\@secretariatSMF\@empty
3232 \def\telSMF#1{\def\@telSMF{#1}}
3233 \let\@telSMF\@empty
3234 \def\emailSMF#1{\def\@emailSMF{#1}}
3235 \let\@emailSMF\@empty
3236 \def\ISBN#1{\def\@isbn{#1}}
3237 \let\@isbn\@empty
3238 \def\ISSN#1{\def\@issn{#1}}
3239 \let\@issn\@empty
3240 \def\smf@Directeur{Directeur\xspace}
3241 % \end{macrocode}
3242 % Logos, commandes de volumes, etc.
3243 % \begin{macrocode}
3244 \def\smf@logo{Soci\'et\'e Math\'ematique de France}
3245 \def\smf@LOGO{SOCI\'ET\'E MATH\'EMATIQUE DE FRANCE}
3246 \def\ps@copyright{\ps@empty
3247 \def\@oddfoot{\normalfont\Small\hfil {\smf@copyright}}}
3248 \def\smfvolume#1{\gdef\smf@volume{#1}}
3249 \def\smffascicule#1{\gdef\smf@fascicule{#1}}
3250 \def\smffirstpage#1{\gdef\smf@firstpage{#1}}
3251 \def\smflastpage#1{\gdef\smf@lastpage{#1}}
3252 \def\smf@volume{}
3253 \def\smf@fascicule{}
3254 \def\smf@firstpage{}
3255 \def\smf@lastpage{}
3256 \def\smf@journalhead{{\normalfont\itshape \smf@titrecourt\/}\\
3257 \ifx\smf@volume\@empty \else {\bfseries\smf@volume}\unskip \fi
3258 \ifx\smf@fascicule\@empty \else {\ (\smf@fascicule\unskip)}\fi
3259 , \@setyear
3260 \ifx\smf@firstpage\@empty \else
3261 , p.\ \smf@firstpage --\smf@lastpage\fi}
3262 % \end{macrocode}
3263 % Si la classe est \texttt{smfbook}, on modifie la page de titre et les
3264 % hauts de pages en cons\'equence. On cr\'ee aussi une page de garde.
3265 % \begin{macrocode}
3266 \def\@tempb{smfbook}
3267 \ifx\@classname\@tempb
3268 \def\smf@frontpages{}
3269 \def\smf@pages{\ifx\smf@frontpages\@empty\else\smf@frontpages+\fi\smf@lastpage}
3270 \def\mainmatter{\cleardoublepage
3271 {\advance\c@page -1\xdef\smf@frontpages{\roman{page}}}%
3272 \setcounter{page}{1}\def\baselinestretch{1.1}\normalfont
3273 \pagenumbering{arabic}}
3274 \def\ps@headings{\ps@empty
3275 \def\@oddfoot{\normalfont\Tiny\hfil
3276 {\smf@LOGO\ \@setyear}}%
3277 \def\@evenfoot{\normalfont\tiny
3278 {\MakeUppercase\smf@titrecourt
3279 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\hfil}}%
3280 \def\@evenhead{\normalfont\scriptsize
3281 \rlap{\bfseries\thepage}\hfil \leftmark{}{}\hfil}%
3282 \def\@oddhead{\normalfont\scriptsize
3283 \hfil \rightmark{}{}\hfil \llap{\bfseries\thepage}}%
3284 \let\@mkboth\org@markboth
3285 \def\partmark {\@secmark\markboth\partrunhead\partname}%
3286 \def\chaptermark {\@secmark\markboth\chapterrunhead\chaptername}%
3287 \def\sectionmark {\@secmark\markright\sectionrunhead\sectionname}%
3288 \def\indexmark {\@secmark\markboth\indexrunhead\indexname}%
3289 }
3290 % \end{macrocode}
3291 % \subsubsection{R\'esum\'e court}
3292 % A priori, il ne sert qu'\`a la derni\`ere page de couverture, et encore,
3293 % dans le cas o\`u le r\'esum\'e principal est jug\'e trop long.
3294 %
3295 % \begin{macrocode}
3296 \def\@shortabstract{}
3297 \def\@shortabstractlanguage{\@smflanguage}
3298 \newenvironment{shortabstract}{%
3299 \begin{@genabstract}{shortabstract}%
3300 }{}
3301 % \end{macrocode}
3302 % La macro |\@setshortabstracthead| pr\'ecise comment composer l'ent\^ete du
3303 % r\'esum\'e.
3304 % \begin{macrocode}
3305 \def\@setshortabstracthead{}
3306 % \end{macrocode}
3307 % \begin{macrocode}
3308 \def\@setshortabstract{%
3309 \ifx\@shortabstract\@empty\let\@shortabstract\@abstract\fi
3310 \ifx\@shortabstract\@empty
3311 \PackageWarning{smfgen}{An abstract is missing for the last page.}%
3312 \else
3313 \skippointrait
3314 \@setgenabstract{shortabstract}
3315 \fi
3316 \global\let\@setshortabstract\relax}
3317 % \end{macrocode}
3318 % \subsubsection{R\'esum\'e court dans l'autre langue}
3319 % Comme le pr\'ec\'edent, mais dans la langue secondaire du texte.
3320 % \begin{macrocode}
3321 \def\@shortaltabstract{}
3322 \def\@shortaltabstractlanguage{\@smfaltlanguage}
3323 \newenvironment{shortaltabstract}{%
3324 \begin{@genabstract}{shortaltabstract}%
3325 }{}
3326 % \end{macrocode}
3327 % La macro |\@setshortaltabstracthead| pr\'ecise comment composer l'ent\^ete du
3328 % r\'esum\'e.
3329 % \begin{macrocode}
3330 \def\@setshortaltabstracthead{}
3331 % \end{macrocode}
3332 % \begin{macrocode}
3333 \def\@setshortaltabstract{%
3334 \ifx\@shortaltabstract\@empty\let\@shortaltabstract\@altabstract\fi
3335 \ifx\@shortaltabstract\@empty
3336 \PackageWarning{smfgen}{An alt-abstract is missing for the last page.}%
3337 \else
3338 \skippointrait
3339 \@setgenabstract{shortaltabstract}
3340 \fi
3341 \global\let\@setshortaltabstract\relax}
3342 % \end{macrocode}
3343 % Si l'option \texttt{draft} est utilis\'ee, on n'affiche pas les pages de
3344 % couverture.
3345 % \begin{macrocode}
3346 \if@draft\else
3347 \def\AMS{$\mathcal{AMS}$}
3348 \def\@maketitle{\cleardoublepage
3349 \begingroup
3350 \smf@restorecmr
3351 \parindent\z@
3352 \c@page-1
3353 \smf@gardei\smf@gardeii
3354 \smf@titlei \smf@titleii \@setdedicatory \smf@titleiii
3355 \cleardoublepage
3356 \endgroup}
3357 % \end{macrocode}
3358 % Page exterieure de titre
3359 % \begin{macrocode}
3360 \def\smf@gardei{\clearpage\thispagestyle{empty}\bgroup
3361 \vspace*{-2cm}\enlargethispage{2cm}
3362 \topskip\z@skip
3363 \begin{raggedleft}
3364 \bfseries
3365 \ifsmf@editor{\Large \smfedbyname \par\medskip}\fi
3366 \huge
3367 \def\and{\par\medskip}\authors\par
3368 \end{raggedleft}
3369 \vfil
3370 \hrule height 1pt
3371 \vfil
3372 \begin{raggedright}
3373 \huge\bfseries\smf@boldmath
3374 \baselineskip=1.2\baselineskip
3375 \MakeUppercase\@title\par
3376 \vfil
3377 \hrule height 1pt
3378 \vfil
3379 {\large \MakeUppercase\smf@titre\nobreak
3380 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\par}%
3381 \end{raggedright}
3382 \vfil\vfil
3383 {\centering\large\bfseries \smf@logo\ \@setyear\par}
3384 \vfilneg\egroup}
3385 % \end{macrocode}
3386 % Deuxi\`eme de couverture (adresses, ISBN, etc.)
3387 % \begin{macrocode}
3388 \def\smf@gardeii{\clearpage\thispagestyle{empty}\bgroup
3389 \vspace*{-2cm}\enlargethispage{2cm}
3390 \sffamily
3391 \multicolsep0pt
3392 \ifx\smf@commparitaire\@empty\else
3393 {\hrule height1pt\vfil
3394 \leftskip .1\textwidth plus 1fil minus .1\textwidth
3395 \rightskip\leftskip\parfillskip0pt\relax
3396 \smf@commparitaire\par\vfil}
3397 \fi
3398 \hrule height 1pt\vfil
3399 \begin{center}
3400 {\bfseries\itshape Comit\'e de r\'edaction}\\ \bigskip
3401 \begin{multicols}{2} \@comitedered \end{multicols}\par
3402 \@comitedir\par
3403 \vfil
3404 {\bfseries\itshape Diffusion}\par\bigskip
3405 \mbox {%
3406 \vbox{\hsize=\ifEDP.32\else.5\fi\textwidth
3407 Maison de la SMF \\ B.P. 67 \\ 13274 Marseille Cedex 9 \\ France \\
3408 \texttt{[email protected]}}
3409 \hss
3410 \vbox{\hsize=\ifEDP.28\else.5\fi\textwidth
3411 AMS \\ P.O. Box 6248 \\ Providence RI 02940 \\ USA \\
3412 \texttt{www.ams.org}}
3413 \ifEDP
3414 \hss
3415 \vbox{\hsize=.4\textwidth
3416 EDP Sciences\\ 17, avenue du Hoggar\\ 91944 les Ulis cedex A\\ France\\
3417 \texttt{www.edpsciences.com}}
3418 \fi }\\
3419 \vfil
3420 {\bfseries\itshape Tarifs \@setyear}\par\medskip
3421 {\itshape Vente au num\'ero :} \@tarifNum~\@FrenchCurrency\space
3422 (\$\,\@tarifNumDol)\\
3423 \ifx\@tarifAboEurope\@empty\else
3424 {\itshape Abonnement}
3425 \quad Europe : \@tarifAboEurope~\@FrenchCurrency,
3426 hors Europe : \@tarifAboHors~\@FrenchCurrency\space
3427 (\$\,\@tarifAboDolHors)\\\fi
3428 \smallskip
3429 Des conditions sp\'eciales sont accord\'ees aux membres de la SMF.\\
3430 \vfil
3431 {\bfseries\itshape Secr\'etariat
3432 \ifx\@secretariatSMF\@empty\else : \@secretariatSMF\fi} \\
3433 \smallskip
3434 \smf@titre \\
3435 Soci\'et\'e Math\'ematique de France \\
3436 Institut Henri Poincar\'e, 11, rue Pierre et Marie Curie \\
3437 75231 Paris Cedex 05, France \\
3438 \begin{tabular}{ccc}
3439 T\'el : \@telSMF & $\bullet$& Fax : (33) 01 40 46 90 96\\
3440 \texttt{\@emailSMF}& $\bullet$&\url{http://smf.emath.fr/}
3441 \end{tabular}
3442 \vfil
3443 {\itshape
3444 {\normalfont\copyright}\ \smf@logo\ \@setyear}\\
3445 \end{center}
3446 \medskip
3447 {\itshape\footnotesize\noindent
3448 Tous droits r\'eserv\'es (article L~122--4 du Code de la propri\'et\'e
3449 intellectuelle). Toute repr\'esentation ou reproduction int\'egrale ou
3450 partielle faite sans le consentement de l'\'editeur est illicite.
3451 Cette repr\'esentation ou reproduction par quelque proc\'ed\'e que ce soit
3452 constituerait une contrefa\c con sanctionn\'ee par les articles L~335--2
3453 et suivants du CPI. \par}
3454 \vfil
3455 \begin{center}
3456 \ifx\@issn\@empty\else ISSN \@issn \\ \medskip\fi
3457 \ifx\@isbn\@empty\else ISBN \@isbn \\ \fi
3458 \vfil
3459 \smf@Directeur de la publication : \@dirpub\\
3460 \end{center}
3461 \vfil\hrule height 1pt
3462 \vfilneg\egroup}
3463 % \end{macrocode}
3464 % Page de titre int\'erieure
3465 % \begin{macrocode}
3466 \def\smf@titlei{\clearpage\thispagestyle{empty}
3467 \vspace*{-2cm}\enlargethispage{2cm}
3468 \bgroup
3469 \begin{center}\bfseries\smf@boldmath
3470 {\Large \MakeUppercase\smf@titre\nobreak\ \smf@volume\par}
3471 \vfil\vfil
3472 {\huge\MakeUppercase\@title\par}
3473 \vfil
3474 \ifsmf@editor{\large \smfedbyname\par\medskip}\fi
3475 \def\and{\par\medskip}\centering
3476 {\LARGE\authors\par}
3477 \vfil\vfil
3478 {\Large \smf@logo\ \@setyear\par}
3479 \ifsubventionCNRS
3480 \smallskip{\small
3481 Publi\'e avec le concours du Centre National
3482 de la Recherche Scientifique\par}\fi
3483 \ifsubventionMCC
3484 \smallskip{\small
3485 Publi\'e avec le concours du Minist\`ere de la
3486 Culture et de la Communication\par}\fi
3487 \ifsubventionCNRSMCC
3488 \smallskip{\small
3489 Publi\'e avec le concours du Centre National
3490 de la Recherche Scientifique\\
3491 et du Minist\`ere de la Culture et de
3492 la Communication\par}\fi
3493 \end{center}
3494 \vfilneg
3495 \egroup}
3496 \def\smf@titleiii{\clearpage\thispagestyle{copyright}
3497 \markboth{\@nx\shortauthors}{\@nx\shorttitle}
3498 %% INSERER UNE IMAGE
3499 \null
3500 \vskip 12\medskipamount plus 8\medskipamount
3501 \begin{center}\Large\bfseries\smf@boldmath
3502 {\MakeUppercase\@title\par}
3503 \vskip 4\medskipamount plus 2\medskipamount
3504 \ifsmf@editor{\smfedbyname\ }\fi
3505 \def\and{,\ \penalty-1}\authors\par
3506 \end{center}
3507 \vskip 8\medskipamount plus 4 \medskipamount
3508 \@setabstract\par
3509 \vskip 1\medskipamount plus 1\medskipamount
3510 \penalty-100
3511 \@setaltabstract\par
3512 }
3513 % \end{macrocode}
3514 % Troisi\`eme de courverture, instructions aux auteurs.
3515 % \begin{macrocode}
3516 \def\smf@gardeiii{%
3517 \thispagestyle{empty}\bgroup
3518 \vspace*{-2cm}\enlargethispage{2cm}
3519 \smf@restorecmr
3520 \sffamily\footnotesize
3521 \columnseprule.4pt\multicolsep\z@
3522 \hrule height 1pt\vfil
3523 {\centering\itshape\bfseries Instructions aux auteurs\par}
3524 \bigskip
3525 \begin{multicols}{2}
3526 \selectlanguage{french}
3527 \texteplaquettefrancais\par \medskip
3528 \instructionsfrancais\par
3529 \end{multicols}
3530 \vfil\hrule\vfil
3531 {\centering \itshape\bfseries Instructions to Authors\par}
3532 \bigskip
3533 \begin{multicols}{2}
3534 \selectlanguage{english}
3535 \texteplaquetteenglish \par\medskip
3536 \instructionsenglish\par
3537 \end{multicols}
3538 \vfil\hrule height 1pt\vfilneg\egroup}
3539 % \end{macrocode}
3540 % Quatri\`eme de couverture, r\'esum\'es (\'eventuellement raccourcis).
3541 % \begin{macrocode}
3542 \def\smf@gardeiv{\clearpage\thispagestyle{empty}\bgroup\large
3543 \smf@restorecmr
3544 \mbox{}\vfil
3545 \@setshortabstract
3546 \bigskip
3547 \@setshortaltabstract
3548 \vfil\egroup}
3549 % \end{macrocode}
3550 % \DescribeMacro{\specialaddress}
3551 % \DescribeMacro{\specialaddresses}
3552 % \DescribeMacro{\@setspecialaddresses}
3553 % Pour \emph{Documents} et \emph{Cours Sp\'ecialis\'es}, l'adresse est
3554 % mise en page diff\'eremment des autres s\'eries: sur la quatri\`eme de
3555 % couverture. On utilise pour cela la macro |\specialaddress| qui contient
3556 % tout le texte qu'on veut afficher, un par auteur en th\'eorie.
3557 % \begin{macrocode}
3558 \let\specialaddresses\@empty
3559 \newcommand{\specialaddress}[2][]
3560 {\g@addto@macro\specialaddresses{\specialaddress{#1}{#2}}}
3561 \def\@setspecialaddresses{\par\nobreak
3562 \begingroup
3563 \normalfont
3564 \def\author##1{\par\bigskip}%
3565 \long\def\address##1##2{\par
3566 \begin{quote}\itshape
3567 \ignorespaces##2\par\end{quote}}%
3568 \def\curraddr##1##2{}%
3569 \let\email\curraddr
3570 \let\urladdr\curraddr
3571 \addresses
3572 \endgroup
3573 }
3574 % \end{macrocode}
3575 % Macros g\'en\'eriques pour la liste des revues
3576 % \begin{macrocode}
3577 \def\smf@curyear{0}
3578 \def\smf@curvol{0}
3579 \def\smf@printvol[#1/#2/#3]{#1#2}
3580 \def\smflabel#1{% %%% exemple : {241/***}, ou {68}
3581 \setbox0=\hbox{\smf@printvol[#1//].\ }\leftskip=\wd0}
3582 \def\smf@revue #1#2#3#4{%
3583 %% {annee}{numero/etoiles}{auteur}{titre}
3584 \def\smf@newyear{#1}\def\smf@newvol{#2}%
3585 \ifx\smf@curyear\smf@newyear\else
3586 \smallskip \penalty -100
3587 {\centering {\bfseries #1\par\nobreak\smallskip\nobreak}}
3588 \fi
3589 \ifx\smf@curvol\smf@newvol\else
3590 \leavevmode\llap{\smf@printvol [#2//].\ }\fi
3591 \@ifempty{#3}{#4}{#3~--\ {\itshape #4}}
3592 \par\nobreak
3593 \def\smf@curyear{#1}\def\smf@curvol{#2}}
3594 \def\smf@liste{}
3595 \def\smf@pubfinale{}
3596 % \end{macrocode}
3597 % Ce qu'il faut pour qu'\`a la fin, on ait les listes, etc.
3598 % \begin{macrocode}
3599 \def\smf@endbook{\smf@restorecmr
3600 \clearpage
3601 {\advance\c@page -1\xdef\smf@lastpage{\thepage}}%
3602 \cleardoublepage \c@page 997
3603 \smf@liste
3604 \cleardoublepage \c@page 999
3605 \smf@pubfinale
3606 \cleardoublepage \c@page 1001
3607 \smf@gardeiii \smf@gardeiv}
3608 \AtEndDocument{\smf@endbook}
3609 % \end{macrocode}
3610 % Le texte des instructions.
3611 % \begin{macrocode}
3612 \def\smf@combien{double}\def\smf@howmany{Two}
3613 \def\instructionsfrancais{%
3614 Le manuscrit doit \^etre envoy\'e en {\itshape \smf@combien} exemplaire au
3615 secr\'etariat des publications en pr\'ecisant le nom de la revue.
3616
3617 Le fichier \emph{source} \TeX\ (un seul fichier par article ou
3618 monographie) peut aussi \^etre envoy\'e par courrier \'electronique ou
3619 ftp, \emph{sous r\'eserve} que sa compilation par le secr\'etariat SMF
3620 soit possible. Contacter le secr\'etariat \`a l'adresse \'electronique
3621 \texttt{\@emailSMF} pour obtenir des pr\'ecisions.
3622
3623 La SMF recommande \emph{vivement} l'utilisation d'\AMS-\LaTeX\ avec les
3624 classes \texttt{smfart} ou \texttt{smfbook}, disponibles ainsi que leur
3625 documentation sur le serveur \url{http://smf.emath.fr/} ou sur demande au
3626 secr\'etariat des publications SMF.
3627
3628 Les fichiers \AMS-\LaTeX\ au format \texttt{amsart} ou \texttt{amsbook},
3629 ainsi que les fichiers \LaTeX\ au format \texttt{article} ou
3630 \texttt{book} sont aussi les bienvenus. Ils seront saisis suivant
3631 les normes suivantes:
3632 \begin{itemize}
3633 \item taille des caract\`eres \'egale \`a 10~points (option \texttt{10pt});
3634 \item largeur du texte (\texttt{textwidth}) de 13~cm;
3635 \item hauteur du texte (\texttt{textheight}) \'egale \`a 21.5~cm;
3636 \item le texte \'etant en outre centr\'e sur une feuille A4
3637 (option \texttt{a4paper}).
3638 \end{itemize}
3639
3640 Les autres formats \TeX\ et les autres types de traitement de texte
3641 ne sont pas utilisables par le secr\'etariat et sont \emph{fortement}
3642 d\'econseill\'es.
3643
3644 Avant de saisir leur texte, les auteurs sont invit\'es \`a prendre
3645 connaissance du document \emph{Recommandations aux auteurs\/} disponible
3646 au secr\'etariat des publications de la SMF ou sur le serveur de la SMF.}
3647
3648 \def\instructionsenglish{%
3649 {\itshape \smf@howmany} copies of the original ma\-nu\-script
3650 should be sent to the
3651 editorial board of the SMF, indicating to which publication the paper is
3652 being submitted.
3653
3654 The \TeX\ \emph{source} file (a single file for each article or monograph)
3655 may also be sent by electronic mail or ftp, in a format suitable for
3656 typsesetting by the secretary.
3657 Please, send an email to \texttt{\@emailSMF} for precise information.
3658
3659 The SMF has a \emph{strong} preference for \AMS-\LaTeX\ together with
3660 the documentclasses \texttt{smfart} or \texttt{smfbook}, available with
3661 their user's guide at \url{http://smf.emath.fr/} (Internet) or on request
3662 from the editorial board of the SMF.
3663
3664 The \AMS-\LaTeX\ files using the documentclasses \texttt{amsart} or
3665 \texttt{amsbook}, or the \LaTeX\ files using the documentclasses
3666 \texttt{article} or \texttt {book} are also encouraged.
3667 They will be prepared following the rules below:
3668 \begin{itemize}
3669 \item font size equal to 10~points (\texttt{10pt} option);
3670 \item text width (\texttt{textwidth}): 13~cm;
3671 \item text height (\texttt{textheight}): 21.5~cm;
3672 \item the text being centered on a A4 page (\texttt{a4paper} option).
3673 \end{itemize}
3674
3675 Files prepared with other \TeX\ dialects or other word processors cannot be
3676 used by the editorial board and are \emph{not} encouraged.
3677
3678 Before preparing their electronic manuscript, the authors should read the
3679 \emph{Advice to authors\/}, available on request from the
3680 editorial board of the SMF or from the web site of the SMF.}
3681 \fi
3682 \else
3683 % \end{macrocode}
3684 % Et sinon, c'est que la classe est \texttt{smfart}\dots
3685 % \begin{macrocode}
3686 \def\@tempb{smfart}\ifx\@classname\@tempb
3687 \def\ps@headings{\ps@empty
3688 \def\@oddfoot{\normalfont\Tiny\hfil
3689 {\smf@LOGO\ {\@setyear}}}%
3690 \def\@evenfoot{\normalfont\tiny
3691 {\MakeUppercase\smf@titrecourt
3692 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\hfil}}%
3693 \def\@evenhead{\normalfont\scriptsize
3694 \rlap{\bfseries\thepage}\hfil \leftmark{}{}\hfil}%
3695 \def\@oddhead{\normalfont\scriptsize
3696 \hfil \rightmark{}{}\hfil \llap{\bfseries\thepage}}%
3697 \let\@mkboth\@gobbletwo}
3698 \AtBeginDocument{\smf@getfirstpage}
3699 \AtEndDocument{\smf@getlastpage}
3700 \def\smf@getfirstpage{\gdef\smf@firstpage{1}}
3701 \def\smf@getlastpage{\clearpage
3702 {\advance\c@page-1 \xdef\smf@lastpage{\arabic{page}}}}
3703 \def\smf@pages{\smf@firstpage-\smf@lastpage}
3704 \fi\fi
3705 \ps@headings
3706 % \end{macrocode}
3707 % Le gras italique est pris dans la police times.
3708 % \begin{macrocode}
3709 \def\th@plain{%
3710 \let\thm@indent\noindent
3711 \thm@headfont{\fontfamily{ptm}\bfseries\itshape}%
3712 \thm@notefont{\fontfamily{ptm}\bfseries\upshape}%
3713 \[email protected]\linespacing \@plus .5\linespacing
3714 \thm@postskip\thm@preskip
3715 \thm@headpunct{\MakePointrait}
3716 \let\thmheadnl\relax
3717 \itshape }
3718 \def\abstractheadfont{\fontfamily{ptm}\bfseries\itshape}
3719 % \end{macrocode}
3720 % \subsection{Table des mati\`eres et c\'esures}
3721 % \DescribeMacro{\emergencyhyphenate}
3722 % \begin{macrocode}
3723 \def\@savehyphenpenalty{\xdef\@tmphyphpenalty{\the\hyphenpenalty}}
3724 \def\@restorehyphenpenalty{%
3725 \expandafter\expandafter\global\expandafter\hyphenpenalty\@tmphyphpenalty}
3726 \DeclareRobustCommand{\emergencyhyphenate}{\global\hyphenpenalty9999\relax}
3727 \def\@tocline#1#2#3#4#5#6#7{\relax
3728 \@savehyphenpenalty
3729 \ifnum #1>\c@tocdepth % then omit
3730 \else
3731 \par \addpenalty\@secpenalty\addvspace{#2}%
3732 \begingroup \hyphenpenalty\tochyphenpenalty
3733 \@ifempty{#4}{%
3734 \@tempdima\csname r@tocindent\number#1\endcsname\relax
3735 }{%
3736 \@tempdima#4\relax
3737 }%
3738 \parindent\z@ \leftskip#3\relax
3739 \advance\leftskip\@tempdima\relax
3740 \advance\rightskip\@pnumwidth % plus1em
3741 \parfillskip-\@pnumwidth
3742 {#5{\leavevmode\hskip-\@tempdima #6}}%
3743 \hskip 1ex\nobreak
3744 \xleaders\hbox to1ex{\normalfont\hss.\hss}\hfil\nobreak
3745 \hbox to\@pnumwidth{\@tocpagenum{#7}}\par
3746 \nobreak
3747 \endgroup
3748 \fi
3749 \@restorehyphenpenalty}
3750 % \subsection{Indication de changements}
3751 % \begin{macrocode}
3752 \def\smfmargin#1{\if@draft\marginpar{\ ? #1}\else\fi}
3753 \def\smfchange#1#2{\if@draft{\boldmath\bfseries #1}\smfmargin{#2}\else {#1}\fi}
3754 \def\smfredac#1#2{\smfmargin{R\'edaction de \og #1 \dots #2\fg}}
3755 \def\smfok{\smfmargin{OK}}
3756 %%\let\smfchangen\@firstoftwo
3757 %%\let\smfchangeo\@secondoftwo
3758 \def\smfchangen#1#2{#1}
3759 \def\smfchangeo#1#2{#2}
3760 % \end{macrocode}
3761 % \subsection{Macros diverses}
3762 % \begin{macrocode}
3763 \let\ldots\dots
3764 \let\emptyset\varnothing
3765 \let\skpt\skippointrait
3766 \let\dpl\displaystyle
3767 \def\sfrac#1#2{{#1}/{#2}}
3768 % \end{macrocode}
3769 % Pour que les arguments des |\bibitem| servent de labels.
3770 % \begin{macrocode}
3771 \def\manualbibitems{%
3772 \let\oldbibitem\bibitem
3773 \def\bibitem##1{\oldbibitem[##1]{##1}}}
3774 % \end{macrocode}
3775 % Pour que les arguments des |\bibitem| servent de labels.
3776 % \begin{macrocode}
3777 \def\manualbibitems{%
3778 \let\oldbibitem\bibitem
3779 \def\bibitem##1{\oldbibitem[##1]{##1}}}
3780 % \end{macrocode}
3781 % Finalement, on requiert \texttt{smfbib}.
3782 % \begin{macrocode}
3783 \RequirePackage{smfbib}
3784 %</smfgen>
3785 % \end{macrocode}
3786 % \subsection{Ast\'erisque}
3787 % \begin{macrocode}
3788 %<*asterisque>
3789 \ProvidesPackage{smfasterisque}[2001/01/05 v1.4
3790 Fichier additionnel pour Asterisque]
3791 \RequirePackageWithOptions{smfgen}
3792 \def\smf@plaintitre{asterisque}
3793 \def\smf@titre {Ast\'erisque}
3794 \let\smf@titrecourt\smf@titre
3795 \def\smf@copyright{\copyright\ \smf@titre
3796 \ifx\smf@volume\@empty\else{\ \smf@volume\unskip}\fi
3797 , SMF\ \@setyear}
3798 \def\smf@commparitaire{%
3799 \smf@titre\ est un p\'eriodique
3800 \mbox{de la Soci\'et\'e math\'ematique de France.} \par\medskip
3801 Num\'ero~\smf@volume,
3802 \ifcase\month\or janvier\or f\'evrier\or mars\or avril\or mai\or juin\or
3803 juillet\or ao\^ut\or septembre\or octobre\or novembre\or
3804 d\'ecembre\fi~\@setyear}
3805
3806 \RequirePackage[asterisque]{smfvar}
3807
3808 \secretariatSMF{Nathalie Christia\"en}
3809 \telSMF{(33) 01 44 27 67 99}
3810 \emailSMF{[email protected]}
3811 \ISSN{0303-1179}
3812 \EDPfalse
3813 \subventionCNRStrue
3814
3815 \def\texteplaquettefrancais{%
3816 Revue internationale de haut niveau, \textit{Ast\'erisque} publie
3817 en fran\c cais et en anglais des monographies de qualit\'e, des
3818 s\'eminaires prestigieux, ou des comptes-rendus de grands colloques
3819 internationaux. Les textes sont choisis pour leur contenu original ou
3820 pour la nouveaut\'e de la pr\'esentation qu'ils donnent d'un domaine
3821 de recherche. Chaque volume est consacr\'e \`a un seul sujet, et tout
3822 le spectre des math\'ematiques est en principe couvert.}
3823 \def\texteplaquetteenglish{%
3824 \textit{Ast\'erisque} is a high level international journal which publishes
3825 excellent research monographs in French or in English, and proceedings of
3826 prestigious seminars or of outstanding international meetings. The texts
3827 are selected for the originality of their contents or the new presentation
3828 they give of some area of research. Each volume is devoted to a single
3829 topic, chosen, in principle, from the whole spectrum of mathematics.}
3830
3831 \def\smf@liste{\cleardoublepage \pagestyle{empty}\bgroup
3832 \parindent=0pt\sffamily \footnotesize
3833 \begin{center}\bfseries\uppercase{Ast\'erisque}\end{center}
3834 \medskip
3835 \pretolerance2000\tolerance4000
3836 \rightskip=0pt plus 10pt
3837 \let\aster\smf@revue
3838 \input asterisque.lst
3839 \par\egroup}
3840
3841 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
3842 \parindent=0pt
3843 \InputIfFileExists{pubfinale.tex}{}{}
3844 \par\egroup}
3845
3846 \def\smf@gardeiv{\clearpage\thispagestyle{empty}\bgroup
3847 \large\centering
3848 \smf@restorecmr
3849 \null \vfil
3850 \fboxsep 1cm
3851 \fbox{\begin{minipage}[t]{11cm}{\@setshortabstract}\end{minipage}}
3852 %% \vfil
3853 %% \fbox{\begin{minipage}[t]{11cm}{\@setshortaltabstract}\end{minipage}}
3854 \egroup}
3855 %</asterisque>
3856 % \end{macrocode}
3857 % \subsection{Bulletin de la SMF}
3858 % \begin{macrocode}
3859 %<*bulletin>
3860 \ProvidesPackage{smfbulletin}[2002/02/07 v1.6b
3861 Fichier additionnel pour le Bulletin de la SMF]
3862 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{smfgen}}
3863 \DeclareOption{master}{\PassOptionsToPackage{master}{smfmulti}}
3864 \DeclareOption{slave}{\PassOptionsToPackage{slave}{smfmulti}}
3865 \ProcessOptions\relax
3866 \RequirePackage{smfgen}
3867 \RequirePackage{smfmulti}
3868 \ifsmf@slave
3869 \def\frontmatter{}\def\mainmatter{}\def\backmatter{}
3870 \else
3871 \setcounter{tocdepth}{0}
3872 \addto\smf@captionsfrench{\def\contentsname{Sommaire}}
3873 \fi
3874 \def\smf@plaintitre{bulletin}
3875 \def\smf@titre {Bulletin de la Soci\'et\'e math\'ematique de France}
3876 \def\smf@titrecourt{Bull.\ Soc.\ math.\ France}
3877 \def\smf@copyright{\copyright\ \smf@titre
3878 \ifx\smf@volume\@empty\else{\ \smf@volume\unskip}\fi,\ \@setyear}
3879 \def\smf@commparitaire{%
3880 \mbox{Le \smf@titre}\ est un p\'eriodique
3881 trimestriel \mbox{de la Soci\'et\'e math\'ematique de France.} \par\medskip
3882 Fascicule~\smf@fascicule, tome~\smf@volume,
3883 \ifcase\month\or janvier\or f\'evrier\or mars\or avril\or mai\or juin\or
3884 juillet\or ao\^ut\or septembre\or octobre\or novembre\or
3885 d\'ecembre\fi~\@setyear}
3886
3887 \let\ps@copyright\ps@empty
3888
3889 \textheight 18cm
3890 \textwidth 12cm
3891 \addtolength{\oddsidemargin}{.5cm}
3892 \addtolength{\evensidemargin}{.5cm}
3893 \addtolength{\topmargin}{.5cm}
3894 \headheight=10pt
3895 \headsep 7mm
3896 \footskip 7mm
3897 \arraycolsep 1.5pt
3898 \abstractmargin\normalparindent
3899
3900 \RequirePackage[bulletin]{smfvar}
3901
3902 \secretariatSMF{Nathalie Christia\"en et Raymond S\'eroul}
3903 \telSMF{(33) 01 44 27 67 99}
3904 \emailSMF{[email protected]}
3905 \ISSN{0037-9484}
3906 \EDPfalse
3907 \subventionCNRStrue
3908
3909 \def\texteplaquettefrancais{%
3910 Le Bulletin est un p\'eriodique \`a vocation internationale, couvrant
3911 l'ensemble des math\'ematiques, comme en t\'emoignent le choix des articles
3912 publi\'es en fran\c cais et en anglais, ainsi que la composition du
3913 Comit\'e de r\'edaction. Par une politique scientifique rigoureuse, il
3914 entend \^etre parmi les meilleures revues internationales, tout en
3915 r\'eservant une large place aux travaux de jeunes chercheurs.}
3916
3917 \def\texteplaquetteenglish{The subjects treated by the \textit{Bulletin}
3918 cover the whole of mathematics. The articles, written in French or English,
3919 are submitted to an editor who is chosen from among the best international
3920 specialists in the area. Articles submitted are original and the results
3921 are thoroughly demonstrated.}
3922
3923 \def\instructionsfrancais{%
3924 Le manuscrit doit \^etre envoy\'e en {\itshape \smf@combien} exemplaire au
3925 secr\'etariat des publications en pr\'ecisant le nom de la revue.
3926
3927 Le fichier \emph{source} \TeX\ (un seul fichier par article) peut aussi
3928 \^etre envoy\'e par courrier \'electronique ou
3929 ftp, \emph{sous r\'eserve} que sa compilation par le secr\'etariat SMF
3930 soit possible. Contacter le secr\'etariat \`a l'adresse \'electronique
3931 \texttt{\@emailSMF} pour obtenir des pr\'ecisions.
3932
3933 La SMF recommande \emph{vivement} l'utilisation d'\AMS-\LaTeX\ avec sa
3934 classe \texttt{smfart} et le paquet \texttt{bull.sty}, disponibles ainsi
3935 que leur documentation sur le serveur \url{http://smf.emath.fr/} ou sur demande
3936 au secr\'etariat des publications SMF.
3937
3938 Les fichiers \AMS-\LaTeX\ au format \texttt{amsart},
3939 ainsi que les fichiers \LaTeX\ au format \texttt{article} sont aussi les
3940 bienvenus. Ils seront saisis suivant
3941 les normes suivantes:
3942 \begin{itemize}
3943 \item taille des caract\`eres \'egale \`a 10~points (option \texttt{10pt});
3944 \item largeur du texte (\texttt{textwidth}) de 12~cm;
3945 \item hauteur du texte (\texttt{textheight}) \'egale \`a 18~cm;
3946 \item le texte \'etant en outre centr\'e sur une feuille A4
3947 (option \texttt{a4paper}).
3948 \end{itemize}
3949
3950 Les autres formats \TeX\ et les autres types de traitement de texte
3951 ne sont pas utilisables par le secr\'etariat et sont \emph{fortement}
3952 d\'econseill\'es.
3953
3954 Avant de saisir leur texte, les auteurs sont invit\'es \`a prendre
3955 connaissance du document \emph{Recommandations aux auteurs\/} disponible
3956 au secr\'etariat des publications de la SMF ou sur le serveur de la SMF.}
3957
3958 \def\instructionsenglish{%
3959 {\itshape \smf@howmany} copies of the original manu\-script should be sent to
3960 the
3961 editorial board of the SMF, indicating to which publication the paper is
3962 being submitted.
3963
3964 The \TeX\ \emph{source} file (a single file for each article)
3965 may also be sent by electronic mail or ftp, in a format suitable for
3966 typsesetting by the secretary.
3967 Please, send an email to \texttt{\@emailSMF} for precise information.
3968
3969 The SMF has a \emph{strong} preference for \AMS-\LaTeX\ together with
3970 the documentclass \texttt{smfart} and the package \texttt{bull.sty},
3971 available with their user's guide at \url{http://smf.emath.fr/} (Internet)
3972 or on request from the editorial board of the SMF.
3973
3974 The \AMS-\LaTeX\ files using the documentclass \texttt{amsart}
3975 or the \LaTeX\ files using the documentclass
3976 \texttt{article} are also encouraged.
3977 They will be prepared following the rules below:
3978 \begin{itemize}
3979 \item font size equal to 10~points (\texttt{10pt} option);
3980 \item text width (\texttt{textwidth}): 12~cm;
3981 \item text height (\texttt{textheight}): 18~cm;
3982 \item the text being centered on a A4 page (\texttt{a4paper} option).
3983 \end{itemize}
3984
3985 Files prepared with other \TeX\ dialects or other word processors cannot be
3986 used by the editorial board and are \emph{not} encouraged.
3987
3988 Before preparing their electronic manuscript, the authors should read the
3989 \emph{Advice to authors\/}, available on request from the
3990 editorial board of the SMF or from the web site of the SMF.}
3991
3992 \def\smf@combien{triple}\def\smf@howmany{Three}
3993 \def\th@plain{%
3994 \let\thm@indent\noindent
3995 \thm@headfont{\normalfont\scshape}%
3996 \thm@notefont{\normalfont}%
3997 \[email protected]\linespacing \@plus .5\linespacing\relax
3998 \thm@postskip\thm@preskip
3999 \thm@headpunct{\MakePointrait}
4000 \let\thmheadnl\relax
4001 \itshape }
4002 \def\abstractheadfont{\normalfont\scshape}
4003
4004 \def\bibliofont{\normalfont}
4005 \def\specialsection{\@startsection{section}{1}%
4006 \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
4007 {\centering\normalfont\MakeUppercase}}
4008 \def\bibliosection{\let\refname\bibname\specialsection}
4009 \def\@cite#1#2{{%
4010 \m@th\upshape\mdseries[{#1}{\if@tempswa, #2\fi}]}}
4011
4012 \def\smf@enddoc{}
4013 \renewcommand{\author}[2][]{%
4014 \ifx\@empty\authors
4015 \gdef\shortauthors{#1}\gdef\authors{#2}%
4016 \else
4017 \g@addto@macro\shortauthors{\and#1}%
4018 \g@addto@macro\authors{\and#2}%
4019 \fi
4020 \g@addto@macro\addresses{\author{#2}}%
4021 }
4022 \def\@setaddresses{\begingroup
4023 \rightskip=0pt plus 1cm
4024 \emergencystretch .5\textwidth
4025 \exhyphenpenalty=-100
4026 \interlinepenalty\@M
4027 \def\baselinestretch{1}% \normalfont\footnotesize
4028 \def\\{\unskip, \penalty-10\ignorespaces}%
4029 \def\cond@bullet {{\setbox0\hbox{\quad$\bullet$\quad}%
4030 \hskip 0pt plus 3cm\penalty -30\hskip 0pt plus -3cm
4031 \cleaders \copy0 \hskip\wd0 }}%
4032 \def\firstauthor##1{{\scshape ##1}\let\address\firstaddress
4033 \let\author\otherauthor}%
4034 \def\otherauthor##1{\par\nobreak
4035 {\scshape ##1}\let\address\firstaddress}%
4036 \def\firstaddress##1##2{\unskip, \let\address\otheraddress
4037 \penalty-20\ignorespaces##2}%
4038 \def\otheraddress##1##2{\cond@bullet \ignorespaces##2}%
4039 \let\author\firstauthor
4040 \let\address\firstaddress
4041 \def\curraddr{\address}%
4042 \def\email##1##2{\@ifnotempty{##2}%
4043 {\cond@bullet
4044 \hbox{\itshape E-mail~:}~{\ttfamily\ignorespaces ##2}}}%
4045 \def\urladdr##1##2{\@ifnotempty{##2}%
4046 {\cond@bullet
4047 {\itshape Url~:}~{\ttfamily\ignorespaces ##2}\par}}%
4048 \addresses
4049 \endgroup}
4050 \def\smf@boldmath{\mathversion{bold}}
4051 \def\@setdate{{\itshape\@date}} %% enleve le \@@par
4052 \def\smf@byfont{\scshape}
4053 \csname smf@byauthorfalse\endcsname %% ``par'' et auteur sur la meme ligne
4054 \def\smf@authorfont{\scshape}
4055 \def\@endmaketitlehook{}%
4056 \def\@maketitlehook{\bgroup
4057 \normalparindent0pt
4058 \footnotetext{%
4059 \ifx\@empty\@date\else\@setdate\par\smallskip\fi
4060 \@setaddresses\par\smallskip
4061 \def\abstractheadfont{}
4062 \ifx\@empty\@subjclass\else\@setsubjclass\par\smallskip\fi
4063 \ifx\@empty\@keywords\else\@setkeywords\par\smallskip\fi
4064 \ifx\@empty\thankses\else \@setthanks\par\smallskip\fi
4065 \par\bigskip\tiny
4066 {\MakeUppercase\smf@titre}\hfil\nobreak
4067 \hbox{\@issn/\@setyear/\smf@firstpage/$\$\,5.00$}{\parfillskip=0pt\par}
4068 \copyright\ \smf@logo\par}
4069 \egroup}
4070 \def\ps@headings{\ps@empty
4071 \def\@oddfoot{\quad\normalfont\tiny{\MakeUppercase\smf@titre}\hfil}%
4072 \def\@evenfoot{\quad\normalfont\tiny\scshape
4073 tome\ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi
4074 \ --\
4075 \@setyear
4076 \ --\
4077 n\textsuperscript{\normalfont o} \smf@fascicule\hfil}%
4078 \def\@evenhead{\normalfont\scriptsize
4079 \rlap{\bfseries\thepage}\hfil \leftmark{}{}\hfil}%
4080 \def\@oddhead{\normalfont\scriptsize
4081 \hfil \rightmark{}{}\hfil \llap{\bfseries\thepage}}%
4082 }
4083 \ps@headings
4084
4085 \ifsmf@slave\else
4086 \def\@maketitle{\cleardoublepage
4087 \begingroup
4088 \smf@restorecmr
4089 \parindent\z@
4090 \c@page-1
4091 \smf@gardei\smf@gardeii
4092 \smf@titlei \smf@titleii \@setdedicatory \smf@titleiii
4093 \cleardoublepage
4094 \endgroup}
4095
4096 % \def\smf@gardei{\clearpage\thispagestyle{empty}\bgroup
4097 % \vspace*{-2cm}\enlargethispage{2cm}
4098 % \topskip\z@skip
4099 % \begin{raggedright}
4100 % \bfseries
4101 % \Huge Bulletin \\
4102 % \large de la SOCI\'ET\'E MATH\'EMATIQUE DE FRANCE\\
4103 % \vfil
4104 % \LARGE
4105 % Tome \smf@volume\\
4106 % Fascicule \smf@fascicule\\
4107 % \vfil
4108 % \@setyear
4109 % \end{raggedright}
4110 % \vfil
4111 % \gdef\SMF@first{}\xdef\SMF@last{}
4112 % \smftableofcontents
4113 % \vfilneg\egroup}
4114
4115 \def\smf@gardei{\clearpage\thispagestyle{empty}\bgroup
4116 \vspace*{-2cm}\enlargethispage{2cm}%
4117 \topskip\z@skip
4118 \vfil
4119 \gdef\SMF@first{}\xdef\SMF@last{}%
4120 \def\odo@smftoc ##1{%
4121 \ifx\smf@fascicule\smf@compilefascicule
4122 \smf@read {##1}%
4123 \def\@pnumwidth{3em}%
4124 \makeatletter
4125 \@tocline{-2}{6pt plus 2pt}{2em}{0pt}{}{%%%%% MODIF 12pt -> 6pt
4126 {\def\smfandname{\&}\andify\smf@shortauthors
4127 \bfseries\MakeUppercase{\smf@shortauthors}}
4128 ---
4129 {\let\\\relax\ignorespaces\smf@title\unskip\ }}%
4130 {\smf@firstpage}%
4131 \ifx\SMF@first\@empty\xdef\SMF@first{\smf@firstpage}\fi
4132 \xdef\SMF@last{\smf@lastpage}
4133 \fi}%
4134 \def\contentsname{}\fontfamily{ptm}%
4135 \emergencystretch3em
4136 \renewcommand{\baselinestretch}{.9}\normalfont
4137 \smftableofcontents
4138 \vfilneg\egroup}
4139
4140 \def\smftableofcontents{\let\do@smftoc\odo@smftoc\@starttoc{toc}{}}
4141 \def\smftableofarticles{\let\do@smftoc\odo@smftoc\@starttoc{toc}\contentsname}
4142 \def\smftableofpapers{\bgroup
4143 \english
4144 \let\do@smftoc\edo@smftoc\@starttoc{toc}\contentsname
4145 \egroup}
4146
4147 % smf@gardeii est OK
4148
4149 \def\@starttoc#1#2{\begingroup
4150 \@afterindenttrue
4151 \let\@secnumber\@empty % for \@tocwrite and \chaptermark
4152 \ifx\contentsname\@empty\else
4153 {\centering\bfseries\huge
4154 \MakeUppercase{\contentsname}\par}%
4155 \bigskip\bigskip
4156 \fi
4157 \advance\rightskip2em
4158 \advance\textwidth-1em \advance\hsize-1em
4159 \makeatletter
4160 \@input{\jobname.#1}%
4161 \def\@tempa{toc}\def\@tempb{#1}\ifx\@tempa\@tempb\else
4162 \if@filesw
4163 \@xp\newwrite\csname tf@#1\endcsname
4164 \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
4165 \fi\fi
4166 \global\@nobreakfalse \endgroup
4167 }
4168
4169 \def\odo@smftoc #1{%
4170 \ifx\smf@fascicule\smf@compilefascicule
4171 \smf@read {#1}
4172 \def\@pnumwidth{3em}
4173 \makeatletter
4174 \@tocline{-2}{12pt plus 2pt}{2em}{0pt}{}{%
4175 {\def\smfandname{\&}\andify\smf@shortauthors
4176 \bfseries\MakeUppercase{\smf@shortauthors}}
4177 ---
4178 {\let\\\relax\ignorespaces\smf@title\unskip\ }}%
4179 {\smf@firstpage}%
4180 \ifx\SMF@first\@empty\xdef\SMF@first{\smf@firstpage}\fi
4181 \xdef\SMF@last{\smf@lastpage}
4182 \fi}
4183
4184 \def\edo@smftoc #1{%
4185 \ifx\smf@fascicule\smf@compilefascicule
4186 \smf@read {#1}
4187 \def\@pnumwidth{3em}
4188 \makeatletter
4189 \@tocline{-2}{12pt plus 2pt}{2em}{0pt}{}{%
4190 {\def\smfandname{\&}\andify\smf@shortauthors
4191 \bfseries\MakeUppercase{\smf@shortauthors}}
4192 ---
4193 {\let\\\relax\ignorespaces\smf@etitre\unskip\ }}%
4194 {\smf@firstpage}%
4195 \ifx\SMF@first\@empty\xdef\SMF@first{\smf@firstpage}\fi
4196 \xdef\SMF@last{\smf@lastpage}
4197 \fi}
4198
4199 \def\smf@titlei{%
4200 \cleardoublepage\thispagestyle{empty}
4201 \parindent=0pt
4202 \hrule height 1pt
4203 \bigskip
4204 \vbox to 0pt{\edef\smf@firstpage{\SMF@first}\edef\smf@lastpage{\SMF@last}%
4205 \noindent\@xp\ifx\csname smf@journalhead\endcsname\relax
4206 \else \smf@journalhead\fi
4207 \par\vss}%
4208 \vfill
4209 \smftableofarticles
4210 \vfill\hbox{}
4211 }
4212
4213 \def\smf@titleii{%
4214 \clearpage\thispagestyle{empty}
4215 \parindent=0pt
4216 \hrule height 1pt
4217 \bigskip
4218 \vbox to 0pt{\edef\smf@firstpage{\SMF@first}\edef\smf@lastpage{\SMF@last}%
4219 \noindent\@xp\ifx\csname smf@journalhead\endcsname\relax
4220 \else \smf@journalhead\fi
4221 \par\vss}%
4222 \vfill
4223 \smftableofpapers
4224 \vfill\hbox{}
4225 }
4226
4227 \def\smf@titleiii{}
4228
4229 \def\smf@fasciculefinal{4}
4230 \def\smf@tableannuelle{%
4231 \cleardoublepage
4232 \thispagestyle{empty}\pagestyle{empty}
4233 \bgroup
4234 \begin{center}
4235 {\LARGE
4236 BULLETIN DE LA\par
4237 \vskip3mm
4238 SOCI\'ET\'E MATH\'EMATIQUE DE FRANCE\par}
4239 \vskip8mm
4240 Tome \smf@volume, ann\'ee \@setyear, fascicules 1 \`a 4\par
4241 \vskip8mm
4242 {\large\bfseries TABLE ANNUELLE\par}
4243 \vskip8mm
4244 ---------\par
4245 \vskip12mm
4246 \end{center}
4247 \def\@pnumwidth{2.5em}
4248 \def\do@smftoc ##1{\bgroup
4249 \smf@read {##1}%
4250 \makeatletter
4251 \@tocline{-2}{6pt plus 1pt minus 1pt}{0pt}{0pt}{}{%
4252 {\def\smfandname{\&}\andify\smf@shortauthors
4253 \scshape\smf@shortauthors}
4254 ---
4255 {\itshape\let\\\relax\ignorespaces\smf@title\unskip\ }}%
4256 {\smf@firstpage}
4257 \egroup}
4258 \makeatletter\input{\jobname.tocan}
4259 \egroup
4260 }
4261
4262 \def\smf@printvol[#1/#2/#3]{#1\@ifnotempty{#2}{/#2}}
4263 \def\smf@liste{%
4264 \ifx\smf@compilefascicule\smf@fasciculefinal
4265 \tochyphenpenalty9999
4266 \smf@tableannuelle
4267 \fi
4268 \cleardoublepage \pagestyle{empty}\bgroup
4269 \parindent=0pt\sffamily\footnotesize
4270 \begin{center}
4271 {\bfseries\MakeUppercase
4272 {M\'emoires de la Soci\'et\'e math\'ematique de France}}\par
4273 Nouvelle s\'erie
4274 \end{center}
4275 \bigskip
4276 \footnotesize
4277 \pretolerance2000\tolerance4000
4278 \rightskip=0pt plus 10pt
4279 \let\memoire\smf@revue
4280 \input memoires.lst
4281 \par\egroup}
4282
4283 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
4284 \parindent=0pt
4285 \InputIfFileExists{pubfinale.tex}{}{}
4286 \par\egroup}
4287
4288 \def\smf@gardeiv{\clearpage}
4289
4290 \def\currentfascicule#1{\def\smf@fascicule{#1}}
4291 \def\smffascicule#1{\def\smf@fascicule{#1}\gdef\smf@compilefascicule{#1}}
4292
4293 \newif\if@makefasc
4294
4295 \newenvironment{fascicule}[1]{%
4296 \currentfascicule{#1}
4297 \addtocontents{toc}{\protect\currentfascicule{#1}}
4298 \ifx\smf@fascicule\smf@compilefascicule
4299 \@makefasctrue
4300 \else\@makefascfalse
4301 \fi
4302 }{\global\c@page\the\c@page}
4303
4304 \fi
4305 %</bulletin>
4306 % \end{macrocode}
4307 % \subsection{Bulletin (fichier pour les auteurs)}
4308 % \begin{macrocode}
4309 %<*bull>
4310 \ProvidesPackage{smfbull}[2001/10/17 v1.0c
4311 Fichier additionnel pour la soumission des articles au Bulletin]
4312
4313 \let\ps@copyright\ps@empty
4314
4315 \textheight 18cm
4316 \textwidth 12cm
4317 \addtolength{\oddsidemargin}{.5cm}
4318 \addtolength{\evensidemargin}{.5cm}
4319 \addtolength{\topmargin}{.5cm}
4320 \headheight=10pt
4321 \arraycolsep 1.5pt
4322 \headsep 7mm
4323 \footskip 7mm
4324 \abstractmargin\normalparindent
4325
4326 \def\th@plain{%
4327 \let\thm@indent\noindent
4328 \thm@headfont{\normalfont\scshape}%
4329 \thm@notefont{\normalfont}%
4330 \[email protected]\linespacing \@plus .5\linespacing\relax
4331 \thm@postskip\thm@preskip
4332 \thm@headpunct{\MakePointrait}
4333 \let\thmheadnl\relax
4334 \itshape }
4335 \def\abstractheadfont{\normalfont\scshape}
4336 \def\smf@enddoc{}
4337
4338 \renewcommand{\author}[2][]{%
4339 \ifx\@empty\authors
4340 \gdef\shortauthors{#1}\gdef\authors{#2}%
4341 \else
4342 \g@addto@macro\shortauthors{\and#1}%
4343 \g@addto@macro\authors{\and#2}%
4344 \fi
4345 \g@addto@macro\addresses{\author{#2}}%
4346 }
4347 \edef\author{\@nx\@dblarg
4348 \@xp\@nx\csname\string\author\endcsname}
4349 \def\@setaddresses{\begingroup
4350 \rightskip=0pt plus 1cm
4351 \emergencystretch .5\textwidth
4352 \exhyphenpenalty=-100
4353 \interlinepenalty\@M
4354 \def\baselinestretch{1}% \normalfont\footnotesize
4355 \def\\{\unskip, \penalty-10\ignorespaces}%
4356 \def\cond@bullet {{\setbox0\hbox{\quad$\bullet$\quad}%
4357 \hskip 0pt plus 3cm\penalty -30\hskip 0pt plus -3cm
4358 \cleaders \copy0 \hskip\wd0 }}%
4359 \def\firstauthor##1{{\scshape ##1}\let\address\firstaddress
4360 \let\author\otherauthor}%
4361 \def\otherauthor##1{\par\nobreak
4362 {\scshape ##1}\let\address\firstaddress}%
4363 \def\firstaddress##1##2{\unskip, \let\address\otheraddress
4364 \penalty-20\ignorespaces##2}%
4365 \def\otheraddress##1##2{\cond@bullet \ignorespaces##2}%
4366 \let\author\firstauthor
4367 \let\address\firstaddress
4368 \def\curraddr{\address}%
4369 \def\email##1##2{\@ifnotempty{##2}%
4370 {\cond@bullet
4371 \hbox{\itshape E-mail~:}~{\ttfamily\ignorespaces ##2}}}%
4372 \def\urladdr##1##2{\@ifnotempty{##2}%
4373 {\cond@bullet
4374 {\itshape Url~:}~{\ttfamily\ignorespaces ##2}\par}}%
4375 \addresses
4376 \endgroup}
4377 \def\@setdate{{\itshape\@date}} %% enleve le \@addpunct. avant \@@par
4378 \def\smf@boldmath{\mathversion{bold}}
4379 \smf@byauthorfalse
4380 \def\smf@byfont{\normalfont\scshape}
4381 \def\smf@authorfont{\scshape}
4382 \def\@maketitlehook{\bgroup
4383 \normalparindent 0pt
4384 \ifx\@empty\@date\else\footnotetext{\@setdate\smallskip}\fi
4385 \footnotetext{\@setaddresses\smallskip}%
4386 \def\abstractheadfont{}
4387 \ifx\@empty\@subjclass\else\footnotetext{\@setsubjclass\smallskip}\fi
4388 \ifx\@empty\@keywords\else\footnotetext{\@setkeywords\smallskip}\fi
4389 \ifx\@empty\thankses\else \footnotetext{\@setthanks\smallskip}\fi
4390 \egroup}
4391
4392 \def\bibliofont{\normalfont}
4393 \def\specialsection{\@startsection{section}{1}%
4394 \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
4395 {\centering\normalfont\MakeUppercase}}
4396 \def\bibliosection{\let\refname\bibname\specialsection}
4397 \def\@cite#1#2{{%
4398 \m@th\upshape\mdseries[{#1}{\if@tempswa, #2\fi}]}}
4399
4400 \def\frontmatter{}
4401 \def\mainmatter{}
4402 \def\backmatter{}
4403 %</bull>
4404 % \end{macrocode}
4405 % \subsection{Cours Sp\'ecialis\'es}
4406 % \begin{macrocode}
4407 %<*courspe>
4408 \ProvidesPackage{smfcourspe}[2002/09/01 v1.4
4409 Fichier additionnel pour les Cours Specialises]
4410 \RequirePackageWithOptions{smfgen}
4411 \RequirePackage[courspe]{smfvar}
4412 \RequirePackage[greekstraight]{smfbask}
4413 \secretariatSMF{Nathalie Christia{\"e}n}
4414 \telSMF{(33) 01 44 27 67 99}
4415 \emailSMF{[email protected]}
4416 \ISSN{1284-6090}
4417 \EDPtrue
4418
4419 \def\smf@plaintitre{cours-spe}
4420
4421 %% POUR UTILISER SMFBASK%%
4422 \def\smf@restorecmr{}
4423 \def\th@plain{
4424 \let\thm@indent\noindent
4425 \thm@headfont{\bfseries\itshape}
4426 \thm@notefont{\bfseries\upshape}
4427 \[email protected]\linespacing \@plus .5\linespacing
4428 \thm@postskip\thm@preskip
4429 \thm@headpunct{\MakePointrait}
4430 \let\thmheadnl\relax
4431 \itshape }
4432 \def\abstractheadfont{\bfseries\itshape}
4433 %%%%
4434 \def\smf@logo{Soci\'et\'e Math\'ematique de France}
4435 \def\smf@LOGO{SOCI\'ET\'E MATH\'EMATIQUE DE FRANCE}
4436 \def\smf@titre {Cours Sp\'ecialis\'es}
4437 \let\smf@titrecourt\smf@titre
4438 \def\smf@copyright{\copyright\ \smf@titre
4439 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume\unskip}\fi
4440 , SMF\ \@setyear}
4441
4442
4443 \def\smf@titlei{\clearpage\thispagestyle{empty}
4444 \vspace*{-2cm}\enlargethispage{2cm}
4445 \bgroup
4446 \begin{center}\bfseries\smf@boldmath
4447 \mbox{ }
4448 \vfil\vfil
4449 {\huge\MakeUppercase\@title\par}
4450 \vfil
4451 \ifsmf@editor{\large \smfedbyname\par\medskip}\fi
4452 \def\and{\par\medskip}\centering
4453 {\LARGE\authors\par}
4454 \vfil\vfil
4455 \mbox{ }
4456 \end{center}
4457 \vfilneg
4458 \egroup}
4459 \def\smf@titleii{\clearpage\thispagestyle{empty}\bgroup
4460 \vspace*{-2cm}\enlargethispage{2cm}
4461 \sffamily
4462 \multicolsep0pt
4463 \ifx\smf@commparitaire\@empty\else
4464 {\vfil
4465 \leftskip .1\textwidth plus 1fil minus .1\textwidth
4466 \rightskip\leftskip\parfillskip0pt\relax
4467 \smf@commparitaire\par\vfil}
4468 \fi
4469 \vfil
4470 \begin{center}
4471 {\bfseries\itshape Comit\'e de r\'edaction}\\ \bigskip
4472 \begin{multicols}{2} \@comitedered \end{multicols}\par
4473 \@comitedir\par
4474 \vfil
4475 {\bfseries\itshape Diffusion}\par\bigskip
4476 \mbox {%
4477 \vbox{\hsize=\ifEDP.32\else.5\fi\textwidth
4478 Maison de la SMF \\ B.P. 67 \\ 13274 Marseille Cedex 9 \\ France \\
4479 \texttt{[email protected]}}
4480 \hss
4481 \vbox{\hsize=\ifEDP.28\else.5\fi\textwidth
4482 AMS \\ P.O. Box 6248 \\ Providence RI 02940 \\ USA \\
4483 \texttt{www.ams.org}}
4484 \ifEDP
4485 \hss
4486 \vbox{\hsize=.4\textwidth
4487 EDP Sciences\\ 17, avenue du Hoggar\\ 91944 les Ulis cedex A\\ France\\
4488 \texttt{www.edpsciences.com}}
4489 \fi }\\
4490 \vfil
4491 {\bfseries\itshape Tarifs \@setyear}\par\medskip
4492 {\itshape Vente au num\'ero :} \@tarifNum~\@FrenchCurrency\space
4493 (\$\,\@tarifNumDol)\\
4494 \ifx\@tarifAboEurope\@empty\else
4495 {\itshape Abonnement}
4496 \quad Europe : \@tarifAboEurope~\@FrenchCurrency,
4497 hors Europe : \@tarifAboHors~\@FrenchCurrency\space
4498 (\$\,\@tarifAboDolHors)\\\fi
4499 \smallskip
4500 Des conditions sp\'eciales sont accord\'ees aux membres de la SMF.\\
4501 \vfil
4502 {\bfseries\itshape Secr\'etariat
4503 \ifx\@secretariatSMF\@empty\else : \@secretariatSMF\fi} \\
4504 \smallskip
4505 \smf@titre \\
4506 Soci\'et\'e Math\'ematique de France \\
4507 Institut Henri Poincar\'e, 11, rue Pierre et Marie Curie \\
4508 75231 Paris Cedex 05, France \\
4509 \begin{tabular}{ccc}
4510 T\'el : \@telSMF & $\bullet$& Fax : (33) 01 40 46 90 96\\
4511 \texttt{\@emailSMF}& $\bullet$&\url{http://smf.emath.fr/}
4512 \end{tabular}
4513 \vfil
4514 {\itshape
4515 {\normalfont\copyright}\ \smf@logo\ \@setyear}\\
4516 \end{center}
4517 \medskip
4518 {\itshape\footnotesize\noindent
4519 Tous droits r\'eserv\'es (article L~122--4 du Code de la propri\'et\'e
4520 intellectuelle). Toute repr\'esentation ou reproduction int\'egrale ou
4521 partielle faite sans le consentement de l'\'editeur est illicite.
4522 Cette repr\'esentation ou reproduction par quelque proc\'ed\'e que ce soit
4523 constituerait une contrefa\c con sanctionn\'ee par les articles L~335--2
4524 et suivants du CPI. \par}
4525 \vfil
4526 \begin{center}
4527 \ifx\@issn\@empty\else ISSN \@issn \\ \medskip\fi
4528 \ifx\@isbn\@empty\else ISBN \@isbn \\ \fi
4529 \vfil
4530 \smf@Directeur de la publication : \@dirpub\\
4531 \end{center}
4532 \vfil
4533 \vfilneg\egroup}
4534
4535 \def\smf@titleiii{\clearpage\thispagestyle{empty}
4536 \vspace*{-2cm}\enlargethispage{1cm}
4537 \bgroup
4538 \begin{center}\bfseries\smf@boldmath
4539 {\Large \MakeUppercase\smf@titre\nobreak\ \smf@volume\par}
4540 \vfil\vfil
4541 {\huge\MakeUppercase\@title\par}
4542 \vfil
4543 \ifsmf@editor{\large \smfedbyname\par\medskip}\fi
4544 \def\and{\par\medskip}\centering
4545 {\LARGE\authors\par}
4546 \vfil\vfil
4547 {\Large \smf@logo\ \@setyear\par}
4548 \ifsubventionCNRS
4549 \smallskip{\small
4550 Publi\'e avec le concours du Centre National
4551 de la Recherche Scientifique\par}\fi
4552 \ifsubventionMCC
4553 \smallskip{\small
4554 Publi\'e avec le concours du Minist\`ere de la
4555 Culture et de la Communication\par}\fi
4556 \ifsubventionCNRSMCC
4557 \smallskip{\small
4558 Publi\'e avec le concours du Centre National
4559 de la Recherche Scientifique\\
4560 et du Minist\`ere de la Culture et de
4561 la Communication\par}\fi
4562 \end{center}
4563 \vfilneg
4564 \egroup}
4565
4566 \def\smf@gardeii{\clearpage\thispagestyle{empty}\mbox{ }}
4567 \def\smf@gardeiii{\thispagestyle{empty}\mbox{ }}
4568
4569 \def\texteplaquettefrancais{%
4570 La s\'erie \textit{Cours sp\'ecialis\'es} a pour vocation de publier des
4571 ouvrages de niveau correspondant au troisi\`eme cycle et qui n'exigent
4572 que les connaissances de base de la ma\^\i trise de math\'ematiques. Les
4573 auteurs s'appuient en g\'en\'eral sur un cours enseign\'e dans le cadre
4574 d'une formation doctorale. Le public vis\'e est celui des \'etudiants
4575 de troisi\`eme cycle, doctorants et chercheurs d\'ebutants.}
4576
4577 \def\texteplaquetteenglish{%
4578 The role of the series \textit{Cours sp\'ecialis\'es} is to publish books
4579 of a moderately advanced (graduate) level, which only require a basic
4580 knowledge of elementary mathematics (undergraduate level). They are aimed
4581 at graduate students and beginners in mathematical research. Authors
4582 usually rely on lectures given in a graduate course.}
4583
4584 \def\smf@liste{\cleardoublepage \pagestyle{empty}\bgroup
4585 \parindent=0pt\sffamily \footnotesize
4586 \begin{center}\bfseries\uppercase{Collection SMF}\end{center}
4587 \vspace{3cm}
4588 \begin{center}\bfseries
4589 S\'erie~~\uppercase{S\'eminaires et Congr\`es}
4590 \end{center}
4591 \medskip
4592 \pretolerance2000\tolerance4000
4593 \rightskip=0pt plus 10pt
4594 \let\collection\smf@revue
4595 \input seminaires.lst
4596 \vspace{1cm}
4597 \begin{center}\bfseries
4598 S\'erie~~\uppercase{Cours Sp\'ecialis\'es}
4599 \end{center}
4600 \medskip
4601 \input courspe.lst
4602 \par\egroup}
4603 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
4604 \parindent=0pt
4605 \InputIfFileExists{pubfinale.tex}{}{}
4606 \par\egroup}
4607 \def\smf@gardeiv{\clearpage\thispagestyle{empty}\bgroup\large
4608 \smf@restorecmr
4609 \mbox{}\vfil
4610 \@setshortabstract
4611 \vspace {1cm}
4612 \@setspecialaddresses
4613 \vfil\egroup}
4614 %</courspe>
4615 % \end{macrocode}
4616 % \subsection{M\'emoires de la SMF}
4617 % \begin{macrocode}
4618 %<*memoires>
4619 \ProvidesPackage{smfmemoires}[2003/08/28 v1.4
4620 Fichier additionnel pour les Memoires de la SMF]
4621 \RequirePackageWithOptions{smfgen}
4622 \def\smf@plaintitre{memoires}
4623 \def\smf@titre {M\'emoires de la SMF}%
4624 \let\smf@titrecourt\smf@titre
4625 \def\smf@copyright{\copyright\
4626 M\'emoires de la Soci\'et\'e Math\'ematique de France
4627 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume\unskip}\fi
4628 , SMF\ \@setyear}
4629
4630 \RequirePackage[memoires]{smfvar}
4631 \secretariatSMF{Nathalie Christia\"en}
4632 \telSMF{(33) 01 44 27 67 99}
4633 \emailSMF{[email protected]}
4634 \ISSN{0249-633-X}
4635 \EDPfalse
4636 \subventionCNRStrue
4637
4638 \def\texteplaquettefrancais{%
4639 Les \textit{M\'emoires} de la SMF publient, en fran\c cais ou en
4640 anglais, de longs articles de recherche, des monographies originales
4641 ou des s\'eries d'articles centr\'es sur un m\^eme sujet. Les volumes
4642 ont entre 100 et 150 pages environ.}
4643 \def\texteplaquetteenglish{%
4644 In the \textit{M\'emoires} of the SMF are published, in French or in
4645 English, long research articles, original research monographs or series of
4646 articles on the same topic of current research. Each volume should be
4647 approximately 100-150 pages long.}
4648
4649 \def\th@plain{%
4650 \let\thm@indent\noindent
4651 \thm@headfont{\normalfont\sc}%
4652 \thm@notefont{\normalfont}%
4653 \[email protected]\linespacing\@plus.5\linespacing
4654 \thm@postskip\thm@preskip
4655 \let\thmheadnl\relax
4656 \thm@headpunct{\MakePointrait}
4657 \itshape }
4658
4659 \def\smf@printvol[#1/#2/#3]{#1\@ifnotempty{#2}{/#2}}
4660 \def\smf@liste{\cleardoublepage \pagestyle{empty}\bgroup
4661 \parindent=0pt\sffamily\footnotesize
4662 \begin{center}
4663 {\bfseries\uppercase
4664 {M\'emoires de la Soci\'et\'e math\'ematique de France}}\par
4665 Nouvelle s\'erie
4666 \end{center}
4667 \bigskip
4668 \footnotesize
4669 \pretolerance2000\tolerance4000
4670 \rightskip=0pt plus 10pt
4671 \let\memoire\smf@revue
4672 \input memoires.lst
4673 \par\egroup}
4674 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
4675 \parindent=0pt
4676 \InputIfFileExists{pubfinale.tex}{}{}
4677 \par\egroup}
4678 %</memoires>
4679 % \end{macrocode}
4680 % \subsection{Cours Sp\'ecialis\'es (version EDP Sciences)}
4681 % \begin{macrocode}
4682 %<*courspeedp>
4683 \ProvidesPackage{smfcourspeedp}[2000/02/27 v1.3
4684 Fichier additionnel pour les Cours Specialises (EDP Sciences)]
4685 \PassOptionsToPackage{ptmbf}{smfgen}
4686 \RequirePackageWithOptions{smfgen}
4687 \RequirePackage[courspe]{smfvar}
4688 \RequirePackage[greekstraight]{smfbask}
4689 \secretariatSMF{Nathalie Christia{\"e}n}
4690 \telSMF{(33) 01 44 27 67 99}
4691 \emailSMF{[email protected]}
4692 \EDPtrue
4693
4694 \def\smf@plaintitre{cours-spe}
4695
4696 %% POUR UTILISER SMFBASK%%
4697 \def\smf@restorecmr{}
4698 \def\th@plain{
4699 \let\thm@indent\noindent
4700 \thm@headfont{\bfseries\itshape}
4701 \thm@notefont{\bfseries\upshape}
4702 \[email protected]\linespacing \@plus .5\linespacing
4703 \thm@postskip\thm@preskip
4704 \thm@headpunct{\MakePointrait}
4705 \let\thmheadnl\relax
4706 \itshape }
4707 \def\abstractheadfont{\bfseries\itshape}
4708 %%%%
4709
4710 \def\smf@logo{Soci\'et\'e Math\'ematique de France \& EDP-Sciences}
4711 \def\smf@LOGO{SOCI\'ET\'E MATH\'EMATIQUE DE FRANCE \& EDP-SCIENCES}
4712 \def\smf@titre {Cours Sp\'ecialis\'es}
4713 \let\smf@titrecourt\smf@titre
4714 \def\smf@copyright{\copyright\ \smf@titre
4715 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume\unskip}\fi
4716 , SMF \& EDP-Sciences\ \@setyear}
4717
4718 \def\texteplaquettefrancais{%
4719 La s\'erie \textit{Cours sp\'ecialis\'es} a pour vocation de publier des
4720 ouvrages de niveau correspondant au troisi\`eme cycle et qui n'exigent
4721 que les connaissances de base de la ma\^\i trise de math\'ematiques. Les
4722 auteurs s'appuient en g\'en\'eral sur un cours enseign\'e dans le cadre
4723 d'une formation doctorale. Le public vis\'e est celui des \'etudiants
4724 de troisi\`eme cycle, doctorants et chercheurs d\'ebutants.}
4725
4726 \def\texteplaquetteenglish{%
4727 The role of the series \textit{Cours sp\'ecialis\'es} is to publish books
4728 of a moderately advanced (graduate) level, which only require a basic
4729 knowledge of elementary mathematics (undergraduate level). They are aimed
4730 at graduate students and beginners in mathematical research. Authors
4731 usually rely on lectures given in a graduate course.}
4732 \def\smf@liste{\cleardoublepage \pagestyle{empty}\bgroup
4733 \parindent=0pt\sffamily \footnotesize
4734 \begin{center}\bfseries\uppercase{Collection SMF}\end{center}
4735 \vspace{3cm}
4736 \begin{center}\bfseries
4737 S\'erie~~\uppercase{S\'eminaires et Congr\`es}
4738 \end{center}
4739 \medskip
4740 \pretolerance2000\tolerance4000
4741 \rightskip=0pt plus 10pt
4742 \let\collection\smf@revue
4743 \input seminaires.lst
4744 \vspace{1cm}
4745 \begin{center}\bfseries
4746 S\'erie~~\uppercase{Cours Sp\'ecialis\'es}
4747 \end{center}
4748 \medskip
4749 \input courspe.lst
4750 \par\egroup}
4751 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
4752 \parindent=0pt
4753 \InputIfFileExists{pubfinale.tex}{}{}
4754 \par\egroup}
4755
4756 \def\@setaddresses{\begingroup
4757 \rightskip=0pt plus 1cm
4758 \emergencystretch .5\textwidth
4759 \exhyphenpenalty=-100
4760 \interlinepenalty\@M
4761 \def\baselinestretch{1}% \normalfont\footnotesize
4762 \def\\{\unskip, \penalty-10\ignorespaces}%
4763 \def\cond@bullet {\unskip
4764 {\discretionary{}{}{\hbox{\ $\bullet$\ }}}}%
4765 \def\firstauthor##1{{\scshape ##1}\let\address\firstaddress
4766 \let\author\otherauthor}%
4767 \def\otherauthor##1{\par\nobreak
4768 {\scshape ##1}\let\address\firstaddress}%
4769 \def\firstaddress##1##2{\unskip, \let\address\otheraddress
4770 \penalty-20\ignorespaces##2}%
4771 \def\otheraddress##1##2{\cond@bullet \ignorespaces##2}%
4772 \let\author\firstauthor
4773 \let\address\firstaddress
4774 \def\email##1##2{\@ifnotempty{##2}%
4775 {\cond@bullet
4776 \hbox{\slshape E-mail~:}~{\ttfamily\ignorespaces ##2}}}%
4777 \def\urladdr##1##2{\@ifnotempty{##2}%
4778 {\cond@bullet
4779 {\slshape Url~:}~{\ttfamily\ignorespaces ##2}\par}}%
4780 \addresses
4781 \endgroup}
4782 \def\@setdate{{\sl\@date}} %% enleve le \@@par
4783
4784
4785 \def\smf@titleii{\clearpage
4786 \thispagestyle{empty}\mbox{ }
4787 }
4788 \def\smf@titleiii{%
4789 \clearpage\thispagestyle{copyright}
4790 \markboth{\@nx\shortauthors}{\@nx\shorttitle}
4791 %% INSERER UNE IMAGE
4792 \null
4793 \vskip 12\medskipamount plus 8\medskipamount
4794 \begin{center}\Large\bfseries\smf@boldmath
4795 {\MakeUppercase\@title\par}
4796 \vskip 4\medskipamount plus 2\medskipamount
4797 \def\and{,\ \penalty-1}\authors\par
4798 \end{center}
4799 \vskip 8\medskipamount plus 4 \medskipamount
4800 \@setabstract\par
4801 \vskip 1\medskipamount plus 1\medskipamount
4802 \penalty-100
4803 \@setaltabstract\par\vfill\nopagebreak
4804 \ifx\@empty\@subjclass
4805 \ifx\@empty\@keywords\else
4806 \hrule\medskip\ifx\@empty\addresses\else
4807 \@setaddresses\par\medskip\fi
4808 \@setkeywords\par\medskip
4809 \ifx\@empty\@translators\else\@settranslators\medskip\fi
4810 \ifx\@empty\thankses\else\@setthanks\fi
4811 \ifx\@empty\@date\else\@setdate\fi
4812 \hrule\vfill
4813 \fi
4814 \else
4815 \hrule\medskip\ifx\@empty\addresses\else
4816 \@setaddresses\par\medskip\fi
4817 \@setsubjclass\par\medskip
4818 \ifx\@empty\@keywords\else\@setkeywords\par\medskip\fi
4819 \ifx\@empty\@translators\else\@settranslators\medskip\fi
4820 \ifx\@empty\thankses\else\@setthanks\fi
4821 \ifx\@empty\@date\else\@setdate\fi
4822 \hrule\vfill
4823 \fi
4824 \vfilneg
4825 }
4826 %</courspeedp>
4827 % \end{macrocode}
4828 % \subsection{Documents math\'ematiques}
4829 % \begin{macrocode}
4830 %<*documents>
4831 \ProvidesPackage{smfdocuments}[2000/10/12 v1.3b
4832 Fichier additionnel pour Documents]
4833 \RequirePackageWithOptions{smfgen}
4834 \def\smf@plaintitre{documents}
4835 \def\smf@titre {Documents Math\'ematiques}
4836 \def\smf@titrecourt{Documents Math\'ematiques}
4837 \def\smf@logo{Soci\'et\'e Math\'ematique de France}
4838 \def\smf@LOGO{SOCI\'ET\'E MATH\'EMATIQUE DE FRANCE}
4839 \def\smf@copyright{\copyright\ \smf@titre
4840 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume\unskip}\fi
4841 , SMF\ \@setyear}
4842 %%
4843 \def\comitedir#1{\def\@comitedir{#1}}
4844 \RequirePackage[documents]{smfvar}
4845 %%
4846 \secretariatSMF{Nathalie Christia\"en}
4847 \telSMF{(33) 01 44 27 67 99}
4848 \emailSMF{[email protected]}
4849 \ISSN{1629-4939}
4850 \EDPtrue
4851 \subventionCNRSfalse
4852 \def\smf@titleii{\clearpage\thispagestyle{empty}\enlargethispage{1cm}
4853 \bgroup
4854 \sffamily
4855 \multicolsep0pt
4856 \begin{center}
4857 {\bfseries\itshape \smf@titre\par\bigskip
4858 s\'erie dirig\'ee par \@comitedir}\par
4859 \vfill
4860 {\bfseries\itshape Secr\'etariat
4861 \ifx\@secretariatSMF\@empty\else : \@secretariatSMF\fi} \\
4862 \smallskip
4863 \smf@titre \\
4864 Soci\'et\'e Math\'ematique de France \\
4865 Institut Henri Poincar\'e, 11, rue Pierre et Marie Curie \\
4866 75231 Paris Cedex 05, France \\
4867 \begin{tabular}{ccc}
4868 T\'el : \@telSMF & $\bullet$& Fax : (33) 01 40 46 90 96\\
4869 \texttt{\@emailSMF}& $\bullet$&\url{http://smf.emath.fr/}
4870 \end{tabular}
4871 \par\bigskip
4872 {\itshape
4873 {\normalfont\copyright}\ \smf@logo\ \@setyear}\\
4874 \end{center}
4875 \medskip
4876 {\itshape\footnotesize\noindent
4877 Tous droits r\'eserv\'es (article L~122--4 du Code de la propri\'et\'e
4878 intellectuelle). Toute repr\'esentation ou reproduction int\'egrale ou
4879 partielle faite sans le consentement de l'\'editeur est illicite.
4880 Cette repr\'esentation ou reproduction par quelque proc\'ed\'e que ce soit
4881 constituerait une contrefa\c con sanctionn\'ee par les articles L~335--2
4882 et suivants du CPI. \par}
4883 \par\bigskip
4884 \begin{center}
4885 \ifx\@issn\@empty\else ISSN \@issn \\ \medskip\fi
4886 \ifx\@isbn\@empty\else ISBN \@isbn \\ \fi
4887 \bigskip
4888 \smf@Directeur de la publication : \@dirpub\\
4889 \end{center}
4890 \vfilneg\egroup}
4891 \def\smf@titlei{\clearpage\thispagestyle{empty}
4892 \vspace*{-2cm}\enlargethispage{2cm}
4893 \bgroup
4894 \begin{center}\bfseries\smf@boldmath
4895 \mbox{ }
4896 \vfil\vfil
4897 {\huge\MakeUppercase\@title\par}
4898 \vfil
4899 \ifsmf@editor{\large \smfedbyname\par\medskip}\fi
4900 \def\and{\par\medskip}\centering
4901 {\LARGE\authors\par}
4902 \vfil\vfil
4903 \mbox{ }
4904 \end{center}
4905 \vfilneg
4906 \egroup}
4907 \def\smf@titleiii{\clearpage\thispagestyle{empty}
4908 \vspace*{-2cm}\enlargethispage{2cm}
4909 \bgroup
4910 \begin{center}\bfseries\smf@boldmath
4911 {\Large \MakeUppercase\smf@titre\nobreak\ \smf@volume\par}
4912 \vfil\vfil
4913 {\huge\MakeUppercase\@title\par}
4914 \vfil
4915 \ifsmf@editor{\large \smfedbyname\par\medskip}\fi
4916 \def\and{\par\medskip}\centering
4917 {\LARGE\authors\par}
4918 \vfil\vfil
4919 {\Large \smf@logo\ \@setyear\par}
4920 \ifsubventionCNRS
4921 \smallskip{\small
4922 Publi\'e avec le concours du Centre National
4923 de la Recherche Scientifique\par}\fi
4924 \ifsubventionMCC
4925 \smallskip{\small
4926 Publi\'e avec le concours du Minist\`ere de la
4927 Culture et de la Communication\par}\fi
4928 \ifsubventionCNRSMCC
4929 \smallskip{\small
4930 Publi\'e avec le concours du Centre National
4931 de la Recherche Scientifique\\
4932 et du Minist\`ere de la Culture et de
4933 la Communication\par}\fi
4934 \end{center}
4935 \vfilneg
4936 \egroup}
4937 \def\smf@gardeii{\clearpage\thispagestyle{empty}\mbox{ }}
4938 \def\smf@gardeiii{%
4939 \thispagestyle{empty}\mbox{ }}
4940 \def\smf@gardeiv{\clearpage\thispagestyle{empty}\bgroup\large
4941 \smf@restorecmr
4942 \mbox{}\vfil
4943 \@setshortabstract
4944 \vspace {1cm}
4945 \@setspecialaddresses
4946 \vfil\egroup}
4947 %</documents>
4948 % \end{macrocode}
4949 % \subsection{S\'eminaires et congr\`es}
4950 % \begin{macrocode}
4951 %<*seminaires>
4952 \ProvidesPackage{smfseminaires}[2000/10/12 v1.3b
4953 Fichier additionnel pour Seminaires et Congres]
4954 \RequirePackageWithOptions{smfgen}
4955 \def\smf@plaintitre{seminaires}
4956 \def\smf@titre {S\'eminaires et Congr\`es}
4957 \def\smf@titrecourt{S\'eminaires \&\ Congr\`es}
4958 \def\smf@copyright{\copyright\ \smf@titre
4959 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume\unskip}\fi
4960 , SMF\ \@setyear}
4961 %%
4962 \RequirePackage[seminaires]{smfvar}
4963 %%
4964 \secretariatSMF{Nathalie Christia\"en}
4965 \telSMF{(33) 01 44 27 67 99}
4966 \emailSMF{[email protected]}
4967 \ISSN{1285-2783}
4968 \EDPfalse
4969 \subventionCNRSfalse
4970 \def\texteplaquettefrancais{%
4971 La collection \textit{S\'eminaires \&\ Congr\`es} publie
4972 \'electroniquement, apr\`es avis favorable de son comit\'e de
4973 r\'edaction, les actes de manifestations scientifiques dans le domaine
4974 des math\'ematiques (congr\`es, colloques, \'ecoles d'\'et\'e, \ldots).
4975 L'essentiel du volume doit {\^e}tre compos{\'e} de textes originaux,
4976 complets (donc avec des d{\'e}monstrations) et sous leur forme d{\'e}finitive.
4977 Les textes de type \og survey \fg\ ou de synth{\`e}se sont admis {\`a}
4978 condition d'{\^e}tre bien {\'e}crits et dans une proportion ne devant pas
4979 d{\'e}passer le tiers du volume.
4980 }
4981 \def\texteplaquetteenglish{%
4982 The series \textit{S\'eminaires \&\ Congr\`es} publishes electronically
4983 proceedings of mathematical meetings (conferences, workshops, summer schools,
4984 \ldots),
4985 after acceptation by its editorial board.
4986 Most of the volume should consist of original articles, in a final form.
4987 Survey articles are accepted provided they are well written, but they should
4988 not make up more than one third of the volume.}
4989 \def\smf@liste{\cleardoublepage \pagestyle{empty}\bgroup
4990 \parindent=0pt\sffamily \footnotesize
4991 \begin{center}\bfseries\uppercase{Collection SMF}\end{center}
4992 \vspace{3cm}
4993 \begin{center}\bfseries
4994 S\'erie~~\uppercase{S\'eminaires et Congr\`es}
4995 \end{center}
4996 \medskip
4997 \pretolerance2000\tolerance4000
4998 \rightskip=0pt plus 10pt
4999 \let\collection\smf@revue
5000 \input seminaires.lst
5001 \vspace{1cm}
5002 \begin{center}\bfseries
5003 S\'erie~~\uppercase{Cours Sp\'ecialis\'es}
5004 \end{center}
5005 \medskip
5006 \input courspe.lst
5007 \par\egroup}
5008 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
5009 \parindent=0pt
5010 \InputIfFileExists{pubfinale.tex}{}{}
5011 \par\egroup}
5012 %</seminaires>
5013 % \end{macrocode}
5014 % \subsection{Panoramas et synth\`ese}
5015 % \begin{macrocode}
5016 %<*panoramas>
5017 \ProvidesPackage{smfpanoramas}[2000/10/13 v1.3b
5018 Fichier additionnel pour Panoramas et Syntheses]
5019 \RequirePackageWithOptions{smfgen}
5020 \def\smf@plaintitre{panoramas}
5021 \def\smf@titre {Panoramas et Synth\`eses}
5022 \def\smf@titrecourt{Panoramas \&\ Synth\`eses}
5023 \def\smf@copyright{\copyright\ \smf@titre
5024 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume\unskip}\fi
5025 , SMF\ \@setyear}
5026 %%
5027 \RequirePackage[panoramas]{smfvar}
5028 %%
5029 \secretariatSMF{Nathalie Christia\"en}
5030 \telSMF{(33) 01 44 27 67 99}
5031 \emailSMF{[email protected]}
5032 \ISSN{1272-3835}
5033 \EDPtrue
5034 \subventionCNRStrue
5035 \def\texteplaquettefrancais{%
5036 La s\'erie \textit{Panoramas et Synth\`eses} publie, en fran\c cais ou en
5037 anglais, des textes de 100 \`a 150 pages environ faisant le point sur
5038 l'\'etat pr\'esent d'un sujet math\'ematique. Dans une pr\'esentation soign\'ee,
5039 les auteurs s'attachent \`a mettre en \'evidence les difficult\'es, \`a donner
5040 un parfum des d\'emonstrations et un aper\c cu de l'histoire r\'ecente du
5041 sujet. Les textes, destin\'es \`a des math\'ematiciens professionnels non
5042 sp\'ecialistes, doivent \^etre utilisables par des \'etudiants de doctorat.}
5043 \def\texteplaquetteenglish{%
5044 In the series \textit{Panoramas et Synth\`eses} are published
5045 texts from 100 to 150 pages, in French or in English, which give an
5046 account of the present state of some mathematical area.
5047 The authors aim at explaining the main problems, while giving some
5048 flavour of the proofs and an overview of the recent developments of their
5049 subject. The texts, which are intended to be read by non-specialists,
5050 should be accessible to graduate students.}
5051 \def\smf@liste{\cleardoublepage \pagestyle{empty}\bgroup
5052 \parindent=0pt\sffamily \footnotesize
5053 \begin{center}\bfseries\uppercase{Panoramas et Synth\`eses}\end{center}
5054 \medskip
5055 \pretolerance2000\tolerance4000
5056 \rightskip=0pt plus 10pt
5057 \let\panoramas\smf@revue
5058 \input panoramas.lst
5059 \par\egroup}
5060 \def\smf@pubfinale{\cleardoublepage \pagestyle{empty}\bgroup
5061 \parindent=0pt
5062 \InputIfFileExists{pubfinale.tex}{}{}
5063 \par\egroup}
5064 %</panoramas>
5065 % \end{macrocode}
5066 % \section{Package pour les ouvrages multi-auteurs}
5067 % Ce package est fait pour g\'erer des ouvrages collectifs de sorte que
5068 % table des mati\`eres, etc. soient automatis\'es, mais que chaque article
5069 % soit compil\'e s\'epar\'ement. Les informations utiles sont \'ecrites
5070 % dans des fichiers \texttt{.smf} cr\'e\'es automatiquement par le package.
5071 %
5072 % Il y a deux options : \paquetoption{master} pour le document principal et
5073 % \paquetoption{slave} pour les articles individuels.
5074 %
5075 % \DescribeMacro{\smfinclude}
5076 % Le fonctionnement g\'en\'eral est le suivant. Dans le document ma\^{\i}tre (celui
5077 % avec l'option \paquetoption{master}), les fichiers \`a inclure
5078 % virtuellement (esclaves, \paquetoption{slave} sous-entendue)
5079 % sont appel\'es par la commande |\smfinclude|. Celle-ci met \`a
5080 % jour la liste des fichiers inclus et cr\'ee pour le fichier esclave
5081 % inclus un fichier \texttt{.smf} qui contient les informations dont
5082 % celui-ci pourra avoir besoin : num\'ero de premi\`ere page, num\'ero de volume,
5083 % etc. Ce fichier permet aussi aux fichiers esclaves de communiquer avec le
5084 % ma\^{\i}tre : il renvoie notamment la derni\`ere page.
5085 % \begin{macrocode}
5086 %<*multi>
5087 \ProvidesPackage{smfmulti}[2000/11/20 v1.3
5088 Package SMF pour les ouvrages multi-auteurs]
5089 \newif\ifsmf@slave
5090 \DeclareOption{slave}{\smf@slavetrue}
5091 \DeclareOption{master}{\smf@slavefalse}
5092 \ExecuteOptions{slave}
5093 \ProcessOptions\relax
5094 \RequirePackage{url}
5095 \newwrite\smf@out
5096 \newread\smf@in
5097 \newtoks\smf@toks
5098 % \end{macrocode}
5099 % \begin{macrocode}
5100 \def\smf@newfiles{}
5101 \def\smf@empty{}
5102 {\catcode`\%=11\gdef\smf@pc{%}}
5103 % \end{macrocode}
5104 % Ces macros sont communiqu\'ees entre le ma\^{\i}tre et les esclaves. Elles
5105 % doivent exister pour que \c{c}a marche.
5106 % \begin{macrocode}
5107 \def\authors{}\def\shortauthors{}\def\shorttitle{}
5108 \def\@abstract{}\def\@altabstract{}\def\@alttitle{}
5109 \def\smf@volume{}\def\smf@fascicule{}% \def\smf@year{}
5110 % \end{macrocode}
5111 % \DescribeMacro{\do@volumerefs}
5112 % Cette macro permet de transf\'erer les informations valables pour tous les
5113 % esclaves. Les donn\'ees en question doivent \^etre entr\'ees dans le fichier
5114 % ma\^{\i}tre.
5115 % Le principe de ces \cs{do}\cs{maca}\cs{macb}
5116 % est d'ins\'erer dans les \texttt{.smf}
5117 % une ligne \cs{def}\cs{maca}|{|$\langle$valeur de |\macb|$\rangle$|}|.
5118 % Rien n'interdit \emph{a priori} que \cs{maca}$=$\cs{macb}. Il faut quand m\^eme
5119 % prendre garde \`a ce que le fichier esclave pourrait d\'efinir \cs{maca} !
5120 % \begin{macrocode}
5121 \def\do@volumerefs{%
5122 % \end{macrocode}
5123 % On transmet ainsi num\'eros de volume, de fascicule, ISBN et ISSN.
5124 % Ainsi que l'ann\'ee
5125 % \begin{macrocode}
5126 \do\smf@year\smf@year
5127 \do\smf@volume\smf@volume
5128 \do\smf@fascicule\smf@fascicule
5129 \do\@isbn\@isbn
5130 \do\@issn\@issn}
5131 % \end{macrocode}
5132 % \DescribeMacro{\do@paperrefs}
5133 % \begin{macrocode}
5134 \ifsmf@slave
5135 % \end{macrocode}
5136 % En mode esclave,
5137 % cette macro sert \`a ins\'erer dans les \texttt{.smf} les informations
5138 % venant des esclaves :
5139 % \begin{macrocode}
5140 \def\do@paperrefs{%
5141 % \end{macrocode}
5142 % fichier d'avant, premi\`ere page, derni\`ere page,
5143 % \begin{macrocode}
5144 \do\@precfile\@precfile
5145 \do\smf@firstpage\smf@firstpage
5146 \do\smf@lastpage\smf@lastpage
5147 % \end{macrocode}
5148 % auteur(s)
5149 % \begin{macrocode}
5150 \do\smf@authors\authors
5151 \do\smf@shortauthors\shortauthors
5152 % \end{macrocode}
5153 % langue de l'article, titre et titre court dans celle-ci,
5154 % \begin{macrocode}
5155 \do\smf@langue\smf@language
5156 \do\smf@title\@title
5157 \do\smf@shorttitle\shorttitle
5158 % \end{macrocode}
5159 % titres en fran\c{c}ais, en anglais, r\'esum\'e (fran\c{c}ais) et abstract (anglais),
5160 % \begin{macrocode}
5161 \def\@tempa{french}\ifx\smf@language\@tempa
5162 \do\smf@ftitre\@title
5163 \do\smf@etitre\@alttitle
5164 \do\smf@resume\@abstract
5165 \do\smf@abstract\@altabstract
5166 \else
5167 \do\smf@ftitre\@alttitle
5168 \do\smf@etitre\@title
5169 \do\smf@resume\@altabstract
5170 \do\smf@abstract\@abstract\fi
5171 }
5172 \else
5173 % \end{macrocode}
5174 % En mode \texttt{master}, on r\'ecup\`ere les informations correspondantes.
5175 % C'est presque la m\^eme chose qu'avant sauf que les informations sont
5176 % lues et r\'ecup\'er\'ees dans la m\^eme macro (afin de pouvoir les r\'ecrire
5177 % \`a l'identique).
5178 % \begin{macrocode}
5179 \def\do@paperrefs{%
5180 % \end{macrocode}
5181 % fichier d'avant, premi\`ere page, derni\`ere page,
5182 % \begin{macrocode}
5183 \do\@precfile\@precfile
5184 \do\smf@firstpage\smf@firstpage
5185 \do\smf@lastpage\smf@lastpage
5186 % \end{macrocode}
5187 % auteur(s)
5188 % \begin{macrocode}
5189 \do\smf@authors\smf@authors
5190 \do\smf@shortauthors\smf@shortauthors
5191 % \end{macrocode}
5192 % langue et titre, titre court dans cette langue,
5193 % \begin{macrocode}
5194 \do\smf@langue\smf@langue
5195 \do\smf@title\smf@title
5196 \do\smf@shorttitle\smf@shorttitle
5197 % \end{macrocode}
5198 % titres fran\c{c}ais, anglais, r\'esum\'e, abstract,
5199 % \begin{macrocode}
5200 \do\smf@ftitre\smf@ftitre
5201 \do\smf@etitre\smf@etitre
5202 \do\smf@resume\smf@resume
5203 \do\smf@abstract\smf@abstract
5204 }
5205 \fi
5206 % \end{macrocode}
5207 % \DescribeMacro{\reset@paperrefs}
5208 % On initialise \`a |{}| toutes les macros |\maca| des donn\'ees intervenant dans
5209 % |\do@paperrefs|.
5210 % \begin{macrocode}
5211 \def\reset@paperrefs{%
5212 \bgroup
5213 \def\do##1##2{\xdef##1{}}%
5214 \do@paperrefs
5215 \egroup
5216 }
5217 \reset@paperrefs
5218 % \end{macrocode}
5219 % \DescribeMacro{\smfinclude}
5220 % La macro pour inclure virtuellement un fichier,
5221 % \begin{macrocode}
5222 \def\smfmulti@protect{\let\do\relax}
5223 \def\smfinclude#1{%
5224 % \end{macrocode}
5225 % On change de double page, ent\^etes vierges.
5226 % Modif. 2002, on ajoute sur cette ligne le shortauteur
5227 % \begin{macrocode}
5228 \cleardoublepage\thispagestyle{empty}\markboth{}{}
5229 % \end{macrocode}
5230 % On inclut le nom du fichier dans |\smf@newfiles|
5231 % \begin{macrocode}
5232 \bgroup
5233 \smfmulti@protect
5234 \xdef\smf@newfiles{\smf@newfiles\do{#1}}%
5235 \egroup
5236 % \end{macrocode}
5237 % Puis on pr\'epare le fichier \texttt{.smf}
5238 % \begin{macrocode}
5239 \smf@read{#1}
5240 % \end{macrocode}
5241 % La table des mati\`eres apprend
5242 % l'existence du fichier via une entr\'ee
5243 % |\do@smftoc{|$\langle$fichier$\rangle$|}|.
5244 % \begin{macrocode}
5245 \addtocontents{toc}%
5246 {{\protect\do@smftoc{#1}}\protect\@gobble{\smf@shortauthors}}
5247 % \end{macrocode}
5248 % L'article d\'ebute sur la page \cs{c@page} et termine sur
5249 % $\mbox{\cs{smf@lastpage}}-\mbox{\cs{smf@firstpage}}+\mbox{\cs{c@page}}$.
5250 % Les |0| dans les lignes suivantes tiennent compte des cas o\`u
5251 % |\smf@lastpage| ou |\smf@firstpage| sont vides.
5252 % \begin{macrocode}
5253 \edef\@@smf@firstpage{\smf@firstpage}
5254 \edef\smf@tempa{%
5255 \noexpand\advance\c@page 0\smf@lastpage\relax
5256 \noexpand\advance\c@page -0\smf@firstpage\relax}
5257 \edef\smf@firstpage{\arabic{page}}
5258 \smf@tempa
5259 \edef\smf@lastpage{\the\c@page}
5260 \ifx\smf@firstpage\@@smf@firstpage\else
5261 \PackageWarning{smfmulti}{Difference de premiere page}\fi
5262 \advance\c@page -1\relax
5263 \ifodd\c@page\else\advance\c@page 1\relax\fi
5264 % \end{macrocode}
5265 % On affiche une page de titre pour le fichier |#1.smf|. Cela permet de
5266 % contourner un ``bug'' qui fait que des |\write| sont ignor\'es si \TeX\
5267 % n'a rien \`a |\ship|er apr\`es.
5268 % \begin{macrocode}
5269 \@makeincludetitle{#1}
5270 % \end{macrocode}
5271 % \begin{macrocode}
5272 % Et on met \`a jour le fichier \texttt{.smf}.
5273 \smf@write{#1}}
5274 % \end{macrocode}
5275 % \DescribeMacro{\@makeincludetitle}
5276 % Les macros qui affichent l'ent\^ete de fichier virtuel. De toutes fa\c{c}ons,
5277 % ces pages seront jet\'ees (voire m\^eme pas imprim\'ees!).
5278 % On en profite quand m\^eme pour donner quelques informations.
5279 % \begin{macrocode}
5280 \def\@makeincludetitle#1{%
5281 \vtop to 55 mm{%
5282 \parindent=0pt
5283 \hrule height 1pt
5284 \bigskip
5285 \vbox to 0pt{\noindent \url{#1}%
5286 \noindent\@xp\ifx\csname smf@journalhead\endcsname\relax
5287 , p.\ \smf@firstpage --\smf@lastpage\else
5288 \par\smf@journalhead\fi
5289 \par\vss}\bigskip
5290 \begin{center}
5291 \large\vfil
5292 {\bfseries\smf@boldmath\MakeUppercase\smf@title\par}
5293 \vfil
5294 {\edef\smfandname{{\noexpand\normalfont \smfandname}}
5295 \andify\smf@authors\smf@authors\par}
5296 \vfil \vrule height 1pt width .3\textwidth \vfil
5297 \end{center}}
5298 \vfil
5299 {\sffamily\centering
5300 Veuillez compiler ce fichier s\'epar\'ement et l'ins\'erer ici\par\medskip
5301 Please compile this file separately and insert it here\par }}
5302 % \end{macrocode}
5303 % \DescribeMacro{\smf@read}
5304 % Cette macro charge le contenu du fichier |#1.smf| s'il existe.
5305 % S'il n'existe pas, les macros attendues sont initialis\'ees.
5306 % (Dans ces fichiers, ceraines macros contiennent des |@| qui est
5307 % ainsi une lettre.)
5308 % \begin{macrocode}
5309 \def\smf@read#1{%
5310 \makeatletter
5311 \openin\smf@in=#1.smf
5312 \ifeof\smf@in
5313 \closein \smf@in
5314 \reset@paperrefs
5315 \else
5316 \closein \smf@in
5317 \input #1.smf
5318 \fi
5319 \makeatother
5320 }
5321 % \end{macrocode}
5322 % \DescribeMacro{\smf@write}
5323 % R\'eciproquement, on \'ecrit \'ecrit dans le |#1.smf| les informations venant
5324 % du volume et de l'article.
5325 % (2001/10/24) On met des \% \`a la fin de chaque |\def| sinon, \c{c}a fait des
5326 % espaces ind\'esirables lorsqu'on lit un fichier \texttt{.smf} en mode
5327 % horizontal (\'eventuellement utile dans une biblio).
5328 % \begin{macrocode}
5329 \def\smf@write#1{%
5330 \makeatletter
5331 \immediate\openout\smf@out=#1.smf
5332 \bgroup
5333 \def\do##1##2{\smf@toks=\expandafter{##2}%
5334 \immediate\write\smf@out
5335 {\string\def\string ##1\noexpand{\the\smf@toks\noexpand}\smf@pc}}%
5336 \do@volumerefs\do@paperrefs
5337 \egroup
5338 \immediate\closeout\smf@out
5339 \makeatother
5340 }
5341 % \end{macrocode}
5342 % \subsection{Macros Slave}
5343 % \begin{macrocode}
5344 \ifsmf@slave
5345 % \end{macrocode}
5346 % Met a jour la premiere page, utile qu'en version slave
5347 % Correction d'un bug (2001/10/12) qui ne mettait pas \`a 1 la premi\`ere page
5348 % si elle n'\'etait pas d\'efinie. La conclusion, c'\'etait une page blanche!
5349 % \begin{macrocode}
5350 \def\smf@getfirstpage{%
5351 \smf@read \jobname
5352 \ifx\smf@firstpage\@empty
5353 \xdef\smf@firstpage{1}\else
5354 \c@page=\smf@firstpage\fi}
5355 % \end{macrocode}
5356 % Met a jour la derni\`ere page, version slave
5357 % \begin{macrocode}
5358 \def\smf@getlastpage{%
5359 \clearpage
5360 {\advance\c@page -1 \xdef\smf@lastpage{\arabic{page}}}%
5361 \ifodd\c@page\else\thispagestyle{empty}\hbox{}\fi
5362 \smf@write\jobname }
5363 % \end{macrocode}
5364 % \subsection{Macros Master}
5365 % \begin{macrocode}
5366 \else
5367 % \end{macrocode}
5368 % On recupere la liste des fichiers
5369 % \begin{macrocode}
5370 \def\smf@getfilelist {%
5371 \makeatletter
5372 \def\smf@files{}%
5373 \InputIfFileExists{\jobname.smf}{\def\smf@files{}}%
5374 \makeatother
5375 }
5376 % \end{macrocode}
5377 % R\'eciproquement, on ecrit ce qu'il faut dans |#1.smf|
5378 % \begin{macrocode}
5379 \def\smf@writefilelist {%
5380 \makeatletter
5381 \immediate\openout\smf@out=\jobname.smf
5382 \smf@toks=\expandafter{\smf@newfiles}%
5383 \immediate\write\smf@out
5384 {\string\def\string \smf@files\noexpand{\the\smf@toks\noexpand}\smf@pc}%
5385 \ifx\smf@files\smf@newfiles\else
5386 \PackageWarning{smfmulti}{Difference dans la liste des fichiers !}
5387 \fi
5388 \makeatother
5389 }
5390 % \end{macrocode}
5391 % \'Ecrit la table des mati\`eres de l'ouvrage, seulement en version master
5392 % En fait, inutile puisqu'on avait pris soin (eh oui...) de faire en sorte
5393 % que |\tableofcontents| remplisse son r\^ole...
5394 % On ajoute le fait que les parties sont en gras, centr\'ees.
5395 % \begin{macrocode}
5396 \let\smftableofcontents\tableofcontents
5397 \def\@ctocline#1#2#3#4#5{\relax
5398 \ifnum#1>\c@tocdepth % then omit
5399 \else
5400 \par \addpenalty\@secpenalty\addvspace{#2}%
5401 \begingroup \hyphenpenalty\@M
5402 \centering {#3{#4}}%
5403 \par\nobreak
5404 \endgroup
5405 \fi}
5406 \def\l@part{\@ctocline{-1}{12pt plus 2pt}{\bfseries\smf@boldmath}}
5407
5408 % \end{macrocode}
5409 % \DescribeMacro{\do@smftoc}
5410 % Ins\`ere les informations relatives au fichier |#1| dans
5411 % la table des matieres de l'ouvrage
5412 % \begin{macrocode}
5413 \def\do@smftoc #1{%
5414 \smf@read {#1}
5415 \makeatletter
5416 \@tocline{-2}{12pt plus 2pt}{0pt}{0pt}{}{%
5417 {\def\smfandname{\&}\andify\smf@shortauthors
5418 \scshape
5419 \smf@shortauthors}
5420 ---
5421 {\itshape\let\\\relax\ignorespaces\smf@title\unskip\ }}%
5422 {\smf@firstpage}
5423 \def\l@part{\@tocline{-1}{0pt}{12pt}{}{}}
5424 \def\l@section{\@tocline{1}{0pt}{12pt}{}{}}
5425 \def\l@subsection{\@tocline{2}{0pt}{24pt}{}{}}
5426 \def\l@subsubsection{\@tocline{3}{0pt}{36pt}{}{}}
5427 \def\l@paragraph{\@tocline{5}{0pt}{48pt}{}{}}
5428 \@input{#1.toc}}
5429 % \end{macrocode}
5430 % Table des r\'esum\'es francais
5431 % \begin{macrocode}
5432 \def\smftableofresumes{%%
5433 \chapter*{R\'esum\'es des articles}
5434 \def\do##1{{\do@smfresume{##1}}}\smf@files}
5435 \def\do@smfresume #1{%
5436 \smf@read{#1}%
5437 \@tocline {-2}{12pt plus 2pt}{0pt}{0pt}{}{%
5438 {\itshape\let\\\relax\ignorespaces\smf@title\unskip}\\
5439 {\def\smfandname{\&}\andify \smf@authors
5440 \scshape
5441 \smf@authors }}%
5442 {\smf@firstpage}
5443 \begin{list}{}{\labelwidth\z@ \leftmargin1cm \rightmargin0pt
5444 \listparindent\normalparindent
5445 \itemindent\normalparindent \advance\itemindent\labelsep
5446 \parsep\z@ \@plus\p@
5447 \let\fullwidthdisplay\relax}%
5448 \item[] \smf@resume\end{list}}
5449
5450 % \end{macrocode}
5451 % Table des r\'esum\'es anglais
5452 % \begin{macrocode}
5453 \def\smftableofabstracts{%%
5454 \chapter*{Abstracts}
5455 \def\do##1{{\do@smfabstract{##1}}}\smf@files}
5456
5457 \def\do@smfabstract #1{%
5458 \smf@read{#1}%
5459 \@tocline {-2}{12pt plus 2pt}{0pt}{0pt}{}{%
5460 {\itshape\let\\\relax\ignorespaces\smf@title\unskip}\\
5461 {\def\smfandname{\&}\andify\smf@authors
5462 \scshape\smf@authors }}%
5463 {\smf@firstpage}
5464 \begin{list}{}{\labelwidth\z@ \leftmargin1cm \rightmargin0pt
5465 \listparindent\normalparindent
5466 \itemindent\normalparindent \advance\itemindent\labelsep
5467 \parsep\z@ \@plus\p@
5468 \let\fullwidthdisplay\relax}%
5469 \item[] \smf@abstract\par\end{list}}
5470 % \end{macrocode}
5471 % Mise \`a jour de la derni\`ere page : la version master .
5472 % \begin{macrocode}
5473 \AtBeginDocument{\smf@getfilelist}
5474 \AtEndDocument{\smf@writefilelist}
5475 \fi
5476 %</multi>
5477 % \end{macrocode}
5478 % \section{Package pour l'automatisation des notices bibliographiques}
5479 % \begin{macrocode}
5480 %<*smfbib>
5481 \ProvidesPackage{smfbib}[2000/10/13 v1.3d
5482 Automatisation des notices biblio pour la SMF]
5483
5484 \AtEndDocument{\@makesmfbib}
5485
5486 \newwrite\smfbib@out
5487 \newtoks\smfbib@toks
5488
5489 \bgroup
5490 \catcode`\%=11
5491 \catcode`\{=11\catcode`\}=11
5492 \catcode`\[=1\catcode`\]=2
5493 \global\def\smf@pc[%]
5494 \global\def\smf@com[%\smf@space\smf@space\smf@space]
5495 \global\def\smf@lb[{]
5496 \global\def\smf@rb[}]
5497 \egroup
5498
5499 \def\@makesmfbib{%
5500 \bgroup
5501 \def\smf@space{ }
5502 \def\smf@tab{\smf@space\smf@space\smf@space\smf@space}
5503 \def\do##1##2{\smfbib@toks=\@xp{##2}%
5504 \immediate\write\smfbib@out{%
5505 \smf@tab ##1 = \smf@lb\the\smfbib@toks\smf@rb,}}%
5506 \def\language{french}%
5507 \immediate\openout\smfbib@out=\jobname.smfbib
5508
5509 \immediate\write\smfbib@out{%
5510 \smf@pc&smfbib^^J%
5511 \smf@com bib_file\smf@lb^^J%
5512 \smf@com nom =\smf@lb\jobname.smfbib\smf@rb,^^J%
5513 \smf@com date =\smf@lb\number\year/\number\month/\number\day\smf@rb,^^J%
5514 \smf@com auteur =\smf@lb smfbib\smf@rb,^^J%
5515 \smf@com note =\smf@lb\smf@rb^^J%
5516 \smf@com \smf@rb^^J^^J%
5517 }
5518 \newif\ifsmf@article
5519 \def\smf@tempb{smfart}\ifx\@classname\smf@tempb \smf@articletrue\fi
5520 \ifsmf@article
5521 \immediate\write\smfbib@out {@Article%
5522 \smf@lb\smf@plaintitre:\@setyear:\smf@volume:\smf@firstpage--\smf@lastpage,}
5523 \else
5524 \immediate\write\smfbib@out{@Book%
5525 \smf@lb\smf@plaintitre:\@setyear:\smf@volume, }\fi
5526 \do{publisher }\smf@logo
5527 \ifsubventionCNRS
5528 \do{sponsor }{Centre National de la Recherche Scientifique}
5529 \else\ifsubventionMCC
5530 \do{sponsor }{Minist\`ere de la Culture et de la Communication}
5531 \else\ifsubventionCNRSMCC
5532 \do{sponsor }{Centre National de la Recherche Scientifique et
5533 Minist\`ere de la Culture et de la Communication}
5534 \else
5535 \do{sponsor }\@empty
5536 \fi\fi\fi
5537 \ifsmf@article
5538 \do{type }{article}\else
5539 \do{type }{monographie}\fi
5540 \ifx\smf@language\language
5541 \do{language }{fre}
5542 \do{titre }\@title
5543 \do{title }\@alttitle
5544 \do{resume }\@abstract
5545 \do{abstract }\@altabstract
5546 \ifsmf@article\else
5547 \do{shortresume }\@shortabstract
5548 \do{shortabstract }\@shortaltabstract
5549 \fi
5550 \do{mots_clefs}\@keywords
5551 \do{keywords }\@altkeywords
5552 \else
5553 \do{language }{eng}
5554 \do{titre }\@alttitle
5555 \do{title }\@title
5556 \do{resume }\@altabstract
5557 \do{abstract }\@abstract
5558 \ifsmf@article\else
5559 \do{shortresume }\@shortaltabstract
5560 \do{shortabstract }\@shortabstract
5561 \fi
5562 \do{keywords }\@keywords
5563 \do{mots_clefs}\@altkeywords
5564 \fi
5565 % \def\andify{\nxandlist{, }{ and }{ and }}%
5566 % \andify\authors
5567 \ifsmf@editor
5568 \do{editor }\authors
5569 \else
5570 \do{author }\authors
5571 \fi
5572 \do{shortauthor}\shortauthors
5573 \edef\tmp@year{\@setyear}
5574 \do{year }\tmp@year
5575 \do{collection}\smf@titre
5576 \do{volume }\smf@volume
5577 \do{number }\smf@fascicule
5578 \xdef\@pages{\smf@pages}
5579 \do{pages }\@pages
5580 \do{class_math}\@subjclass
5581 \do{issn }\@issn
5582 \do{isbn }\@isbn
5583 \xdef\@pseudodoi{smf:%
5584 \ifx\@issn\@empty\@isbn\else\@issn\ifx\@isbn\@empty\else/\@isbn\fi\fi:%
5585 \@setyear:%
5586 \smf@volume:%
5587 \smf@pages:}
5588 \do{id }\@pseudodoi
5589 \immediate\write\smfbib@out{%
5590 \smf@rb^^J%
5591 }%
5592 \ifsmf@tarifs
5593 \newcount\@prixmembre\@prixmembre \@tarifNum
5594 \newcount\@reductionmembre\@reductionmembre\@prixmembre
5595 \multiply\@reductionmembre by 30\divide\@reductionmembre by 100
5596 \advance\@prixmembre by -\@reductionmembre
5597 \immediate\write\smfbib@out{%
5598 \smf@com prix_public_euros = \smf@lb \@tarifNum\smf@rb, ^^J%
5599 \smf@com prix_membre_euros = \smf@lb \the\@prixmembre\smf@rb,
5600 \smf@com 70 \smf@pc\smf@space du prix public%
5601 }%
5602 \fi
5603 \immediate\closeout\smfbib@out
5604 \egroup}
5605 %</smfbib>
5606 % \end{macrocode}
5607 % \section{Bourbaki dans Ast\'erisque}
5608 % \begin{macrocode}
5609 %<*asterki>
5610 % \end{macrocode}
5611 % Ent\^ete.
5612 % \begin{macrocode}
5613 \ProvidesClass{smfbourbaki}
5614 [2003/02/21 v2.1c
5615 Classe LaTeX pour les seminaires Bourbaki
5616 (Asterisque ou Brochure)]
5617 \def\filename{bourbaki.cls}
5618 \def\fileversion{2.1c} \def\filedate{2003-02-21}
5619 \immediate\write16{%
5620 LaTeX document class `BOURBAKI' (\fileversion, \filedate)}
5621 % \end{macrocode}
5622 % On d\'eclare les options.
5623 % La m\^eme classe sert \`a la fois aux brochures de Bourbaki et au document
5624 % final dans Ast\'erisque. \`A part des finesses de mise en page,
5625 % la seule chose qui doit changer est la taille des caract\`eres (10 points
5626 % pour le texte final et 12 pour les brochures). La taille du texte est
5627 % r\'egl\'ee proportionnellement pour que la mise en page ne change
5628 % essentiellement pas.
5629 % On met donc une option brochure.
5630 % \begin{macrocode}
5631 \DeclareOption{11pt}{\typeout{Desole --- le volume est en 10 points}}
5632 \DeclareOption{12pt}{\typeout{Desole --- le volume est en 10 points}}
5633 \newif\if@brochure
5634 \DeclareOption{brochure}{\typeout{Brochure Bourbaki : 12 points, etc.}%
5635 \PassOptionsToClass{12pt}{smfart}%
5636 \@brochuretrue}
5637 \DeclareOption{twocolumn}{\typeout{Desole ---
5638 une seule colonne dans le style BOURBAKI.}}
5639 \DeclareOption{openbib}{\typeout{Desole ---
5640 pas d'option openbib dans le style BOURBAKI.}}
5641 \DeclareOption{fleqn}{\typeout{Desole ---
5642 pas d'equations a gauche dans le style BOURBAKI.}}
5643 \DeclareOption{titlepage}{\typeout{Desole ---
5644 pas d'option titlepage dans le style BOURBAKI.}}
5645 \def\@bbklanguage{2}
5646 \DeclareOption{french}%
5647 {\typeout{Style BOURBAKI -- version francaise}\def\@bbklanguage{1}%
5648 \PassOptionsToClass{french}{smfart}}
5649 \DeclareOption{francais}%
5650 {\typeout{Style BOURBAKI -- version francaise}\def\@bbklanguage{1}%
5651 \PassOptionsToClass{french}{smfart}}
5652 \DeclareOption{english}%
5653 {\typeout{Style BOURBAKI -- english version}\def\@bbklanguage{0}%
5654 \PassOptionsToClass{english}{smfart}}
5655
5656 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{smfart}}
5657
5658 \newif\if@bbkswapnumbers
5659 \DeclareOption{swapnumbers}
5660 {\typeout{Style BOURBAKI -- num\'eros avant les intitul\'es}%
5661 \@bbkswapnumberstrue}
5662
5663 \newif\if@bbkmaster
5664 \DeclareOption{master}{\@bbkmastertrue}
5665
5666 \newif\if@draft
5667
5668 % \def\smf@volume{}
5669 % \def\smf@fascicule{}
5670 % \def\@abstract{}
5671 % \def\@altabstract{}
5672 % \def\@alttitle{}
5673
5674
5675 \ExecuteOptions{10pt,a4paper,twoside}
5676 \ProcessOptions\relax
5677
5678 \def\smf@getfirstpage{\gdef\smf@firstpage{1}}
5679 \def\smf@getlastpage{\clearpage
5680 {\advance\c@page-1 \xdef\smf@lastpage{\arabic{page}}}}
5681 \def\smf@pages{\smf@firstpage-\smf@lastpage}
5682
5683 \if@bbkmaster
5684 \if@brochure
5685 \ClassWarning{bourbaki}{Options brochure et master incompatibles.
5686 J'ignore l'option brochure.}%
5687 \@brochurefalse
5688 \fi
5689 \message{Fichier ma\^{\i}tre d'un Ast\'erisque Bourbaki...}
5690 \LoadClass{smfbook}
5691 \def\@classname{smfbook}
5692 \RequirePackage{smfenum}
5693 \RequirePackage[noxy]{asterisque}
5694 \RequirePackage[master]{smfmulti}
5695 \addto\do@paperrefs{\do\smf@subtitle\smf@subtitle
5696 \do\smf@altsubtitle\smf@altsubtitle
5697 \do\smf@bbknumero\smf@bbknumero
5698 \do\smf@keywords\smf@keywords
5699 \do\smf@subjclass\smf@subjclass}
5700 \addto\do@volumerefs{\do\smf@bbkannee\@bbkannee}
5701 \def\@pnumwidth{3em}
5702
5703 \else
5704 \LoadClass{smfart}
5705 \def\@classname{smfart}
5706 \if@brochure
5707 \textwidth 13cm
5708 \textheight 21.5cm
5709 \headheight=12pt
5710 \headsep 12mm
5711 \footskip 12mm
5712 \textwidth 1.2\textwidth
5713 \textheight 1.2\textheight
5714 \calclayout
5715 \else
5716 \RequirePackage{smfenum}
5717 \RequirePackage[noxy]{asterisque}
5718 \RequirePackage{smfmulti}
5719 \addto\do@paperrefs{\do\smf@subtitle\@subtitle
5720 \do\smf@altsubtitle\@altsubtitle
5721 \do\smf@bbknumero\@bbknumero
5722 \do\smf@keywords\@keywords
5723 \do\smf@subjclass\@subjclass}
5724 \addto\do@volumerefs{\do\smf@bbkannee\smf@bbkannee}
5725 \fi
5726 \fi
5727
5728 % \AtBeginDocument{\smf@getfirstpage}
5729 % \AtEndDocument{\smf@getlastpage}
5730
5731
5732 \def\altsubtitle#1{\def\@altsubtitle{#1}}
5733 \def\@altsubtitle{}
5734 \def\subtitle#1{\def\@subtitle{#1}}
5735 \def\@subtitle{}
5736
5737 \def\@setaltabstracthead{\abstractheadfont \altabstractname
5738 \ifx\@alttitle\@empty\else\ \textup(\emph{\@alttitle}%
5739 \ifx\@altsubtitle\@empty\else
5740 \ \textup[\emph{\@altsubtitle}\textup]\fi\textup)\fi}
5741
5742 \def\@bbknumero{}\def\smf@bbknumero{}
5743 \def\@bbkannee{}\def\smf@bbkannee{}
5744 \def\bbknumero#1{\gdef\@bbknumero{#1}\gdef\smf@bbknumero{#1}}
5745 \def\bbkannee#1{\gdef\@bbkannee{#1}}
5746
5747 \if@bbkmaster
5748
5749 \def\smf@titleii{\clearpage
5750 \thispagestyle{empty}
5751 \ifx\@empty\addresses\else \@setaddresses\fi
5752 \vfill
5753 \hrule
5754 \bigskip
5755 \@setkeyclass
5756 \bigskip
5757 \hrule
5758 \vfilneg
5759 }
5760
5761 \def\@setkeyclass{%
5762 \bgroup
5763 \def\baselinestretch{1}
5764 \abstractfont\smaller[2]
5765 {\abstractheadfont
5766 Mots clefs et classification math\'ematique par sujets \textup{(2000)}\par
5767 \medskip}
5768 \def\donot##1{}
5769 \let\do\do@setkeyclass
5770 \smf@files
5771 \egroup
5772 }
5773
5774 \def\do@setkeyclass #1{\bgroup
5775 \smf@read{#1}%
5776 \noindent
5777 {\bfseries Expos\'e n\textsuperscript o \smf@bbknumero\MakePointrait}%
5778 \enspace\ignorespaces
5779 \smf@keywords\MakePointrait\enspace\ignorespaces
5780 \smf@subjclass\@addpunct. \par\egroup}
5781
5782 \def\smf@titleiii{%
5783 \clearpage\thispagestyle{copyright}
5784 \markboth{\@nx\shorttitle}{\@nx\shorttitle}
5785 %% INSERER UNE IMAGE
5786 \null
5787 \vskip 12\medskipamount plus 8\medskipamount
5788 \begin{center}\Large\bfseries\smf@boldmath
5789 {\MakeUppercase\@title\par}
5790 % \vskip 4\medskipamount plus 2\medskipamount
5791 % \def\and{,\ \penalty-1}\authors\par
5792 \end{center}
5793 \vskip 8\medskipamount plus 4 \medskipamount
5794 % \def\abstractmargin{1cm}
5795 \@setabstract\par
5796 \vskip 1\bigskipamount plus 1\bigskipamount
5797 \penalty-100
5798 \@setaltabstract\par
5799 }
5800
5801 % \def\smf@titleiii{\clearpage}
5802
5803 %% Modifications smfmulti
5804
5805 \def\smfmulti@protect{%
5806 \let\do\relax
5807 \let\donot\relax
5808 \let\bourbakisession\relax}
5809
5810 \def\smf@addfile#1{\bgroup
5811 \smfmulti@protect
5812 \smf@toks=\expandafter{\smf@newfiles}%
5813 \xdef\smf@newfiles{\the\smf@toks\do{#1}}%
5814 \egroup}
5815
5816 \def\bbksession#1{\addtocontents{toc}{\protect\bourbakisession{#1}}%
5817 \bgroup
5818 \smfmulti@protect
5819 \smf@toks=\expandafter{\smf@newfiles}%
5820 \xdef\smf@newfiles{\the\smf@toks\donot{\bourbakisession{#1}}}
5821 \egroup
5822 }
5823
5824 \DeclareRobustCommand{\bourbakisession}[1]{\bigskip
5825 \noindent
5826 {\itshape\MakeUppercase{#1}}\par\medskip}
5827
5828 %%% Table des matieres
5829
5830 \def\ps@contents{
5831 \def\@oddfoot{\normalfont\Tiny\hfil
5832 {\smf@LOGO\ \@setyear}}%
5833 \def\@evenfoot{\normalfont\tiny
5834 {\MakeUppercase\smf@titrecourt
5835 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\hfil}}%
5836 \def\@evenhead{\normalfont\scriptsize
5837 \rlap{\bfseries\thepage}\hfil {\itshape TABLE DES MATI\`ERES}\hfil}%
5838 \def\@oddhead{\normalfont\scriptsize
5839 \def\\{\unskip\space\ignorespaces}%
5840 \hfil {\itshape TABLE DES MATI\`ERES}\hfil
5841 \llap{\bfseries\thepage}}%
5842 \let\@mkboth\org@markboth
5843 }
5844
5845
5846 \def\l@chapter{\@tocline{0}{0pt}{0pt}{}{}}
5847
5848 \def\tableofcontents{\begingroup
5849 \cleardoublepage
5850 \pagestyle{contents}\thispagestyle{contents}
5851 \hbox{}\vfil
5852 \typeout{Table des matieres}%
5853 \makeatletter
5854 \@input{\jobname.toc}%
5855 \global\@nobreakfalse \endgroup
5856 \newpage }
5857
5858 \def\do@smftoc #1{%
5859 \smf@read {#1}
5860 \makeatletter
5861 \@tocline{-2}{4pt plus 2pt}{0pt}{4em}{}{%
5862 {\def\smfandname{\&}\andify\smf@authors
5863 \hbox to 3em{\smf@bbknumero\hss}\smf@authors}
5864 ---
5865 {\itshape\let\\\relax\ignorespaces\smf@title\unskip\space
5866 \ifx\smf@subtitle\@empty\else
5867 \textup[\smf@subtitle\unskip\textup]\space\fi }}%
5868 {\smf@firstpage}
5869 }
5870
5871 %% Resumes
5872
5873 \newskip \resumepreskipamount
5874 \resumepreskipamount 18pt plus 6pt minus 6pt % 1.5 \bigskipamount
5875 \def\smftableofresumes{%%
5876 \bgroup
5877 \cleardoublepage
5878 \def\baselinestretch{1}\small
5879 \let\@secnumber\@empty
5880 \addcontentsline{toc}{chapter}{R\'esum\'es des expos\'es}
5881 \pagestyle{resumes}
5882 %% IL FAUDRAIT SE DEBROUILLER POUR QU'IL Y EN AIT EXACTEMENT 5 PAR PAGE !
5883 \def\donot##1{##1}
5884 \def\bourbakisession##1{\clearpage}
5885 % \def\donot##1{}
5886 \def\do##1{\vskip\resumepreskipamount
5887 \do@smfresume{##1}}
5888 \smf@files\clearpage
5889 \egroup}
5890
5891 \def\do@smfresume #1{\bgroup
5892 \smf@read{#1}%
5893 \edef\@tempa{\noexpand\smf@silentselectlanguage{\smf@langue}}\@tempa
5894 \vbox{%
5895 \noindent
5896 {\def\smfandname{\&}\andify \smf@authors
5897 \normalfont
5898 \smf@authors } --
5899 {\itshape\let\\\relax\ignorespaces\smf@title\unskip
5900 \ifx\smf@subtitle\@empty\else
5901 \space\ignorespaces\textup[\smf@subtitle\textup]\fi}}
5902 \par\nobreak
5903 \def\smf@tempa{english}\ifx\smf@langue\smf@tempa
5904 \smf@abstract\else\smf@resume\fi\par
5905 \egroup
5906 }
5907
5908 \def\ps@resumes{
5909 \def\@oddfoot{\normalfont\Tiny\hfil
5910 {\smf@LOGO\ \@setyear}}%
5911 \def\@evenfoot{\normalfont\tiny
5912 {\MakeUppercase\smf@titrecourt
5913 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\hfil}}%
5914 \def\@evenhead{\normalfont\scriptsize
5915 \rlap{\bfseries\thepage}\hfil {\itshape R\'ESUM\'ES DES EXPOS\'ES}\hfil}%
5916 \def\@oddhead{\normalfont\scriptsize
5917 \def\\{\unskip\space\ignorespaces}%
5918 \hfil {\itshape R\'ESUM\'ES DES EXPOS\'ES}\hfil
5919 \llap{\bfseries\thepage}}%
5920 \let\@mkboth\org@markboth
5921 }
5922
5923 %% Derniere de couv.
5924 %
5925 % \def\smf@gardeiv{\clearpage\thispagestyle{empty}\bgroup
5926 % \large\centering
5927 % \smf@restorecmr
5928 % \null \vfil
5929 % \fboxsep 1cm
5930 % \fbox{\begin{minipage}[t]{11cm}{\@setshortabstract}\end{minipage}}
5931 % \vfil
5932 % \fbox{\begin{minipage}[t]{11cm}{\@setshortaltabstract}\end{minipage}}
5933 % \par\vfil
5934 % \egroup}
5935 %
5936
5937 \else
5938 \let\@mkboth\@gobbletwo
5939 \let\partmark\@gobble\let\sectionmark\@gobble
5940 \let\subsectionmark\@gobble
5941
5942 \def\@setthanks{\def\thanks##1{##1\@addpunct{{\upshape.}}}\thankses}
5943 \if@brochure
5944
5945 \def\ps@copyright{\ps@empty}
5946 \def\ps@expose{\ps@empty
5947 \def\@evenhead{\normalfont
5948 \hfil \@bbknumero--\ifnum\c@page<10 0\fi\the\c@page\hfil}
5949 \let\@oddhead\@evenhead }
5950 \ps@expose
5951
5952 \else
5953
5954 \def\ps@copyright{\ps@empty
5955 \def\@oddfoot{\normalfont\Tiny\hfil {\smf@LOGO\ \@setyear}}%
5956 \def\@evenfoot{\normalfont\tiny
5957 {\MakeUppercase\smf@titrecourt
5958 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\hfil}}}
5959 \def\ps@expose{%
5960 \def\@oddfoot{\normalfont\Tiny\hfil {\smf@LOGO\ \@setyear}}%
5961 \def\@evenfoot{\normalfont\tiny
5962 {\MakeUppercase\smf@titrecourt
5963 \ifx\smf@volume\@empty\else{\unskip\ \smf@volume}\fi\hfil}}%
5964 \def\@evenhead{\normalfont\scriptsize
5965 \rlap{\bfseries\thepage}\hfil {\itshape \leftmark{}{}}\hfil}%
5966 \def\@oddhead{\normalfont\scriptsize
5967 \def\\{\unskip\space\ignorespaces}%
5968 \hfil {\itshape (\@bbknumero)\quad \rightmark{}{}}\hfil
5969 \llap{\bfseries\thepage}}%
5970 \let\@mkboth\org@markboth }
5971 \ps@expose
5972
5973 \fi
5974
5975 \def\@maketitle{%
5976 \cleardoublepage
5977 \thispagestyle{copyright}
5978 \parindent=0pt \normalfont\normalsize
5979 \let\@makefnmark\relax \let\@thefnmark\relax
5980 %% REMERCIEMENTS
5981 \ifx\@empty\thankses\else\@footnotetext{\@setthanks}\fi
5982 \topskip0\p@ %% on commence tout en haut.
5983 %% L'ENTETE
5984 {\let\\\relax
5985 \uppercasenonmath\shorttitle
5986 \ifx\@empty\shortauthors \let\shortauthors\shorttitle
5987 \else \uppercasenonmath\shortauthors \andify\shortauthors \fi
5988 \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
5989 \edef\@tempa{\@nx\markboth{\the\toks@}{\the\@temptokena}}%
5990 \@tempa}
5991 \vtop to 55 true mm{%
5992 \hbox to\textwidth{S\'eminaire BOURBAKI\hfil \@date}
5993 \hbox to\textwidth{\if@brochure
5994 \@bbkannee, n\raise4pt\hbox{\small o} \@bbknumero\else
5995 \smf@bbkannee, n\raise4pt\hbox{\small o} \@bbknumero,
5996 p.~\smf@firstpage\ \`a \smf@lastpage
5997 \fi
5998 \hss}
5999 \vfil
6000 {\centering\bf
6001 \MakeUppercase\@title \@@par
6002 \ifx\@empty\@subtitle\else\textup[\@subtitle\textup]\@@par\fi
6003 \bigskip
6004 {\normalfont \smfbyname\ }\authors\@@par
6005 \vfil
6006 \ifx\@empty\@dedicatory
6007 \else{\raggedleft\it\@dedicatory\@@par}\vfil\fi}\par}%
6008 }
6009
6010 % Auteur, adresse
6011
6012 \renewcommand{\author}[2][]{%
6013 \ifx\@empty\authors
6014 \gdef\shortauthors{#1}\gdef\authors{#2}%
6015 \else
6016 \g@addto@macro\shortauthors{\and#1}%
6017 \g@addto@macro\authors{\and#2}%
6018 \fi
6019 \g@addto@macro\addresses{\author{#2}}%
6020 }
6021
6022 \def\@setaddresses{\par
6023 \nobreak \begingroup
6024 \parindent \addressindent\normalfont
6025 \def\author##1{\begingroup
6026 \addvspace\bigskipamount \indent ##1\par\endgroup}%
6027 \def\\{\par\nobreak\ignorespaces}%
6028 \interlinepenalty\@M
6029 \def\address##1##2{\begingroup
6030 \par\nobreak\addvspace\medskipamount\indent
6031 \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
6032 {\normalfont\ignorespaces##2}\par\endgroup}%
6033 \def\curraddr##1##2{\begingroup
6034 \@ifnotempty{##2}{\nobreak\indent{\itshape Addresse courante}%
6035 \@ifnotempty{##1}{, \ignorespaces##1\unskip}~:\space
6036 ##2\par\endgroup}}%
6037 \def\email##1##2{\begingroup
6038 \@ifnotempty{##2}{\nobreak\indent{\itshape \emailname}%
6039 \@ifnotempty{##1}{, \ignorespaces##1\unskip}~:\space
6040 \ttfamily##2\par\endgroup}}%
6041 \def\urladdr##1##2{\begingroup
6042 \@ifnotempty{##2}{\nobreak\indent{\itshape \urlname}%
6043 \@ifnotempty{##1}{, \ignorespaces##1\unskip}~:\space
6044 \ttfamily##2\par\endgroup}}%
6045 \addresses
6046 \endgroup
6047 }
6048 \def\emailname{E-mail}
6049 \def\urlname{Web}
6050
6051 \def\baselinestretch{1.1}
6052 \parskip 0pt plus 4pt
6053
6054 \binoppenalty 2500 % normalement 700
6055 \relpenalty 1500 % normalement 500
6056
6057 \newdimen\addressindent
6058 \addressindent .5\textwidth
6059
6060 \fi
6061
6062 \def\part{\@startsection{part}{1}%
6063 \z@{3\linespacing\@plus\linespacing}{2\linespacing}%
6064 {\raggedright\normalfont\bfseries\smf@boldmath\MakeUppercase}}
6065 \def\section{\@startsection{section}{1}%
6066 \z@{2\linespacing\@plus\linespacing}{\linespacing}%
6067 {\raggedright\normalfont\bfseries\smf@boldmath\MakeUppercase}}
6068 \def\specialsection{\@startsection{section}{1}%
6069 \z@{2\linespacing\@plus\linespacing}{\linespacing}%
6070 {\centering\normalfont\bfseries\smf@boldmath\MakeUppercase}}
6071 \let\sectionname\@empty
6072 \def\subsection{\@startsection{subsection}{2}%
6073 \z@{.7\linespacing\@plus.7\linespacing}{.3\linespacing}
6074 {\normalfont\bfseries\smf@boldmath}}
6075 \let\Subsection\subsection
6076
6077 \let\bibliosection\specialsection
6078 \def\bibliofont{\normalfont}
6079 % {\def\baselinestretch{1.2}\normalfont}
6080 % \let\specialsection\section
6081
6082 \def\th@plain{%
6083 \let\thm@indent\noindent
6084 \thm@headfont{\normalfont\scshape}%
6085 \thm@notefont{\normalfont}%
6086 \[email protected]\linespacing \@plus .5\linespacing
6087 \thm@postskip\thm@preskip
6088 \thm@headpunct{\MakePointrait}
6089 \itshape }
6090 \def\th@definition{\th@plain } % was \upshape
6091 \def\th@remark{\th@definition \thm@headfont{\itshape} \upshape}
6092
6093 %%%% THEOREMES, DEFINITIONS
6094 \if@bbkswapnumbers\swapnumbers\fi
6095
6096 \theoremstyle{plain}
6097 \newtheorem{defi}{\definame}[section]
6098 \newtheorem{prop}[defi]{\propname}
6099 \newtheorem{theo}[defi]{\theoname}
6100 \newtheorem{conj}[defi]{\conjname}
6101 \newtheorem{coro}[defi]{\coroname}
6102 \newtheorem{fait}[defi]{\faitname}
6103 \theoremstyle{definition}
6104 \newtheorem{lemm}[defi]{\lemmname}
6105 \theoremstyle{remark}
6106 \newtheorem{rema}[defi]{\remaname}
6107 \newtheorem{exem}[defi]{\exemname}
6108 \theoremstyle{plain}
6109
6110 \newenvironment{enonce}[2][plain]%
6111 {\let\smfenonce\relax \theoremstyle{#1}%
6112 \newtheorem{smfenonce}[\smf@thm]{#2}%
6113 \begin{smfenonce}}%
6114 {\end{smfenonce}}%
6115 \newenvironment{enonce*}[2][plain]%
6116 {\let\smfenonce\relax \theoremstyle{#1}%
6117 \newtheorem*{smfenonce}{#2}%
6118 \begin{smfenonce}}%
6119 {\end{smfenonce}}%
6120
6121 %%%% CITATIONS
6122
6123 \def\@cite#1#2{{%
6124 \m@th\upshape\mdseries[{#1}{\if@tempswa, #2\fi}]}}
6125
6126 %%%% FIN DU DOCUMENT
6127
6128 \g@addto@macro\smf@captionsenglish{\def\faitname{Fact}}
6129 \g@addto@macro\smf@captionsfrench{\def\faitname{Fait}}
6130
6131 \def\smf@enddoc{%
6132 \par\vskip 2\bigskipamount
6133 \bgroup
6134 \def\baselinestretch{1}\normalfont
6135 \raggedright
6136 \ifx\@empty\@translators\else \@settranslators\medskip \fi
6137 \ifx\@empty\addresses \else \@setaddresses \fi
6138 \par\egroup}
6139 %</asterki>
6140 % \end{macrocode}
6141 % \section{Ponctuation haute en romain m\^eme en italiques}
6142 % Ce package requiert que \paquet{babel} soit charg\'e et sous-entend que
6143 % l'on est en fran\c cais.
6144 % \begin{macrocode}
6145 %<*upitparen>
6146 \ProvidesPackage{upitparen}[2003/08/28 v1.1
6147 Ponctuation haute en romain m\^eme en italiques]
6148 \declare@shorthand{french}{;}{%
6149 \ifhmode
6150 \ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\else\FDP@thinspace\fi
6151 \fi
6152 \ifmmode\string;\else\textup{\string;}\fi}
6153 \declare@shorthand{french}{!}{%
6154 \ifhmode
6155 \ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\else\FDP@thinspace\fi
6156 \fi
6157 \ifmmode\string!\else\textup{\string!}\fi}
6158 \declare@shorthand{french}{?}{%
6159 \ifhmode
6160 \ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\else\FDP@thinspace\fi
6161 \fi
6162 \ifmmode\string?\else \textup{\string?}\fi}
6163 \declare@shorthand{french}{:}{%
6164 \ifhmode
6165 \ifdim\lastskip>\z@\unskip\penalty\@M\Fcolonspace\else\FDP@colonspace\fi
6166 \fi
6167 \ifmmode\string:\else\textup{\string:}\fi}
6168
6169 \initiate@active@char{(}
6170 \initiate@active@char{)}
6171 \declare@shorthand{french}{(}{%
6172 \ifmmode\string(\else\textup{\string(}\penalty\@M\fi}
6173 \declare@shorthand{french}{)}{%
6174 \ifmmode\string)\else\penalty\@M\textup{\string)}\fi}
6175 \declare@shorthand{system}{(}{\string(}
6176 \declare@shorthand{system}{)}{\string)}
6177
6178 \addto\extrasfrench{\bbl@activate{(}\bbl@activate{)}}
6179 \addto\noextrasfrench{\bbl@deactivate{(}\bbl@deactivate{)}}
6180 % \end{macrocode}
6181 %</upitparen>
6182 % \section{Style \BibTeX\ alphabétique}
6183 %<*smfalpha>
6184 % \begin{macrocode}
6185 %% @BibTeX-style-file{"smfalpha.bst"
6186 %% date="1998/06/15",
6187 %% version="v0.1"}
6188 %% Types of entries currently allowed in a BibTeX file:
6189 %% ARTICLE -- An article from a journal or magazine.
6190 %% BOOK -- A book with an explicit publisher.
6191 %% BOOKLET -- A work that is printed and bound,
6192 %% but without a named publisher or sponsoring institution.
6193 %% CONFERENCE -- The same as INPROCEEDINGS,
6194 %% included for Scribe compatibility.
6195 %% INBOOK -- A part of a book,
6196 %% which may be a chapter (or section or whatever) and/or a range of pages.
6197 %% INCOLLECTION -- A part of a book having its own title.
6198 %% INPROCEEDINGS -- An article in a conference proceedings.
6199 %% MANUAL -- Technical documentation.
6200 %% MASTERSTHESIS -- A Master's thesis.
6201 %% MISC -- Use this type when nothing else fits.
6202 %% PHDTHESIS -- A PhD thesis.
6203 %% PROCEEDINGS -- The proceedings of a conference.
6204 %% TECHREPORT -- A report published by a school or other institution,
6205 %% usually numbered within a series.
6206 %% UNPUBLISHED -- A document having an author and title, but not formally
6207 %% published.
6208 ENTRY
6209 { address
6210 author
6211 booktitle
6212 chapter
6213 edition
6214 editor
6215 howpublished
6216 institution
6217 journal
6218 key
6219 language
6220 month
6221 note
6222 number
6223 organization
6224 pages
6225 publisher
6226 school
6227 series
6228 title
6229 type
6230 volume
6231 year
6232 }
6233 {}
6234 { label extra.label extra.same.label sort.label }
6235
6236 INTEGERS { output.state before.all mid.sentence after.name }
6237
6238 FUNCTION {init.state.consts}
6239 { #0 'before.all :=
6240 #1 'after.name :=
6241 #2 'mid.sentence :=
6242 }
6243
6244
6245 STRINGS { s t }
6246 FUNCTION {not}
6247 { { #0 }
6248 { #1 }
6249 if$
6250 }
6251
6252 FUNCTION {and}
6253 { 'skip$
6254 { pop$ #0 }
6255 if$
6256 }
6257
6258 FUNCTION {or}
6259 { { pop$ #1 }
6260 'skip$
6261 if$
6262 }
6263
6264 FUNCTION {field.or.null}
6265 { duplicate$ empty$
6266 { pop$ "" }
6267 'skip$
6268 if$
6269 }
6270
6271 FUNCTION {emphasize}
6272 { duplicate$ empty$
6273 { pop$ "" }
6274 { "\emph{" swap$ * "}" * }
6275 if$
6276 }
6277
6278 FUNCTION {guillemetize}
6279 { duplicate$ empty$
6280 { pop$ "" }
6281 { "{\og " swap$ * "\fg}" * }
6282 if$
6283 }
6284
6285 FUNCTION {scapify}
6286 { duplicate$ empty$
6287 { pop$ "" }
6288 { "{\scshape " swap$ * "}" * }
6289 if$
6290 }
6291
6292
6293 FUNCTION {n.dashify}
6294 { 't :=
6295 ""
6296 { t empty$ not }
6297 { t #1 #1 substring$ "-" =
6298 { t #1 #2 substring$ "--" = not
6299 { "--" *
6300 t #2 global.max$ substring$ 't :=
6301 }
6302 { { t #1 #1 substring$ "-" = }
6303 { "-" *
6304 t #2 global.max$ substring$ 't :=
6305 }
6306 while$
6307 }
6308 if$
6309 }
6310 { t #1 #1 substring$ *
6311 t #2 global.max$ substring$ 't :=
6312 }
6313 if$
6314 }
6315 while$
6316 }
6317
6318
6319 FUNCTION {tie.or.space.connect}
6320 { duplicate$ text.length$ #3 <
6321 { "~" }
6322 { " " }
6323 if$
6324 swap$ * *
6325 }
6326
6327 FUNCTION {add.space.if.necessary}
6328 { duplicate$ "" =
6329 'skip$
6330 { " " * }
6331 if$
6332 }
6333
6334
6335 FUNCTION {either.or.check}
6336 { empty$
6337 'pop$
6338 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
6339 if$
6340 }
6341
6342
6343 FUNCTION {output.nonnull}
6344 { 's :=
6345 output.state after.name =
6346 { extra.same.label "\bysame" =
6347 { ", " * write$ }
6348 { " -- " * write$ }
6349 if$
6350 mid.sentence 'output.state := }
6351 { output.state mid.sentence =
6352 { ", " * write$ }
6353 { output.state before.all =
6354 'write$
6355 { add.period$ " " * write$ }
6356 if$
6357 after.name 'output.state := }
6358 if$ }
6359 if$
6360 s
6361 }
6362
6363
6364 FUNCTION {output}
6365 { duplicate$ empty$
6366 'pop$
6367 'output.nonnull
6368 if$
6369 }
6370
6371
6372 FUNCTION {missing.warning}
6373 { "missing " swap$ * " in " * cite$ * warning$ }
6374
6375
6376 FUNCTION {output.check}
6377 { 't :=
6378 duplicate$ empty$
6379 { pop$ t missing.warning }
6380 'output.nonnull
6381 if$
6382 }
6383
6384 FUNCTION {output.bibitem}
6385 { newline$
6386 "\bibitem[" write$
6387 label write$
6388 "]{" write$
6389 cite$ write$
6390 "}" write$
6391 newline$
6392 ""
6393 before.all 'output.state :=
6394 }
6395
6396 FUNCTION {fin.entry}
6397 { add.period$
6398 write$
6399 newline$
6400 }
6401
6402
6403 FUNCTION {format.language}
6404 { language empty$
6405 { "" }
6406 { " (" language * ")" * }
6407 if$
6408 }
6409 INTEGERS { nameptr namesleft numnames }
6410
6411
6412 FUNCTION {format.names}
6413 { 's :=
6414 #1 'nameptr :=
6415 s num.names$ 'numnames :=
6416 numnames 'namesleft :=
6417 { namesleft #0 > }
6418 { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
6419 nameptr #1 >
6420 { namesleft #1 >
6421 { ", " * t * }
6422 { numnames #2 >
6423 { "" * }
6424 'skip$
6425 if$
6426 t "others" =
6427 { " {\normalfont et~al.}" * }
6428 { " {\normalfont \smfandname} " * t * }
6429 if$
6430 }
6431 if$
6432 }
6433 't
6434 if$
6435 nameptr #1 + 'nameptr :=
6436 namesleft #1 - 'namesleft :=
6437 }
6438 while$
6439 }
6440
6441 FUNCTION {format.authors}
6442 { author empty$
6443 { "" }
6444 { extra.same.label "\bysame" =
6445 { "\bysame " }
6446 { author format.names scapify }
6447 if$
6448 }
6449 if$
6450 }
6451
6452 FUNCTION {format.editors}
6453 { editor empty$
6454 { "" }
6455 { extra.same.label "\bysame" =
6456 { "\bysame " }
6457 { editor format.names scapify }
6458 if$
6459 editor num.names$ #1 >
6460 { " (\smfedsname)" * }
6461 { " (\smfedname)" * }
6462 if$
6463 "\nomorebysame" 'extra.same.label :=
6464 }
6465 if$
6466 }
6467
6468 FUNCTION {format.nonauthor.editors}
6469 { editor empty$
6470 { "" }
6471 { editor format.names
6472 editor num.names$ #1 >
6473 { ", \smfedsname" * }
6474 { ", \smfedname" * }
6475 if$
6476 }
6477 if$
6478 }
6479
6480 FUNCTION {format.booktitle}
6481 { title empty$
6482 { "" }
6483 { title "t" change.case$ emphasize }
6484 if$
6485 }
6486
6487 FUNCTION {format.title}
6488 { title empty$
6489 { "" }
6490 { title "t" change.case$ guillemetize }
6491 if$
6492 }
6493
6494 FUNCTION {format.journal.vol.year}
6495 { journal empty$
6496 { "journal name" missing.warning ""}
6497 { journal emphasize }
6498 if$
6499 volume empty$
6500 'skip$
6501 { " \textbf{" * volume * "}" * }
6502 if$
6503 year empty$
6504 { "year" missing.warning }
6505 { " (" * year * ")" * }
6506 if$
6507 }
6508
6509
6510 FUNCTION {format.number}
6511 { number empty$
6512 { "" }
6513 { "no.~" number * }
6514 if$
6515 }
6516
6517
6518 FUNCTION {format.date}
6519 { year empty$
6520 { month empty$
6521 { "" }
6522 { "there's a month but no year in " cite$ * warning$
6523 month
6524 }
6525 if$
6526 }
6527 { month empty$
6528 'year
6529 { month " " * year * }
6530 if$
6531 }
6532 if$
6533 }
6534
6535
6536 FUNCTION {format.bookvolume.series.number}
6537 { volume empty$
6538 { "" % Push the empty string as a placeholder in case everything else
6539 % is empty too.
6540 series empty$
6541 'skip$
6542 { pop$ series } % if series is not empty put in stack
6543 if$
6544 number empty$
6545 'skip$
6546 { duplicate$ empty$ % if no preceding material,
6547 'skip$ % do nothing, otherwise
6548 { ", " * } % add a comma and space to separate.
6549 if$
6550 "no." number tie.or.space.connect * % add the number information
6551 }
6552 if$
6553 }
6554 %% If the volume is NOT EMPTY:
6555 { "vol." volume tie.or.space.connect % vol. XX
6556 number empty$
6557 { series empty$
6558 'skip$
6559 { series ", " * swap$ *} % Series Name, vol. XX
6560 if$
6561 }
6562 { series empty$
6563 { "can't use both volume and number if series info is missing"
6564 warning$
6565 "in BibTeX entry type `" type$ * "'" * top$
6566 }
6567 { ", " * series * ", no." * number tie.or.space.connect }
6568 if$
6569 }
6570 if$
6571 }
6572 if$
6573
6574 } % end of format.bookvolume.series.number
6575
6576 %% format.inproc.title.where.editors is used by inproceedings entry types
6577
6578 FUNCTION {format.inproc.title.address.editors}
6579 { booktitle empty$
6580 { "" }
6581 %% Emphasizing the title. We want initial caps.
6582 { "in " booktitle emphasize *}
6583 if$
6584 %% We add parentheses around the address (place where conference
6585 %% was held).
6586 address empty$
6587 'skip$
6588 { add.space.if.necessary "(" * address * ")" * }
6589 if$
6590 %% Likewise we add parentheses around the editors' names.
6591 editor empty$
6592 'skip$
6593 { add.space.if.necessary "(" * format.nonauthor.editors * ")" * }
6594 if$
6595 }
6596
6597 %% format.incoll.title.editors is similar to format.inproc... but
6598 %% omits the address. For collections that are not proceedings volumes.
6599
6600 FUNCTION {format.incoll.title.editors}
6601 { booktitle empty$
6602 { "" }
6603 %% Emphasizing the title. We want initial caps.
6604 { "in " booktitle emphasize * }
6605 if$
6606 %% We add parentheses around the editors' names.
6607 editor empty$
6608 'skip$
6609 { add.space.if.necessary "(" * format.nonauthor.editors * ")" * }
6610 if$
6611 }
6612
6613
6614 FUNCTION {format.number.series}
6615 { series empty$
6616 { number empty$
6617 { "" }
6618 { "there's a number but no series in " cite$ * warning$ }
6619 if$
6620 }
6621 { series
6622 number empty$
6623 'skip$
6624 { "\ \textbf{" * number * "}" * }
6625 if$
6626 }
6627 if$
6628 }
6629
6630 FUNCTION {format.edition}
6631 { edition empty$
6632 { "" }
6633 { output.state mid.sentence =
6634 { edition "l" change.case$ " \smfedname" * }
6635 { edition "t" change.case$ " \smfedname" * }
6636 if$
6637 }
6638 if$
6639 }
6640
6641 INTEGERS { multiresult }
6642
6643 FUNCTION {multi.page.check}
6644 { 't :=
6645 #0 'multiresult :=
6646 { multiresult not
6647 t empty$ not
6648 and
6649 }
6650 { t #1 #1 substring$
6651 duplicate$ "-" =
6652 swap$ duplicate$ "," =
6653 swap$ "+" =
6654 or or
6655 { #1 'multiresult := }
6656 { t #2 global.max$ substring$ 't := }
6657 if$
6658 }
6659 while$
6660 multiresult
6661 }
6662
6663 FUNCTION {format.pages}
6664 { pages empty$
6665 { "" }
6666 { "p.~" pages n.dashify * }
6667 if$
6668 }
6669
6670 FUNCTION {format.book.pages}
6671 { pages empty$
6672 { "" }
6673 { pages multi.page.check
6674 { "p.~" pages n.dashify * }
6675 { "p.~" pages * }
6676 if$
6677 }
6678 if$
6679 }
6680
6681 FUNCTION {format.chapter.pages}
6682 { chapter empty$
6683 'format.pages
6684 { type empty$
6685 { "ch.~" }
6686 { type "l" change.case$ " " * }
6687 if$
6688 chapter *
6689 pages empty$
6690 'skip$
6691 { ", " * format.book.pages * }
6692 if$
6693 }
6694 if$
6695 }
6696
6697 FUNCTION {empty.misc.check}
6698 { author empty$ title empty$ howpublished empty$
6699 month empty$ year empty$ note empty$
6700 and and and and and
6701 key empty$ not and
6702 { "all relevant fields are empty in " cite$ * warning$ }
6703 'skip$
6704 if$
6705 }
6706
6707 FUNCTION {format.thesis.type}
6708 { type empty$
6709 'skip$
6710 { pop$
6711 type "t" change.case$
6712 }
6713 if$
6714 }
6715
6716 FUNCTION {format.tr.number}
6717 { type empty$
6718 { "Tech. Report" }
6719 'type
6720 if$
6721 number empty$
6722 { "t" change.case$ }
6723 { number tie.or.space.connect }
6724 if$
6725 }
6726
6727 FUNCTION {format.article.crossref}
6728 { key empty$
6729 { journal empty$
6730 { "need key or journal for " cite$ * " to crossref " * crossref *
6731 warning$
6732 ""
6733 }
6734 { "in " journal * }
6735 if$
6736 }
6737 { "in " key * }
6738 if$
6739 " \cite{" * crossref * "}" *
6740 }
6741
6742 FUNCTION {format.crossref.editor}
6743 { editor #1 "{vv~}{ll}" format.name$
6744 editor num.names$ duplicate$
6745 #2 >
6746 { pop$ " et~al." * }
6747 { #2 <
6748 'skip$
6749 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
6750 { " et~al." * }
6751 { " \smfandname\ " * editor #2 "{vv~}{ll}" format.name$ * }
6752 if$
6753 }
6754 if$
6755 }
6756 if$
6757 }
6758
6759 FUNCTION {format.book.crossref}
6760 { volume empty$
6761 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
6762 "in "
6763 }
6764 { "vol." volume tie.or.space.connect
6765 " de " *
6766 }
6767 if$
6768 editor empty$
6769 editor field.or.null author field.or.null =
6770 or
6771 { key empty$
6772 { series empty$
6773 { "need editor, key, or series for " cite$ * " to crossref " *
6774 crossref * warning$
6775 "" *
6776 }
6777 { series * }
6778 if$
6779 }
6780 { key * }
6781 if$
6782 }
6783 { format.crossref.editor * }
6784 if$
6785 " \cite{" * crossref * "}" *
6786 }
6787
6788 FUNCTION {format.incoll.inproc.crossref}
6789 { key empty$
6790 { booktitle empty$
6791 { editor empty$
6792 editor field.or.null author field.or.null =
6793 or
6794 { "need editor, key, or booktitle for " cite$ * "to crossref " *
6795 crossref * warning$ "" }
6796 { "in " format.crossref.editor * }
6797 if$ }
6798 { "in " booktitle emphasize * }
6799 if$ }
6800 { "in " key * }
6801 if$
6802 " \cite{" * crossref * "}" *
6803 }
6804
6805
6806 FUNCTION {article}
6807 { output.bibitem
6808 format.authors "author" output.check
6809 format.title "title" output.check
6810 crossref missing$
6811 { format.journal.vol.year output
6812 format.number output
6813 format.pages "pages" output.check
6814 }
6815 { format.article.crossref output.nonnull
6816 format.pages output
6817 }
6818 if$
6819 format.language *
6820 note output
6821 fin.entry
6822 }
6823
6824 FUNCTION {book}
6825 { output.bibitem
6826 author empty$
6827 { format.editors "author and editor" output.check }
6828 { format.authors output.nonnull
6829 crossref missing$
6830 { "author and editor" editor either.or.check }
6831 'skip$
6832 if$
6833 }
6834 if$
6835 format.booktitle "title" output.check
6836 format.edition output
6837 crossref missing$
6838 { format.bookvolume.series.number output
6839 publisher "publisher" output.check
6840 address output
6841 }
6842 { format.book.crossref output.nonnull
6843 }
6844 if$
6845 format.date "year" output.check
6846 format.language *
6847 note output
6848 fin.entry
6849 }
6850 FUNCTION {booklet}
6851 { output.bibitem
6852 format.authors output
6853 format.booktitle "title" output.check
6854 howpublished output
6855 address output
6856 format.date output
6857 note output
6858 fin.entry
6859 }
6860
6861 FUNCTION {inbook}
6862 { output.bibitem
6863 author empty$
6864 { format.editors "author and editor" output.check }
6865 { format.authors output.nonnull
6866 crossref missing$
6867 { "author and editor" editor either.or.check }
6868 'skip$
6869 if$
6870 }
6871 if$
6872 format.title "title" output.check
6873 crossref missing$
6874 { format.bookvolume.series.number output
6875 format.chapter.pages "chapter and pages" output.check
6876 format.number.series output
6877 publisher "publisher" output.check
6878 address output
6879 }
6880 { format.chapter.pages "chapter and pages" output.check
6881 format.book.crossref output.nonnull
6882 }
6883 if$
6884 format.edition output
6885 format.date "year" output.check
6886 format.language *
6887 note output
6888 fin.entry
6889 }
6890
6891 FUNCTION {incollection}
6892 { output.bibitem
6893 format.authors "author" output.check
6894 format.title "title" output.check
6895 crossref missing$
6896 { format.incoll.title.editors "booktitle" output.check
6897 format.bookvolume.series.number output
6898 publisher "publisher" output.check
6899 address output
6900 format.edition output
6901 format.date "year" output.check
6902 }
6903 { format.incoll.inproc.crossref output.nonnull
6904 }
6905 if$
6906 note output
6907 format.book.pages output
6908 format.language *
6909 fin.entry
6910 }
6911
6912 FUNCTION {inproceedings}
6913 { output.bibitem
6914 format.authors "author" output.check
6915 format.title "title" output.check
6916 crossref missing$
6917 { format.inproc.title.address.editors "booktitle" output.check
6918 format.bookvolume.series.number output
6919 organization output
6920 publisher output
6921 format.date "year" output.check
6922 }
6923 { format.incoll.inproc.crossref output.nonnull
6924 }
6925 if$
6926 note output
6927 format.book.pages output
6928 format.language *
6929 fin.entry
6930 }
6931
6932 FUNCTION {conference} { inproceedings }
6933
6934 FUNCTION {manual}
6935 { output.bibitem
6936 author empty$
6937 { organization empty$
6938 'skip$
6939 { organization output.nonnull
6940 address output
6941 }
6942 if$
6943 }
6944 { format.authors output.nonnull }
6945 if$
6946 format.booktitle "title" output.check
6947 author empty$
6948 { organization empty$
6949 { address output }
6950 'skip$
6951 if$
6952 }
6953 { organization output
6954 address output
6955 }
6956 if$
6957 format.edition output
6958 format.date output
6959 note output
6960 fin.entry
6961 }
6962
6963 FUNCTION {mastersthesis}
6964 { output.bibitem
6965 format.authors "author" output.check
6966 format.booktitle "title" output.check
6967 "\smfmastersthesisname" format.thesis.type output.nonnull
6968 school "school" output.check
6969 address output
6970 format.date "year" output.check
6971 note output
6972 fin.entry
6973 }
6974
6975 FUNCTION {phdthesis}
6976 { output.bibitem
6977 format.authors "author" output.check
6978 format.title "title" output.check
6979 "\smfphdthesisname" format.thesis.type output.nonnull
6980 school "school" output.check
6981 address output
6982 format.date "year" output.check
6983 note output
6984 format.book.pages output
6985 fin.entry
6986 }
6987
6988 FUNCTION {proceedings}
6989 { output.bibitem
6990 editor empty$
6991 { organization output }
6992 { format.editors output.nonnull }
6993 if$
6994 format.booktitle "title" output.check
6995 format.bookvolume.series.number output
6996 address empty$
6997 { editor empty$
6998 'skip$
6999 { organization output }
7000 if$
7001 publisher output
7002 format.date "year" output.check
7003 }
7004 { address output.nonnull
7005 editor empty$
7006 'skip$
7007 { organization output }
7008 if$
7009 publisher output
7010 format.date "year" output.check
7011 }
7012 if$
7013 note output
7014 fin.entry
7015 }
7016
7017 FUNCTION {techreport}
7018 { output.bibitem
7019 format.authors "author" output.check
7020 format.title "title" output.check
7021 format.tr.number output.nonnull
7022 institution "institution" output.check
7023 address output
7024 format.date "year" output.check
7025 note output
7026 fin.entry
7027 }
7028
7029
7030 FUNCTION {misc}
7031 { output.bibitem
7032 format.authors output
7033 format.title output
7034 howpublished output
7035 format.date output
7036 note output
7037 format.book.pages output
7038 fin.entry
7039 empty.misc.check
7040 }
7041
7042 FUNCTION {unpublished}
7043 { output.bibitem
7044 format.authors "author" output.check
7045 format.title "title" output.check
7046 note "note" output.check
7047 format.date output
7048 fin.entry
7049 }
7050 FUNCTION {default.type} { misc }
7051 READ
7052
7053 FUNCTION {sortify}
7054 { purify$
7055 "l" change.case$
7056 }
7057
7058 INTEGERS { len }
7059
7060 FUNCTION {chop.word}
7061 { 's :=
7062 'len :=
7063 s #1 len substring$ =
7064 { s len #1 + global.max$ substring$ }
7065 's
7066 if$
7067 }
7068
7069 INTEGERS { et.al.char.used }
7070
7071 FUNCTION {initialize.et.al.char.used}
7072 { #0 'et.al.char.used :=
7073 }
7074
7075 EXECUTE {initialize.et.al.char.used}
7076
7077 FUNCTION {format.lab.names}
7078 { 's :=
7079 s num.names$ 'numnames :=
7080 numnames #1 >
7081 { numnames #4 >
7082 { #3 'namesleft := }
7083 { numnames 'namesleft := }
7084 if$
7085 #1 'nameptr :=
7086 ""
7087 { namesleft #0 > }
7088 { nameptr numnames =
7089 { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
7090 { "{\etalchar{+}}" *
7091 #1 'et.al.char.used :=
7092 }
7093 { s nameptr "{v{}}{l{}}" format.name$ * }
7094 if$
7095 }
7096 { s nameptr "{v{}}{l{}}" format.name$ * }
7097 if$
7098 nameptr #1 + 'nameptr :=
7099 namesleft #1 - 'namesleft :=
7100 }
7101 while$
7102 numnames #4 >
7103 { "{\etalchar{+}}" *
7104 #1 'et.al.char.used :=
7105 }
7106 'skip$
7107 if$
7108 }
7109 { s #1 "{v{}}{l{}}" format.name$
7110 duplicate$ text.length$ #2 <
7111 { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
7112 'skip$
7113 if$
7114 }
7115 if$
7116 }
7117
7118 FUNCTION {author.key.label}
7119 { author empty$
7120 { key empty$
7121 { cite$ #1 #3 substring$ }
7122 { key #3 text.prefix$ }
7123 if$
7124 }
7125 { author format.lab.names }
7126 if$
7127 }
7128
7129 FUNCTION {author.editor.key.label}
7130 { author empty$
7131 { editor empty$
7132 { key empty$
7133 { cite$ #1 #3 substring$ }
7134 { key #3 text.prefix$ }
7135 if$
7136 }
7137 { editor format.lab.names }
7138 if$
7139 }
7140 { author format.lab.names }
7141 if$
7142 }
7143
7144 FUNCTION {author.key.organization.label}
7145 { author empty$
7146 { key empty$
7147 { organization empty$
7148 { cite$ #1 #3 substring$ }
7149 { "The " #4 organization chop.word #3 text.prefix$ }
7150 if$
7151 }
7152 { key #3 text.prefix$ }
7153 if$
7154 }
7155 { author format.lab.names }
7156 if$
7157 }
7158
7159 FUNCTION {editor.key.organization.label}
7160 { editor empty$
7161 { key empty$
7162 { organization empty$
7163 { cite$ #1 #3 substring$ }
7164 { "The " #4 organization chop.word #3 text.prefix$ }
7165 if$
7166 }
7167 { key #3 text.prefix$ }
7168 if$
7169 }
7170 { editor format.lab.names }
7171 if$
7172 }
7173
7174 FUNCTION {calc.label}
7175 { type$ "book" =
7176 type$ "inbook" =
7177 or
7178 'author.editor.key.label
7179 { type$ "proceedings" =
7180 'editor.key.organization.label
7181 { type$ "manual" =
7182 'author.key.organization.label
7183 'author.key.label
7184 if$
7185 }
7186 if$
7187 }
7188 if$
7189 duplicate$
7190 year field.or.null purify$ #-1 #2 substring$
7191 *
7192 'label :=
7193 year field.or.null purify$ #-1 #4 substring$
7194 *
7195 sortify 'sort.label :=
7196 }
7197 FUNCTION {sort.format.names}
7198 { 's :=
7199 #1 'nameptr :=
7200 ""
7201 s num.names$ 'numnames :=
7202 numnames 'namesleft :=
7203 { namesleft #0 > }
7204 { nameptr #1 >
7205 { " " * }
7206 'skip$
7207 if$
7208 %% s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
7209 s nameptr "{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
7210 nameptr numnames = t "others" = and
7211 { "et~al" * }
7212 { t sortify * }
7213 if$
7214 nameptr #1 + 'nameptr :=
7215 namesleft #1 - 'namesleft :=
7216 }
7217 while$
7218 }
7219
7220 FUNCTION {sort.format.title}
7221 { 't :=
7222 "A " #2
7223 "An " #3
7224 "The " #4 t chop.word
7225 chop.word
7226 chop.word
7227 sortify
7228 #1 global.max$ substring$
7229 }
7230
7231 FUNCTION {author.sort}
7232 { author empty$
7233 { key empty$
7234 { "to sort, need author or key in " cite$ * warning$
7235 ""
7236 }
7237 { key sortify }
7238 if$
7239 }
7240 { author sort.format.names }
7241 if$
7242 }
7243
7244 FUNCTION {author.editor.sort}
7245 { author empty$
7246 { editor empty$
7247 { key empty$
7248 { "to sort, need author, editor, or key in " cite$ * warning$
7249 ""
7250 }
7251 { key sortify }
7252 if$
7253 }
7254 { editor sort.format.names }
7255 if$
7256 }
7257 { author sort.format.names }
7258 if$
7259 }
7260
7261 FUNCTION {author.organization.sort}
7262 { author empty$
7263 { organization empty$
7264 { key empty$
7265 { "to sort, need author, organization, or key in " cite$ * warning$
7266 ""
7267 }
7268 { key sortify }
7269 if$
7270 }
7271 { "The " #4 organization chop.word sortify }
7272 if$
7273 }
7274 { author sort.format.names }
7275 if$
7276 }
7277
7278 FUNCTION {editor.organization.sort}
7279 { editor empty$
7280 { organization empty$
7281 { key empty$
7282 { "to sort, need editor, organization, or key in " cite$ * warning$
7283 ""
7284 }
7285 { key sortify }
7286 if$
7287 }
7288 { "The " #4 organization chop.word sortify }
7289 if$
7290 }
7291 { editor sort.format.names }
7292 if$
7293 }
7294
7295 FUNCTION {presort}
7296 {
7297 calc.label
7298 sort.label
7299 " "
7300 *
7301 type$ "book" =
7302 type$ "inbook" =
7303 or
7304 'author.editor.sort
7305 { type$ "proceedings" =
7306 'editor.organization.sort
7307 { type$ "manual" =
7308 'author.organization.sort
7309 'author.sort
7310 if$
7311 }
7312 if$
7313 }
7314 if$
7315 *
7316 " "
7317 *
7318 year field.or.null sortify
7319 *
7320 " "
7321 *
7322 title field.or.null
7323 sort.format.title
7324 *
7325 #1 entry.max$ substring$
7326 'sort.key$ :=
7327 }
7328
7329 ITERATE {presort}
7330
7331 SORT
7332 STRINGS { longest.label last.sort.label next.extra this.author prev.author }
7333
7334 INTEGERS { longest.label.width last.extra.num }
7335
7336 FUNCTION {initialize.longest.label}
7337 { "" 'longest.label :=
7338 #0 int.to.chr$ 'last.sort.label :=
7339 "" 'next.extra :=
7340 #0 'longest.label.width :=
7341 #0 'last.extra.num :=
7342 "abcxyz" 'prev.author :=
7343 "" 'this.author :=
7344 }
7345 FUNCTION {forward.pass}
7346 { last.sort.label sort.label =
7347 { last.extra.num #1 + 'last.extra.num :=
7348 last.extra.num int.to.chr$ 'extra.label :=
7349 }
7350 { "a" chr.to.int$ 'last.extra.num :=
7351 "" 'extra.label :=
7352 sort.label 'last.sort.label :=
7353 }
7354 if$
7355
7356 author empty$
7357 { editor empty$
7358 { "" }
7359 'editor
7360 if$
7361 }
7362 'author
7363 if$
7364 'this.author :=
7365 this.author prev.author =
7366 { "\bysame" 'extra.same.label := }
7367 { "" 'extra.same.label :=
7368 this.author "" =
7369 { "abcxyz" }
7370 'this.author
7371 if$
7372 'prev.author :=
7373 }
7374 if$
7375 }
7376
7377 FUNCTION {reverse.pass}
7378 { next.extra "b" =
7379 { "a" 'extra.label := }
7380 'skip$
7381 if$
7382 label extra.label * 'label :=
7383 label width$ longest.label.width >
7384 { label 'longest.label :=
7385 label width$ 'longest.label.width :=
7386 }
7387 'skip$
7388 if$
7389 extra.label 'next.extra :=
7390 }
7391
7392
7393
7394 EXECUTE {initialize.longest.label}
7395
7396 ITERATE {forward.pass}
7397
7398 REVERSE {reverse.pass}
7399 FUNCTION {begin.bib}
7400 {
7401 et.al.char.used
7402 { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
7403 'skip$
7404 if$
7405 preamble$ empty$
7406 'skip$
7407 { preamble$ write$ newline$ }
7408 if$
7409 "\providecommand{\bysame}{\leavevmode ---\ }" write$ newline$
7410 "\providecommand{\og}{``}" write$ newline$
7411 "\providecommand{\fg}{''}" write$ newline$
7412 "\providecommand{\smfandname}{\&}" write$ newline$
7413 "\providecommand{\smfedsname}{\'eds.}" write$ newline$
7414 "\providecommand{\smfedname}{\'ed.}" write$ newline$
7415 "\providecommand{\smfmastersthesisname}{M\'emoire}" write$ newline$
7416 "\providecommand{\smfphdthesisname}{Th\`ese}" write$ newline$
7417 "\begin{thebibliography}{" longest.label * "}" * write$ newline$
7418 }
7419
7420 EXECUTE {begin.bib}
7421
7422 EXECUTE {init.state.consts}
7423
7424 ITERATE {call.type$}
7425
7426 FUNCTION {end.bib}
7427 { newline$
7428 "\end{thebibliography}" write$ newline$
7429 }
7430
7431 EXECUTE {end.bib}
7432 % \end{macrocode}
7433 %</smfalpha>
7434 % \section{Style \BibTeX\ numérique}
7435 %<*smfplain>
7436 % \begin{macrocode}
7437 %% @BibTeX-style-file{"smfplain.bst"
7438 %% date="1998/06/15",
7439 %% version="v0.1"}
7440 %% Types of entries currently allowed in a BibTeX file:
7441 %% ARTICLE -- An article from a journal or magazine.
7442 %% BOOK -- A book with an explicit publisher.
7443 %% BOOKLET -- A work that is printed and bound,
7444 %% but without a named publisher or sponsoring institution.
7445 %% CONFERENCE -- The same as INPROCEEDINGS,
7446 %% included for Scribe compatibility.
7447 %% INBOOK -- A part of a book,
7448 %% which may be a chapter (or section or whatever) and/or a range of pages.
7449 %% INCOLLECTION -- A part of a book having its own title.
7450 %% INPROCEEDINGS -- An article in a conference proceedings.
7451 %% MANUAL -- Technical documentation.
7452 %% MASTERSTHESIS -- A Master's thesis.
7453 %% MISC -- Use this type when nothing else fits.
7454 %% PHDTHESIS -- A PhD thesis.
7455 %% PROCEEDINGS -- The proceedings of a conference.
7456 %% TECHREPORT -- A report published by a school or other institution,
7457 %% usually numbered within a series.
7458 %% UNPUBLISHED -- A document having an author and title, but not formally
7459 %% published.
7460 ENTRY
7461 { address
7462 author
7463 booktitle
7464 chapter
7465 edition
7466 editor
7467 howpublished
7468 institution
7469 journal
7470 key
7471 language
7472 month
7473 note
7474 number
7475 organization
7476 pages
7477 publisher
7478 school
7479 series
7480 title
7481 type
7482 volume
7483 year
7484 }
7485 {}
7486 { label extra.label }
7487
7488 INTEGERS { output.state before.all mid.sentence after.name }
7489
7490 FUNCTION {init.state.consts}
7491 { #0 'before.all :=
7492 #1 'after.name :=
7493 #2 'mid.sentence :=
7494 }
7495
7496
7497 STRINGS { s t }
7498 FUNCTION {not}
7499 { { #0 }
7500 { #1 }
7501 if$
7502 }
7503
7504 FUNCTION {and}
7505 { 'skip$
7506 { pop$ #0 }
7507 if$
7508 }
7509
7510 FUNCTION {or}
7511 { { pop$ #1 }
7512 'skip$
7513 if$
7514 }
7515
7516 FUNCTION {field.or.null}
7517 { duplicate$ empty$
7518 { pop$ "" }
7519 'skip$
7520 if$
7521 }
7522
7523 FUNCTION {emphasize}
7524 { duplicate$ empty$
7525 { pop$ "" }
7526 { "\emph{" swap$ * "}" * }
7527 if$
7528 }
7529
7530 FUNCTION {guillemetize}
7531 { duplicate$ empty$
7532 { pop$ "" }
7533 { "{\og " swap$ * "\fg}" * }
7534 if$
7535 }
7536
7537 FUNCTION {scapify}
7538 { duplicate$ empty$
7539 { pop$ "" }
7540 { "{\scshape " swap$ * "}" * }
7541 if$
7542 }
7543
7544
7545 FUNCTION {n.dashify}
7546 { 't :=
7547 ""
7548 { t empty$ not }
7549 { t #1 #1 substring$ "-" =
7550 { t #1 #2 substring$ "--" = not
7551 { "--" *
7552 t #2 global.max$ substring$ 't :=
7553 }
7554 { { t #1 #1 substring$ "-" = }
7555 { "-" *
7556 t #2 global.max$ substring$ 't :=
7557 }
7558 while$
7559 }
7560 if$
7561 }
7562 { t #1 #1 substring$ *
7563 t #2 global.max$ substring$ 't :=
7564 }
7565 if$
7566 }
7567 while$
7568 }
7569
7570
7571 FUNCTION {tie.or.space.connect}
7572 { duplicate$ text.length$ #3 <
7573 { "~" }
7574 { " " }
7575 if$
7576 swap$ * *
7577 }
7578
7579 FUNCTION {add.space.if.necessary}
7580 { duplicate$ "" =
7581 'skip$
7582 { " " * }
7583 if$
7584 }
7585
7586
7587 FUNCTION {either.or.check}
7588 { empty$
7589 'pop$
7590 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
7591 if$
7592 }
7593
7594
7595 FUNCTION {output.nonnull}
7596 { 's :=
7597 output.state after.name =
7598 { extra.label "\bysame" =
7599 { ", " * write$ }
7600 { " -- " * write$ }
7601 if$
7602 mid.sentence 'output.state := }
7603 { output.state mid.sentence =
7604 { ", " * write$ }
7605 { output.state before.all =
7606 'write$
7607 { add.period$ " " * write$ }
7608 if$
7609 after.name 'output.state := }
7610 if$ }
7611 if$
7612 s
7613 }
7614
7615
7616 FUNCTION {output}
7617 { duplicate$ empty$
7618 'pop$
7619 'output.nonnull
7620 if$
7621 }
7622
7623
7624 FUNCTION {missing.warning}
7625 { "missing " swap$ * " in " * cite$ * warning$ }
7626
7627
7628 FUNCTION {output.check}
7629 { 't :=
7630 duplicate$ empty$
7631 { pop$ t missing.warning }
7632 'output.nonnull
7633 if$
7634 }
7635
7636 FUNCTION {output.bibitem}
7637 { newline$
7638 "\bibitem{" write$
7639 cite$ write$
7640 "}" write$
7641 newline$
7642 ""
7643 before.all 'output.state :=
7644 }
7645
7646 FUNCTION {fin.entry}
7647 { add.period$
7648 write$
7649 newline$
7650 }
7651
7652
7653 FUNCTION {format.language}
7654 { language empty$
7655 { "" }
7656 { " (" language * ")" * }
7657 if$
7658 }
7659 INTEGERS { nameptr namesleft numnames }
7660
7661
7662 FUNCTION {format.names}
7663 { 's :=
7664 #1 'nameptr :=
7665 s num.names$ 'numnames :=
7666 numnames 'namesleft :=
7667 { namesleft #0 > }
7668 { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
7669 nameptr #1 >
7670 { namesleft #1 >
7671 { ", " * t * }
7672 { numnames #2 >
7673 { "" * }
7674 'skip$
7675 if$
7676 t "others" =
7677 { " {\normalfont et~al.}" * }
7678 { " {\normalfont \smfandname} " * t * }
7679 if$
7680 }
7681 if$
7682 }
7683 't
7684 if$
7685 nameptr #1 + 'nameptr :=
7686 namesleft #1 - 'namesleft :=
7687 }
7688 while$
7689 }
7690
7691 FUNCTION {format.authors}
7692 { author empty$
7693 { "" }
7694 { extra.label "\bysame" =
7695 { "\bysame " }
7696 { author format.names scapify }
7697 if$
7698 }
7699 if$
7700 }
7701
7702 FUNCTION {format.editors}
7703 { editor empty$
7704 { "" }
7705 { extra.label "\bysame" =
7706 { "\bysame " }
7707 { editor format.names scapify }
7708 if$
7709 editor num.names$ #1 >
7710 { " (\smfedsname)" * }
7711 { " (\smfedname)" * }
7712 if$
7713 "\nomorebysame" 'extra.label :=
7714 }
7715 if$
7716 }
7717
7718 FUNCTION {format.nonauthor.editors}
7719 { editor empty$
7720 { "" }
7721 { editor format.names
7722 editor num.names$ #1 >
7723 { ", \smfedsname" * }
7724 { ", \smfedname" * }
7725 if$
7726 }
7727 if$
7728 }
7729
7730 FUNCTION {format.booktitle}
7731 { title empty$
7732 { "" }
7733 { title "t" change.case$ emphasize }
7734 if$
7735 }
7736
7737 FUNCTION {format.title}
7738 { title empty$
7739 { "" }
7740 { title "t" change.case$ guillemetize }
7741 if$
7742 }
7743
7744 FUNCTION {format.journal.vol.year}
7745 { journal empty$
7746 { "journal name" missing.warning ""}
7747 { journal emphasize }
7748 if$
7749 volume empty$
7750 'skip$
7751 { " \textbf{" * volume * "}" * }
7752 if$
7753 year empty$
7754 { "year" missing.warning }
7755 { " (" * year * ")" * }
7756 if$
7757 }
7758
7759
7760 FUNCTION {format.number}
7761 { number empty$
7762 { "" }
7763 { "no.~" number * }
7764 if$
7765 }
7766
7767
7768 FUNCTION {format.date}
7769 { year empty$
7770 { month empty$
7771 { "" }
7772 { "there's a month but no year in " cite$ * warning$
7773 month
7774 }
7775 if$
7776 }
7777 { month empty$
7778 'year
7779 { month " " * year * }
7780 if$
7781 }
7782 if$
7783 }
7784
7785
7786 FUNCTION {format.bookvolume.series.number}
7787 { volume empty$
7788 { "" % Push the empty string as a placeholder in case everything else
7789 % is empty too.
7790 series empty$
7791 'skip$
7792 { pop$ series } % if series is not empty put in stack
7793 if$
7794 number empty$
7795 'skip$
7796 { duplicate$ empty$ % if no preceding material,
7797 'skip$ % do nothing, otherwise
7798 { ", " * } % add a comma and space to separate.
7799 if$
7800 "no." number tie.or.space.connect * % add the number information
7801 }
7802 if$
7803 }
7804 %% If the volume is NOT EMPTY:
7805 { "vol." volume tie.or.space.connect % vol. XX
7806 number empty$
7807 { series empty$
7808 'skip$
7809 { series ", " * swap$ *} % Series Name, vol. XX
7810 if$
7811 }
7812 { series empty$
7813 { "can't use both volume and number if series info is missing"
7814 warning$
7815 "in BibTeX entry type `" type$ * "'" * top$
7816 }
7817 { ", " * series * ", no." * number tie.or.space.connect }
7818 if$
7819 }
7820 if$
7821 }
7822 if$
7823
7824 } % end of format.bookvolume.series.number
7825
7826 %% format.inproc.title.where.editors is used by inproceedings entry types
7827
7828 FUNCTION {format.inproc.title.address.editors}
7829 { booktitle empty$
7830 { "" }
7831 %% Emphasizing the title. We want initial caps, roman.
7832 { "in " booktitle emphasize * }
7833 if$
7834 %% We add parentheses around the address (place where conference
7835 %% was held).
7836 address empty$
7837 'skip$
7838 { add.space.if.necessary "(" * address * ")" * }
7839 if$
7840 %% Likewise we add parentheses around the editors' names.
7841 editor empty$
7842 'skip$
7843 { add.space.if.necessary "(" * format.nonauthor.editors * ")" * }
7844 if$
7845 }
7846
7847 %% format.incoll.title.editors is similar to format.inproc... but
7848 %% omits the address. For collections that are not proceedings volumes.
7849
7850 FUNCTION {format.incoll.title.editors}
7851 { booktitle empty$
7852 { "" }
7853 %% Emphasizing the title. We want initial caps
7854 { "in " booktitle emphasize * }
7855 if$
7856 %% We add parentheses around the editors' names.
7857 editor empty$
7858 'skip$
7859 { add.space.if.necessary "(" * format.nonauthor.editors * ")" * }
7860 if$
7861 }
7862
7863
7864 FUNCTION {format.number.series}
7865 { series empty$
7866 { number empty$
7867 { "" }
7868 { "there's a number but no series in " cite$ * warning$ }
7869 if$
7870 }
7871 { series
7872 number empty$
7873 'skip$
7874 { "\ \textbf{" * number * "}" * }
7875 if$
7876 }
7877 if$
7878 }
7879
7880 FUNCTION {format.edition}
7881 { edition empty$
7882 { "" }
7883 { output.state mid.sentence =
7884 { edition "l" change.case$ " \smfedname" * }
7885 { edition "t" change.case$ " \smfedname" * }
7886 if$
7887 }
7888 if$
7889 }
7890
7891 INTEGERS { multiresult }
7892
7893 FUNCTION {multi.page.check}
7894 { 't :=
7895 #0 'multiresult :=
7896 { multiresult not
7897 t empty$ not
7898 and
7899 }
7900 { t #1 #1 substring$
7901 duplicate$ "-" =
7902 swap$ duplicate$ "," =
7903 swap$ "+" =
7904 or or
7905 { #1 'multiresult := }
7906 { t #2 global.max$ substring$ 't := }
7907 if$
7908 }
7909 while$
7910 multiresult
7911 }
7912
7913 FUNCTION {format.pages}
7914 { pages empty$
7915 { "" }
7916 { "p.~" pages n.dashify * }
7917 if$
7918 }
7919
7920 FUNCTION {format.book.pages}
7921 { pages empty$
7922 { "" }
7923 { pages multi.page.check
7924 { "p.~" pages n.dashify * }
7925 { "p.~" pages * }
7926 if$
7927 }
7928 if$
7929 }
7930
7931 FUNCTION {format.chapter.pages}
7932 { chapter empty$
7933 'format.pages
7934 { type empty$
7935 { "ch.~" }
7936 { type "l" change.case$ " " * }
7937 if$
7938 chapter *
7939 pages empty$
7940 'skip$
7941 { ", " * format.book.pages * }
7942 if$
7943 }
7944 if$
7945 }
7946
7947 FUNCTION {empty.misc.check}
7948 { author empty$ title empty$ howpublished empty$
7949 month empty$ year empty$ note empty$
7950 and and and and and
7951 key empty$ not and
7952 { "all relevant fields are empty in " cite$ * warning$ }
7953 'skip$
7954 if$
7955 }
7956
7957 FUNCTION {format.thesis.type}
7958 { type empty$
7959 'skip$
7960 { pop$
7961 type "t" change.case$
7962 }
7963 if$
7964 }
7965
7966 FUNCTION {format.tr.number}
7967 { type empty$
7968 { "Tech. Report" }
7969 'type
7970 if$
7971 number empty$
7972 { "t" change.case$ }
7973 { number tie.or.space.connect }
7974 if$
7975 }
7976
7977 FUNCTION {format.article.crossref}
7978 { key empty$
7979 { journal empty$
7980 { "need key or journal for " cite$ * " to crossref " * crossref *
7981 warning$
7982 ""
7983 }
7984 { "in " journal * }
7985 if$
7986 }
7987 { "in " key * }
7988 if$
7989 " \cite{" * crossref * "}" *
7990 }
7991
7992 FUNCTION {format.crossref.editor}
7993 { editor #1 "{vv~}{ll}" format.name$
7994 editor num.names$ duplicate$
7995 #2 >
7996 { pop$ " et~al." * }
7997 { #2 <
7998 'skip$
7999 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
8000 { " et~al." * }
8001 { " \smfandname\ " * editor #2 "{vv~}{ll}" format.name$ * }
8002 if$
8003 }
8004 if$
8005 }
8006 if$
8007 }
8008
8009 FUNCTION {format.book.crossref}
8010 { volume empty$
8011 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
8012 "in "
8013 }
8014 { "vol." volume tie.or.space.connect
8015 " de " *
8016 }
8017 if$
8018 editor empty$
8019 editor field.or.null author field.or.null =
8020 or
8021 { key empty$
8022 { series empty$
8023 { "need editor, key, or series for " cite$ * " to crossref " *
8024 crossref * warning$
8025 "" *
8026 }
8027 { series * }
8028 if$
8029 }
8030 { key * }
8031 if$
8032 }
8033 { format.crossref.editor * }
8034 if$
8035 " \cite{" * crossref * "}" *
8036 }
8037
8038 FUNCTION {format.incoll.inproc.crossref}
8039 { key empty$
8040 { booktitle empty$
8041 { editor empty$
8042 editor field.or.null author field.or.null =
8043 or
8044 { "need editor, key, or booktitle for " cite$ * "to crossref " *
8045 crossref * warning$ "" }
8046 { "in " format.crossref.editor * }
8047 if$ }
8048 { "in " booktitle emphasize * }
8049 if$ }
8050 { "in " key * }
8051 if$
8052 " \cite{" * crossref * "}" *
8053 }
8054
8055
8056 FUNCTION {article}
8057 { output.bibitem
8058 format.authors "author" output.check
8059 format.title "title" output.check
8060 crossref missing$
8061 { format.journal.vol.year output
8062 format.number output
8063 format.pages "pages" output.check
8064 }
8065 { format.article.crossref output.nonnull
8066 format.pages output
8067 }
8068 if$
8069 format.language *
8070 note output
8071 fin.entry
8072 }
8073
8074 FUNCTION {book}
8075 { output.bibitem
8076 author empty$
8077 { format.editors "author and editor" output.check }
8078 { format.authors output.nonnull
8079 crossref missing$
8080 { "author and editor" editor either.or.check }
8081 'skip$
8082 if$
8083 }
8084 if$
8085 format.booktitle "title" output.check
8086 format.edition output
8087 crossref missing$
8088 { format.bookvolume.series.number output
8089 publisher "publisher" output.check
8090 address output
8091 }
8092 { format.book.crossref output.nonnull
8093 }
8094 if$
8095 format.date "year" output.check
8096 format.language *
8097 note output
8098 fin.entry
8099 }
8100 FUNCTION {booklet}
8101 { output.bibitem
8102 format.authors output
8103 format.booktitle "title" output.check
8104 howpublished output
8105 address output
8106 format.date output
8107 note output
8108 fin.entry
8109 }
8110
8111 FUNCTION {inbook}
8112 { output.bibitem
8113 author empty$
8114 { format.editors "author and editor" output.check }
8115 { format.authors output.nonnull
8116 crossref missing$
8117 { "author and editor" editor either.or.check }
8118 'skip$
8119 if$
8120 }
8121 if$
8122 format.title "title" output.check
8123 crossref missing$
8124 { format.bookvolume.series.number output
8125 format.chapter.pages "chapter and pages" output.check
8126 format.number.series output
8127 publisher "publisher" output.check
8128 address output
8129 }
8130 { format.chapter.pages "chapter and pages" output.check
8131 format.book.crossref output.nonnull
8132 }
8133 if$
8134 format.edition output
8135 format.date "year" output.check
8136 format.language *
8137 note output
8138 fin.entry
8139 }
8140
8141 FUNCTION {incollection}
8142 { output.bibitem
8143 format.authors "author" output.check
8144 format.title "title" output.check
8145 crossref missing$
8146 { format.incoll.title.editors "booktitle" output.check
8147 format.bookvolume.series.number output
8148 publisher "publisher" output.check
8149 address output
8150 format.edition output
8151 format.date "year" output.check
8152 }
8153 { format.incoll.inproc.crossref output.nonnull
8154 }
8155 if$
8156 note output
8157 format.book.pages output
8158 format.language *
8159 fin.entry
8160 }
8161
8162 FUNCTION {inproceedings}
8163 { output.bibitem
8164 format.authors "author" output.check
8165 format.title "title" output.check
8166 crossref missing$
8167 { format.inproc.title.address.editors "booktitle" output.check
8168 format.bookvolume.series.number output
8169 organization output
8170 publisher output
8171 format.date "year" output.check
8172 }
8173 { format.incoll.inproc.crossref output.nonnull
8174 }
8175 if$
8176 note output
8177 format.book.pages output
8178 format.language *
8179 fin.entry
8180 }
8181
8182 FUNCTION {conference} { inproceedings }
8183
8184 FUNCTION {manual}
8185 { output.bibitem
8186 author empty$
8187 { organization empty$
8188 'skip$
8189 { organization output.nonnull
8190 address output
8191 }
8192 if$
8193 }
8194 { format.authors output.nonnull }
8195 if$
8196 format.booktitle "title" output.check
8197 author empty$
8198 { organization empty$
8199 { address output }
8200 'skip$
8201 if$
8202 }
8203 { organization output
8204 address output
8205 }
8206 if$
8207 format.edition output
8208 format.date output
8209 note output
8210 fin.entry
8211 }
8212
8213 FUNCTION {mastersthesis}
8214 { output.bibitem
8215 format.authors "author" output.check
8216 format.booktitle "title" output.check
8217 "\smfmastersthesisname" format.thesis.type output.nonnull
8218 school "school" output.check
8219 address output
8220 format.date "year" output.check
8221 note output
8222 fin.entry
8223 }
8224
8225 FUNCTION {phdthesis}
8226 { output.bibitem
8227 format.authors "author" output.check
8228 format.title "title" output.check
8229 "\smfphdthesisname" format.thesis.type output.nonnull
8230 school "school" output.check
8231 address output
8232 format.date "year" output.check
8233 note output
8234 format.book.pages output
8235 fin.entry
8236 }
8237
8238 FUNCTION {proceedings}
8239 { output.bibitem
8240 editor empty$
8241 { organization output }
8242 { format.editors output.nonnull }
8243 if$
8244 format.booktitle "title" output.check
8245 format.bookvolume.series.number output
8246 address empty$
8247 { editor empty$
8248 'skip$
8249 { organization output }
8250 if$
8251 publisher output
8252 format.date "year" output.check
8253 }
8254 { address output.nonnull
8255 editor empty$
8256 'skip$
8257 { organization output }
8258 if$
8259 publisher output
8260 format.date "year" output.check
8261 }
8262 if$
8263 note output
8264 fin.entry
8265 }
8266
8267 FUNCTION {techreport}
8268 { output.bibitem
8269 format.authors "author" output.check
8270 format.title "title" output.check
8271 format.tr.number output.nonnull
8272 institution "institution" output.check
8273 address output
8274 format.date "year" output.check
8275 note output
8276 fin.entry
8277 }
8278
8279
8280 FUNCTION {misc}
8281 { output.bibitem
8282 format.authors output
8283 format.title output
8284 howpublished output
8285 format.date output
8286 note output
8287 format.book.pages output
8288 fin.entry
8289 empty.misc.check
8290 }
8291
8292 FUNCTION {unpublished}
8293 { output.bibitem
8294 format.authors "author" output.check
8295 format.title "title" output.check
8296 note "note" output.check
8297 format.date output
8298 fin.entry
8299 }
8300 FUNCTION {default.type} { misc }
8301 READ
8302
8303 FUNCTION {sortify}
8304 { purify$
8305 "l" change.case$
8306 }
8307
8308 INTEGERS { len }
8309
8310 FUNCTION {chop.word}
8311 { 's :=
8312 'len :=
8313 s #1 len substring$ =
8314 { s len #1 + global.max$ substring$ }
8315 's
8316 if$
8317 }
8318
8319 FUNCTION {sort.format.names}
8320 { 's :=
8321 #1 'nameptr :=
8322 ""
8323 s num.names$ 'numnames :=
8324 numnames 'namesleft :=
8325 { namesleft #0 > }
8326 { nameptr #1 >
8327 { " " * }
8328 'skip$
8329 if$
8330 %% s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
8331 s nameptr "{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
8332 nameptr numnames = t "others" = and
8333 { "et~al" * }
8334 { t sortify * }
8335 if$
8336 nameptr #1 + 'nameptr :=
8337 namesleft #1 - 'namesleft :=
8338 }
8339 while$
8340 }
8341
8342 FUNCTION {sort.format.title}
8343 { 't :=
8344 "A " #2
8345 "An " #3
8346 "The " #4 t chop.word
8347 chop.word
8348 chop.word
8349 sortify
8350 #1 global.max$ substring$
8351 }
8352
8353 FUNCTION {author.sort}
8354 { author empty$
8355 { key empty$
8356 { "to sort, need author or key in " cite$ * warning$
8357 ""
8358 }
8359 { key sortify }
8360 if$
8361 }
8362 { author sort.format.names }
8363 if$
8364 }
8365
8366 FUNCTION {author.editor.sort}
8367 { author empty$
8368 { editor empty$
8369 { key empty$
8370 { "to sort, need author, editor, or key in " cite$ * warning$
8371 ""
8372 }
8373 { key sortify }
8374 if$
8375 }
8376 { editor sort.format.names }
8377 if$
8378 }
8379 { author sort.format.names }
8380 if$
8381 }
8382
8383 FUNCTION {author.organization.sort}
8384 { author empty$
8385 { organization empty$
8386 { key empty$
8387 { "to sort, need author, organization, or key in " cite$ * warning$
8388 ""
8389 }
8390 { key sortify }
8391 if$
8392 }
8393 { "The " #4 organization chop.word sortify }
8394 if$
8395 }
8396 { author sort.format.names }
8397 if$
8398 }
8399
8400 FUNCTION {editor.organization.sort}
8401 { editor empty$
8402 { organization empty$
8403 { key empty$
8404 { "to sort, need editor, organization, or key in " cite$ * warning$
8405 ""
8406 }
8407 { key sortify }
8408 if$
8409 }
8410 { "The " #4 organization chop.word sortify }
8411 if$
8412 }
8413 { editor sort.format.names }
8414 if$
8415 }
8416
8417 FUNCTION {presort}
8418 {
8419 type$ "book" =
8420 type$ "inbook" =
8421 or
8422 'author.editor.sort
8423 { type$ "proceedings" =
8424 'editor.organization.sort
8425 { type$ "manual" =
8426 'author.organization.sort
8427 'author.sort
8428 if$
8429 }
8430 if$
8431 }
8432 if$
8433 " "
8434 *
8435 year field.or.null sortify
8436 *
8437 " "
8438 *
8439 title field.or.null
8440 sort.format.title
8441 *
8442 #1 entry.max$ substring$
8443 'sort.key$ :=
8444 }
8445
8446 ITERATE {presort}
8447
8448 SORT
8449 STRINGS { longest.label prev.author this.author }
8450
8451 INTEGERS { number.label longest.label.width }
8452
8453 FUNCTION {initialize.longest.label}
8454 { "" 'longest.label :=
8455 #1 'number.label :=
8456 #0 'longest.label.width :=
8457 "abcxyz" 'prev.author :=
8458 "" 'this.author :=
8459 }
8460
8461 FUNCTION {longest.label.pass}
8462 { number.label int.to.str$ 'label :=
8463 number.label #1 + 'number.label :=
8464 label width$ longest.label.width >
8465 { label 'longest.label :=
8466 label width$ 'longest.label.width :=
8467 }
8468 'skip$
8469 if$
8470 author empty$
8471 { editor empty$
8472 { "" }
8473 'editor
8474 if$
8475 }
8476 'author
8477 if$
8478 'this.author :=
8479 this.author prev.author =
8480 { "\bysame" 'extra.label := }
8481 { "" 'extra.label :=
8482 this.author "" =
8483 { "abcxyz" }
8484 'this.author
8485 if$
8486 'prev.author :=
8487 }
8488 if$
8489 }
8490
8491 EXECUTE {initialize.longest.label}
8492
8493 ITERATE {longest.label.pass}
8494 FUNCTION {begin.bib}
8495 {
8496 preamble$ empty$
8497 'skip$
8498 { preamble$ write$ newline$ }
8499 if$
8500 "\providecommand{\bysame}{\leavevmode ---\ }" write$ newline$
8501 "\providecommand{\og}{``}" write$ newline$
8502 "\providecommand{\fg}{''}" write$ newline$
8503 "\providecommand{\smfandname}{\&}" write$ newline$
8504 "\providecommand{\smfedsname}{\'eds.}" write$ newline$
8505 "\providecommand{\smfedname}{\'ed.}" write$ newline$
8506 "\providecommand{\smfmastersthesisname}{M\'emoire}" write$ newline$
8507 "\providecommand{\smfphdthesisname}{Th\`ese}" write$ newline$
8508 "\begin{thebibliography}{" longest.label * "}" * write$ newline$
8509 }
8510
8511 EXECUTE {begin.bib}
8512
8513 EXECUTE {init.state.consts}
8514
8515 ITERATE {call.type$}
8516
8517 FUNCTION {end.bib}
8518 { newline$
8519 "\end{thebibliography}" write$ newline$
8520 }
8521
8522 EXECUTE {end.bib}
8523 % \end{macrocode}
8524 %</smfplain>
8525 % \clearpage
8526 % \def\filename{index}
8527 % \PrintIndex
8528 % \clearpage
8529 % \PrintChanges
8530 % \Finale
8531 % \end{document}