blob: e4b14d03b97f00e963a7eefa9f87513b11faf1a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
|
%%
%% This is file `articoletteracdp.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% cdpbundl.dtx (with options: `artico')
%%
%% This is a generated file.
%% It is part of a work named "C.D.P. Bundle".
%%
%% Copyright (C) 1999-2005 by Gustavo MEZZETTI <mezzetti@math.unipd.it>.
%%
%% The C.D.P. Bundle may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2003/12/01 or later.
%%
%% The C.D.P. Bundle has the LPPL maintenance status
%% "author-maintained".
%%
%% The file `manifest.txt' that comes along with this file specifies
%% what the C.D.P. Bundle consists of; more precisely, it explains how
%% the locutions "Work" and "Compiled Work", used in the LaTeX Project
%% Public License, are to be interpreted in the case of this work.
%%
%% Note that the distribution of this file alone is "distribution of
%% only part of the Work" in the sense of the LaTeX Project Public
%% License, and is not allowed.
%%
%% \CharacterTable
%% {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
%% 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
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1996/06/01] % LaTeX2e is required!
\ProvidesClass{articoletteracdp}
[2005/01/01 v0.33 (development)]
%% \typeout{Copyright (C) 1999-2005 by Gustavo MEZZETTI,
%% all rights reserved.}
\@ifdefinable\@out@table@list{}
\@ifdefinable\@in@table@list{}
\@ifdefinable\@do@tf{}
\@ifdefinable\@sec@head@size{}
\def\do#1{\@ifdefinable#1{\newif#1}}
\do\if@toc@in@toc@
\do\if@loX@in@toc@
\newlength\abovecaptionskip
\newlength\belowcaptionskip
\DeclareOption{titlepage}{%
\@latexerr{No title page for letters}\@eha
}
\DeclareOption{notitlepage}{}
\DeclareOption{loXintoc}{%
\@toc@in@toc@false
\@loX@in@toc@true
}
\DeclareOption{tocintoc}{%
\@toc@in@toc@true
\@loX@in@toc@true
}
\DeclareOption{Hofstadter}{%
\ExecuteOptions{tocintoc}%
}
\DeclareOption{plaintoc}{%
\@toc@in@toc@false
\@loX@in@toc@false
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letteracdp}}
\ExecuteOptions{plaintoc}
\ProcessOptions\relax
\LoadClass{letteracdp}[2005/01/01]
\newcounter{section}[letter]
\newcounter{paragraph}[section]
\newcounter{figure}[letter]
\newcounter{table}[letter]
\newcounter{subsection}
\newcounter{subsubsection}
\@ifdefinable\hyper@last{\let\hyper@last\relax}
%% Command \title and \author redefined to make changes local.
\def\title#1{\def\@title{#1}}
\def\author#1{\def\@author{#1}}
%% Inner command \@starttoc redefined to make table of contents, etc.
%% local to letters (this is tricky!).
\def\@starttoc#1{%
\begingroup
\vskip\parskip
\parskip\z@skip
\makeatletter
\@input{\jobname.#1\number\c@letter}%
\if@filesw
\@ifundefined{tf@@#1}{%
\expandafter\newwrite\csname tf@@#1\endcsname
}\relax
\immediate\write\@out@table@list{\string\@do@tf{#1}}%
\fi
\@nobreakfalse
\endgroup
}
\g@addto@macro\@begin@letter@hook{%
\if@filesw
{\escapechar\m@ne
\immediate\write\@out@table@list{\string\}^^J\string\{}%
}%
\immediate\write\@auxout
{\string\@deferred@clopen{\number\c@letter}}%
\fi
}
\@ifdefinable\@deferred@open {\let\@deferred@open \@gobble}
\@ifdefinable\@deferred@close {\let\@deferred@close \@empty}
\@ifdefinable\@deferred@clopen{\let\@deferred@clopen\@gobble}
\newwrite\@out@table@list
\newread\@in@table@list
\AtBeginDocument{%
\if@filesw
\immediate\openout\@out@table@list = \jobname.summ\relax
{\escapechar\m@ne
\immediate\write\@out@table@list{\string\{}%
}%
\immediate\write\@auxout{\string\@deferred@open{0}}%
\def\@deferred@close{%
\def\@do@tf##1{%
\@restore@tf{##1}%
\immediate\closeout \csname tf@##1\endcsname
\global\expandafter\let\csname tf@##1\endcsname\@undefined
}%
\@temp@table@list
}%
\def\@deferred@open#1{%
\ifeof\@in@table@list\else
\read\@in@table@list to\@temp@table@list
\def\@do@tf##1{%
\@restore@tf{##1}%
\immediate\openout
\csname tf@##1\endcsname = \jobname.##1#1\relax
}%
\@temp@table@list
\fi
}%
\def\@deferred@clopen#1{%
\@deferred@close
\@deferred@open{#1}%
}%
\fi
}
\AtEndDocument{%
\if@filesw
{\escapechar\m@ne
\immediate\write\@out@table@list{\string\}}%
}%
\immediate\closeout\@out@table@list
\clearpage
\immediate\write\@auxout{\string\@deferred@close}%
\openin\@in@table@list = \jobname.summ\relax
\fi
}
\@ifdefinable\@restore@tf{\def\@restore@tf#1{%
\edef\@tempa{%
\let\csname tf@#1\endcsname\csname tf@@#1\endcsname
}%
\global\@tempa
}}
\@ifdefinable\@temp@table@list{\let\@temp@table@list\@empty}
\@ifdefinable\@addfullstop{\long\def\@addfullstop#1{%
{\nonfrenchspacing\ignorespaces#1\unskip
\ifnum\spacefactor>\@m \else.\fi \/}%
}}
\newcommand*\nopunct{\spacefactor 1001\relax}
\setcounter{topnumber}{\tw@}
\renewcommand\topfraction{.7}
\setcounter{bottomnumber}{\@ne}
\renewcommand\bottomfraction{.3}
\setcounter{totalnumber}{\thr@@}
\renewcommand\textfraction{.2}
\renewcommand\floatpagefraction{.5}
\c@dbltopnumber\c@topnumber
\let\dbltopfraction\topfraction
\let\dblfloatpagefraction\floatpagefraction
\setlength \floatsep {\bigskipamount}
\@msetlength\textfloatsep {2}{\bigskipamount}
\setlength \intextsep {\bigskipamount}
\setlength \dblfloatsep {\bigskipamount}
\@msetlength\dbltextfloatsep {2}{\bigskipamount}
\setlength \@fptop {\z@ plus 1 fil}
\setlength \@fpsep {\bigskipamount}
\setlength \@fpbot {\z@ plus 1 fil}
\setlength \@dblfptop {\z@ plus 1 fil}
\setlength \@dblfpsep {\bigskipamount}
\setlength \@dblfpbot {\z@ plus 1 fil}
\setlength\abovecaptionskip{\medskipamount}
\setlength\belowcaptionskip{\z@skip}
\newcommand*\maketitle{%
\begingroup
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\def\thesenderaddress{\@author}%
\def\thesubject{\leavevmode\@addfullstop\@title}%
\let\@empty@sender\@empty
\let\@thanks\@empty
\makepresentation
\@thanks
\endgroup
\setcounter{footnote}{\z@}%
\maketopdate
}
\setcounter{secnumdepth}{\tw@}
\def\@seccntformat#1{\csname the#1\endcsname .\enspace}
\ifcase \@ptsize\relax
\def\@sec@head@size{\@setfontsize\@sec@head@size\@xiipt{15}}
\or
\def\@sec@head@size{\@setfontsize\@sec@head@size\@xiipt{17.4}}
\or
\def\@sec@head@size{\@setfontsize\@sec@head@size\@xivpt{18.75}}
\fi
\newcommand*\section{\@startsection {section}{\@ne}%
{\z@}%
{-\bigskipamount}%
{\smallskipamount}%
{%
\normalfont
\noindent\null\@@par\nobreak\vskip-\baselineskip
\parskip\z@skip
\@sec@head@size\bfseries
}%
}
\newcommand*\paragraph{\@startsection{paragraph}{\tw@}%
{\z@}%
{-\medskipamount}%
{-.66667em}%
{\normalfont\normalsize\itshape\@addfullstop}%
}
\newcommand*\epilogue{%
\if@noskipsec \leavevmode \fi
\par
\if@nobreak
\everypar{}%
\else
\addpenalty\@secpenalty\addvspace\bigskipamount
\fi
}
\renewcommand*\thesection{\@arabic\c@section}
\renewcommand*\theparagraph{\thesection.\@arabic\c@paragraph}
\renewcommand*\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{\@ne}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\newenvironment*{figure}
{\@float{figure}}
{\end@float}
\newenvironment*{figure*}
{\@dblfloat{figure}}
{\end@dblfloat}
\renewcommand*\thetable{\@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{\tw@}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
\newenvironment*{table}
{\@float{table}}
{\end@float}
\newenvironment*{table*}
{\@dblfloat{table}}
{\end@dblfloat}
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\sbox\@tempboxa{\itshape \@addfullstop{#1: #2}}%
\ifdim \wd\@tempboxa >\hsize
\unhbox\@tempboxa\par
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip
}
\newcommand*\@pnumwidth{1.55em}
\newcommand*\@tocrmarg{2.55em}
\newcommand*\@dotsep{4.5}
\setcounter{tocdepth}{\@ne}
\newcommand*\tableofcontents{%
\section*{\contentsname \sectionmark\contentsname}
\if@toc@in@toc@
\addcontentsline{toc}{section}{\protect\contentsname}%
\fi
\@starttoc{toc}%
}
\newcommand*\l@section{\@dottedtocline{\@ne}{\z@}{2em}}
\newcommand*\l@paragraph[2]{%
\@dottedtocline{\tw@}{2em}{2.5em}{\small #1}{\small #2}%
}
\newcommand*\listoffigures{%
\section*{\listfigurename \sectionmark\listfigurename}%
\if@loX@in@toc@
\addcontentsline{toc}{section}{\protect\listfigurename}%
\fi
\@starttoc{lof}%
}
\def\l@figure{\@dottedtocline{\@ne}{\z@}{2em}}
\newcommand*\listoftables{%
\section*{\listtablename \sectionmark\listtablename}%
\if@loX@in@toc@
\addcontentsline{toc}{section}{\protect\listtablename}%
\fi
\@starttoc{lot}%
}
\let\l@table\l@figure
\newenvironment*{thebibliography}[1]{%
\startbreaks
\section*{\refname \sectionmark\refname}%
\addcontentsline{toc}{section}{\protect\refname}%
\vskip\parskip
\parskip\z@skip
\parindent\z@
\list{\@biblabel{\@arabic\c@enumiv}}{%
\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}%
}%
\sloppy
\clubpenalty 4000
\@clubpenalty \clubpenalty
\widowpenalty 4000
\sfcode`\.\@m
}{%
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
\endlist
}
\newcommand*\newblock{\hskip .11em\@plus.33em\@minus.07em}
\newcommand*\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
\newcommand*\contentsname {Sommario}
\newcommand*\listfigurename{Indice delle figure}
\newcommand*\listtablename {Indice delle tabelle}
\newcommand*\refname {Testi citati}
\newcommand*\indexname {Indice analitico}
\newcommand*\figurename {Figura}
\newcommand*\tablename {Tabella}
\endinput
%%
%% End of file `articoletteracdp.cls'.
|