diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:52:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:52:51 +0000 |
commit | 84de3c402b6934d888889ea6a9ed724813f730a5 (patch) | |
tree | 0fd26fc3ca870148a5d405d82b3e952aa6bc48a8 /Master/texmf-dist/tex | |
parent | 3bb559aaec81c4be20acf962e2567b26c517c8ac (diff) |
cdpbundl
git-svn-id: svn://tug.org/texlive/trunk@746 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/adiseal.sty | 164 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/articoletteracdp.cls | 354 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/cdpaddon.sty | 323 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/cdpshues-example.def | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/cdpshues.cfg | 97 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/epson-stylus-740.def | 54 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/hp-laserjet-4500.def | 54 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/lettcdpadi.cls | 60 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cdpbundl/letteracdp.cls | 1727 |
9 files changed, 2907 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cdpbundl/adiseal.sty b/Master/texmf-dist/tex/latex/cdpbundl/adiseal.sty new file mode 100644 index 00000000000..0429bd51229 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/adiseal.sty @@ -0,0 +1,164 @@ +%% +%% This is file `adiseal.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `adipk') +%% +%% 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}[1998/06/01] % LaTeX2e is required! +\ProvidesPackage{adiseal} + [2005/01/01 v0.33 (development)] +\@ifdefinable\@adiseal{\def\@adiseal{adiseal}} +\newcommand*\ADIWWW{% + http://www.math.unipd.it/\string~favero/adipd/% +} +\@ifdefinable\@seal@graph@file{\def\@seal@graph@file{% + adiseal.eps% must be an Encapsulated PostScript file +}} +\@ifdefinable\if@use@pixmap@{\newif\if@use@pixmap@} +\@ifdefinable\@temp@adiseal{} +\DeclareOption{nopixmap}{\@use@pixmap@false} +\DeclareOption{usepixmap}{\@use@pixmap@true} +\ExecuteOptions{nopixmap} +\ProcessOptions\relax +\def\@temp@adiseal#1{% + \@use@pixmap@false + \PackageWarningNoLine{\@adiseal}{% + Can't find the #1;\MessageBreak + option usepixmap ignored (converted to nopixmap).\MessageBreak + The ADI seal will _not_ be printed% + }% +} +\if@use@pixmap@ + \IfFileExists{\@seal@graph@file}{% + \IfFileExists{epsfig.sty}{% + \RequirePackage{epsfig}% + }{% + \@temp@adiseal{epsfig package}% + }% + }{% + \@temp@adiseal{pixel map for the ADI seal}% + }% +\fi +\let\@temp@adiseal\@undefined +\@ifdefinable\@seal@box{\def\@seal@box#1{% + \parbox[t][42bp][c]{60bp}{\centerline{#1}}% +}} +\newcommand*\ADIconcert{\par\noindent + \emph\concertname + \ADIaddress +} +\DeclareRobustCommand*\ADIaddress{\par + \setbox\z@\vtop{% + \normalfont\normalsize + \leftline{% + \vtop{% + \hbox{% + \if@use@pixmap@ + \edef\@temp@adiseal{% + \noexpand\epsfig{file=\@seal@graph@file,% + height=42bp,width=60bp,clip=}% + }% + \@seal@box\@temp@adiseal + \let\@temp@adiseal\@undefined + \else + \setlength\fboxrule{.2pt}% + \setlength\fboxsep{-\fboxrule}% + \fbox{\@seal@box\substitutesealname}% + \fi + }% + }% + \kern\baselineskip + \vtop{% + \null\nointerlineskip + \hbox{% + \Large ADI% + \setbox\z@\hbox{\ignorespaces\seatacronym\unskip}% + \ifdim\wd\z@>\z@ + -\unhbox\z@ + \else + \unhbox\z@ + \fi + }% + \ialign{##\cr + \spaceskip \fontdimen\tw@\font + \@plus \@ne fil% + \@minus \fontdimen4\font + Associazione Dottorandi e\cr + Dottori di Ricerca Italiani\cr + }% + \hbox{% + \setbox\z@\hbox{\ignorespaces\seatname\unskip}% + \ifdim\wd\z@>\z@ + --- \unhbox\z@ + \else + \unhbox\z@ + \fi + }% + \global\dimen@i\prevdepth + }% + }% + \kern\p@ + \prevdepth \dimen@i + \leftline{\ttfamily\small\ADIWWW}% + \global\dimen@i\prevdepth + }% + \dimen@ \dp\z@ + \advance \dimen@ -\dimen@i + \dimen@ii .5\baselineskip + \divide \dimen@ \dimen@ii + \count@ \dimen@ + \advance \count@ 1 + \dimen@ \dp\z@ + \advance \dimen@ -\count@\dimen@ii + \box\z@ + \prevdepth\dimen@ +} +\newcommand*\concertname {di concerto con} +\newcommand*\seatacronym {PD} +\newcommand*\seatname {Sede di Padova} +\newcommand*\substitutesealname{Logo ADI} +\endinput +%% +%% End of file `adiseal.sty'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/articoletteracdp.cls b/Master/texmf-dist/tex/latex/cdpbundl/articoletteracdp.cls new file mode 100644 index 00000000000..e4b14d03b97 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/articoletteracdp.cls @@ -0,0 +1,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'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/cdpaddon.sty b/Master/texmf-dist/tex/latex/cdpbundl/cdpaddon.sty new file mode 100644 index 00000000000..c9e0a36d4df --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/cdpaddon.sty @@ -0,0 +1,323 @@ +%% +%% This is file `cdpaddon.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `addon') +%% +%% 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}[1998/06/01] % LaTeX2e is required! +\ProvidesPackage{cdpaddon} + [2005/01/01 v0.33 (development)] +\@ifdefinable\@cdpaddon{\def\@cdpaddon{cdpaddon}} +\def\do#1{\@ifdefinable#1{\newif#1}} +\do\if@using@cdp@ +\do\if@use@color@ +\do\if@use@hyper@ +\@ifdefinable\@cdpaddon@printer{\let\@cdpaddon@printer\@empty} +\@ifdefinable\@temp@cdpaddon@a{} +\@ifdefinable\@temp@cdpaddon@b{} +\def\@temp@cdpaddon@a{% + \@using@cdp@false + \PackageWarningNoLine{\@cdpaddon}{% + It seems that you are not using the letteracdp\MessageBreak + document class; therefore no attempt will be made\MessageBreak + to modify letterheads and similar things% + }% +} +\def\@temp@cdpaddon@b{letteracdp} +\@ifclassloaded{\@temp@cdpaddon@b}{% + \ifx\@letteracdp\@temp@cdpaddon@b + \@using@cdp@true + \else + \@temp@cdpaddon@a + \fi +}{% + \@temp@cdpaddon@a +} +\def\@temp@cdpaddon@a#1printer:#2,#3@@@{% + \def\@temp@cdpaddon@b{#1}% + \ifx\@temp@cdpaddon@b\@empty + \def\@cdpaddon@printer{#2}% + \else + \@unknownoptionerror + \fi +} +\DeclareOption{bw}{\@use@color@false} +\DeclareOption{color}{\@use@color@true} +\DeclareOption{hypertext}{\@use@hyper@true} +\DeclareOption{plaintext}{\@use@hyper@false} +\DeclareOption*{% + \expandafter\@temp@cdpaddon@a\CurrentOption,printer:,@@@% +} +\ExecuteOptions{color,plaintext} +\ProcessOptions\relax +\def\@temp@cdpaddon@a{Default} +\ifx\@cdpaddon@printer\@temp@cdpaddon@a + \let\@cdpaddon@printer\@empty +\fi +\def\@temp@cdpaddon@a#1#2#3#4#5{% + \IfFileExists{#1.sty}{% + \RequirePackage[#2]{#1}% + }{% + \@nameuse{@use@#3@false} + \PackageWarningNoLine{\@cdpaddon}{% + Can't find the #1 package;\MessageBreak + option #4 ignored (converted to #5)% + }% + }% +} +\if@use@color@ + \@temp@cdpaddon@a{color}{}{color}{color}{bw} +\fi +\if@use@hyper@ + \@temp@cdpaddon@a{hyperref}{}{hyper}{hypertext}{plaintext} +\fi +\@ifdefinable\@back@folding@tag{\def\@back@folding@tag{% + \if@do@fold@ + \raisebox{\@lh@folding@ht}[\z@][\z@]{% + \makebox[\z@][l]{% + \color{strong@col}% + \dimen@ -\@lh@right@margin + \advance\dimen@ 1cm% + \kern\dimen@ \vbox{% + \kern -.1\p@ + \hrule \@height .1\p@ \@depth .1\p@ \@width 5mm% + \kern -.1\p@ + }% + }% + }% + \fi +}} +\if@using@cdp@ + \def\@temp@cdpaddon@a#1{% + \@ifundefined{#1}{% + \PackageError\@cdpaddon{% + Internal command \@backslashchar#1 undefined% + }{% + The internal command \@backslashchar#1, + that should have been defined\MessageBreak + by the \@letteracdp\space document class, + is actually undefined.\MessageBreak + Probably, you are using an old or modified version + of that class.\MessageBreak + Proceed, but some of the colors won't come out right.% + }% + }% + } + \if@use@color@ + \ifx\@cdpaddon@printer\@empty + \let\@temp@cdpaddon@b\@empty + \begingroup % \endgroup put in by \@temp@cdpaddon@b + \let\@temp@cdpaddon@b\endgroup + \InputIfFileExists{cdpshues.cfg}{% + \PackageInfo{\@cdpaddon}{% + Reading config. file% + }% + \def\DeclareCDPSealHuesDefault{% + \@temp@cdpaddon@b % ends group + \endinput + \def\@cdpaddon@printer + }% + }{% + \PackageWarningNoLine{\@cdpaddon}{% + Could not find config. file for default printer% + }% + }% + \@temp@cdpaddon@b + \else + \def\@temp@cdpaddon@b{None}% + \ifx\@cdpaddon@printer\@temp@cdpaddon@b + \let\@cdpaddon@printer\@empty + \fi + \fi + \def\@temp@cdpaddon@b{% + \definecolor{slight@col}{named}{SpringGreen} + \definecolor{strong@col}{named}{OliveGreen} + \PackageInfo{\@cdpaddon}{% + Color hues defined internally% + }% + \typeout{% + *Package cdpaddon using built-in colors for the C.D.P. seal.*% + }% + } + \ifx\@cdpaddon@printer\@empty + \@temp@cdpaddon@b + \else + \InputIfFileExists{\@cdpaddon@printer.def}{% + \PackageInfo{\@cdpaddon}{% + Color hues defined by def. file\MessageBreak + \@cdpaddon@printer.def% + }% + }{% + \PackageWarningNoLine{\@cdpaddon}{% + Could not find def. file \@cdpaddon@printer.def% + }% + \@temp@cdpaddon@b + }% + \fi + \def\@temp@cdpaddon@b#1{% + \@temp@cdpaddon@a{#1}{% + \setbox\z@\box\@nameuse{#1}% + \sbox{\@nameuse{#1}}{{\color{strong@col}\unhbox\z@}}% + }% + } + \@temp@cdpaddon@a{@folding@tag}{% + \let\@folding@tag\@back@folding@tag + } + \@temp@cdpaddon@a{@logo@box@base}{% + \savebox\@logo@box@base[\z@][r]{\setlength\unitlength{.625mm}% + \begin{picture}(32,16)(-3,7.87)% + \begingroup + \color{slight@col}% + \put(8,16){\circle*{10}}% + \put(18,16){\circle*{10}}% + \thicklines + \put(8,16){\oval(8.2,8.2)[l]}% + \put(8,16){\oval(8.6,8.6)[l]}% + \put(8,16){\oval(9,9)[l]}% + \put(8,16){\oval(9.4,9.4)[l]}% + \put(8,16){\oval(9.8,9.8)[l]}% + \put(18,16){\oval(8.2,8.2)[r]}% + \put(18,16){\oval(8.6,8.6)[r]}% + \put(18,16){\oval(9,9)[r]}% + \put(18,16){\oval(9.4,9.4)[r]}% + \put(18,16){\oval(9.8,9.8)[r]}% + \put(13,16){\makebox(0,0){\color{white}% + \vrule height 6.25mm depth 0mm width 6.25mm + }}% + \put(9,11){\makebox(0,0)[bl]{% + \vrule height 12.5mm depth 0mm width 1.875mm + }}% + \put(14,1){\makebox(0,0)[bl]{% + \vrule height 12.5mm depth 0mm width 1.875mm + }}% + \endgroup + \color{strong@col}% + \put(8,16){\oval(10,10)[l]}% + \put(8,11){\line(0,1){10}}% + \put(9,11){\framebox(3,20){}}% + \put(18,16){\oval(10,10)[r]}% + \put(18,11){\line(0,1){10}}% + \put(14,1){\framebox(3,20){}}% + \thicklines + \put(8,16){\oval(16,16)[l]}% + \put(8,8){\line(1,0){5}}% + \put(13,24){\line(1,0){10}}% + \put(8,16){\oval(14,14)[l]}% + \put(8,9){\line(1,0){5}}% + \put(13,23){\line(1,0){10}}% + \end{picture}% + }% + } + \@temp@cdpaddon@b{@logo@box@addS} + \@temp@cdpaddon@b{@logo@box@addL} + \@temp@cdpaddon@b{@oordinamento@box} + \@temp@cdpaddon@a{@cdp@head}{\def\@cdp@head{% + \@logo@overlay\@logo@box@addL + \copy\@oordinamento@box + {\color{strong@col}\hrulefill}\kern\@lh@right@margin + }} + \@temp@cdpaddon@a{@cdp@foot}{\def\@cdp@foot{% + \color{strong@col}% + \reset@font + \setlength\@tempdima{\textwidth}% + \addtolength\@tempdima{-2\@lh@right@margin}% + \hss\parbox[t]{\@tempdima}{% + \parfillskip\z@skip + \noindent\hrulefill\@@par + \baselineskip 11\p@ + \hb@xt@\hsize{\hfil\copy\@name@and@WWW@box\hfil}% + }\hss + }} + \fi + \if@use@hyper@ + \AtBeginDocument{% + \@temp@cdpaddon@a{@name@and@WWW@box}{% + \setbox\@name@and@WWW@box = \vtop{% + \baselineskip 11\p@ + \hb@xt@\z@{\hss \@lh@rm\Coordinamento \hss}% + \hb@xt@\z@{% + \hss + \@lh@it World Wide Web:\/ + \href{\CoordinamentoWWW}{\@lh@tt \CoordinamentoWWW}% + \hss + }% + }% + }% + \let\@temp@cdpaddon@a\@undefined + } + \def\toclevel@paragraph{2} + \else + \let\@temp@cdpaddon@a\@undefined + \fi +\else + \let\@temp@cdpaddon@a\@undefined +\fi +\let\if@using@cdp@\@undefined +\let\@using@cdp@true\@undefined +\let\@using@cdp@false\@undefined +\let\if@use@color@\@undefined +\let\@use@color@true\@undefined +\let\@use@color@false\@undefined +\let\if@use@hyper@\@undefined +\let\@use@hyper@true\@undefined +\let\@use@hyper@false\@undefined +\let\@back@folding@tag\@undefined +\let\@cdpaddon@printer\@undefined +\let\@temp@cdpaddon@b\@undefined +\DeclareRobustCommand*{\facesmile}{\@face\smile} +\DeclareRobustCommand*{\facefrown}{\@face\frown} +\@ifdefinable\@face{\def\@face#1{% + \leavevmode + \count@\spacefactor + \hb@xt@ 1em{\hfil$% + \hb@xt@\z@ {\hss$\bigcirc$\hss}% + \lower .2ex \hb@xt@\z@ {\hss$\scriptscriptstyle #1$\hss}% + \raise .3ex \hb@xt@\z@ {\hss${\cdot}\mkern 2mu{\cdot}$\hss}% + $\hfil}% + \spacefactor\count@ +}} +\endinput +%% +%% End of file `cdpaddon.sty'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/cdpshues-example.def b/Master/texmf-dist/tex/latex/cdpbundl/cdpshues-example.def new file mode 100644 index 00000000000..631e6de7f9f --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/cdpshues-example.def @@ -0,0 +1,74 @@ +%% +%% This is file `cdpshues-example.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `example') +%% +%% 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 \~} +%%% +%%% The "\ProvidesFile" command allows LaTeX to check the name and +%%% the release date of the file; if either differs from what the +%%% user requested, a warning is issued when the file is loaded. +%%% This helps to pinpoint old files as well as files which have been +%%% installed incorrectly. It is not mandatory to include this +%%% command in a file, and you can omit it from your definition files +%%% if you want (but including it is more elegant); however, if you do +%%% leave this command in your definition files, you should modify +%%% both its mandatory and its optional argument so that they reflect +%%% the name and the release date, respectively, of your file. +%%% Note that the extension ".def" must be included in the file name, +%%% and that the date is in the format YYYY/MM/DD. +\ProvidesFile{cdpshues-example.def}[2005/01/01 Printer-dependent file] +%%% +%%% Define here the colors to use to draw the C.D.P. seal; +%%% "slight@col" is the color used to paint the inner of the D and +%%% of the P, "strong@col" is the color used to draw the lines. +%%% The colors are defined by means of the usual "\definecolor" +%%% command, which is part of the standard color package. The colors +%%% defined here, of course, are just a silly example. +\definecolor{slight@col}{named}{SpringGreen} +\definecolor{strong@col}{named}{OliveGreen} +\endinput +%% +%% End of file `cdpshues-example.def'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/cdpshues.cfg b/Master/texmf-dist/tex/latex/cdpbundl/cdpshues.cfg new file mode 100644 index 00000000000..a2eee85af1c --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/cdpshues.cfg @@ -0,0 +1,97 @@ +%% +%% This is file `cdpshues.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `config') +%% +%% 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 \~} +%%% +%%% The argument of the "\DeclareCDPSealHuesDefault" command contains +%%% the name (w/o extension) of the default color definition file: +\DeclareCDPSealHuesDefault{cdpshues} + +==================== +EXPLANATORY COMMENTS +==================== + +This file is special in that the cdpaddon package stops reading it as +soon as it encounters the first "\DeclareCDPSealHuesDefault" command: +all subsequent lines are ignored, and can hence contain explanatory +comments, just like these. To save disk space (although, in this era +of gigabytes, this is not a compelling issue!), you can, if you want, +delete all lines in this file except the one which contains the first +occurrence of a "\DeclareCDPSealHuesDefault" command (12 lines above); +but if you do so, please be sure to read them before deleting them! +(Anyway, I think it is a good idea to leave the comments in place.) + +The "\DeclareCDPSealHuesDefault" command has one argument, in which +you should put the name of a default file from which the definitions +of the hues for the C.D.P. seal are read when no other file has been +indicated in the options passed to the cdpaddon package. Note that +the extension ".def" is automatically added to the name; therefore, +you **must** leave it out in the name given as the argument of the +"\DeclareCDPSealHuesDefault" command. + +The C.D.P. Bundle comes with some definition files already included; +their names are listed below, without the extension ".def" (each one +is packaged in a "\DeclareCDPSealHuesDefault" command): + +\DeclareCDPSealHuesDefault{cdpshues-example} +\DeclareCDPSealHuesDefault{epson-stylus-740} +\DeclareCDPSealHuesDefault{hp-laserjet-4500} + +To make one of these files the default one, copy (or move) the line +containing its name to the top of the file, so that its becomes the +first line (yes, even above the opening comments, those four dozens +lines starting with "%%": let us keep things easy!). + +If you write a new definition file, you can make it the default by +writing a similar "\DeclareCDPSealHuesDefault" command and putting it +in the first line of this file (above the opening comments, why not). +Remember that only the first such command appearing in this file is +taken into consideration: all subsequent lines are ignored. + +\endinput +%% +%% End of file `cdpshues.cfg'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/epson-stylus-740.def b/Master/texmf-dist/tex/latex/cdpbundl/epson-stylus-740.def new file mode 100644 index 00000000000..98df00cb29a --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/epson-stylus-740.def @@ -0,0 +1,54 @@ +%% +%% This is file `epson-stylus-740.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `epson') +%% +%% 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 \~} +\ProvidesFile{epson-stylus-740.def}[2005/01/01 Printer-dependent file] +\definecolor{slight@col}{rgb}{.8,1,.8} +\definecolor{strong@col}{rgb}{0,.266667,0} +\endinput +%% +%% End of file `epson-stylus-740.def'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/hp-laserjet-4500.def b/Master/texmf-dist/tex/latex/cdpbundl/hp-laserjet-4500.def new file mode 100644 index 00000000000..3a84a5d2125 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/hp-laserjet-4500.def @@ -0,0 +1,54 @@ +%% +%% This is file `hp-laserjet-4500.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `hplj') +%% +%% 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 \~} +\ProvidesFile{hp-laserjet-4500.def}[2005/01/01 Printer-dependent file] +\definecolor{slight@col}{cmyk}{.1,0,.1,0} +\definecolor{strong@col}{cmyk}{.5,0,.5,.5} +\endinput +%% +%% End of file `hp-laserjet-4500.def'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/lettcdpadi.cls b/Master/texmf-dist/tex/latex/cdpbundl/lettcdpadi.cls new file mode 100644 index 00000000000..6989683ca08 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/lettcdpadi.cls @@ -0,0 +1,60 @@ +%% +%% This is file `lettcdpadi.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `adicl') +%% +%% 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}[1998/06/01] % LaTeX2e is required! +\ProvidesClass{lettcdpadi} + [2005/01/01 v0.33 (development)] +\DeclareOption{nopixmap} {\PassOptionsToPackage{nopixmap} {adiseal}} +\DeclareOption{usepixmap}{\PassOptionsToPackage{usepixmap}{adiseal}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letteracdp}} +\ProcessOptions\relax +\LoadClass{letteracdp}[2005/01/01] +\RequirePackage{adiseal}[2005/01/01] +\endinput +%% +%% End of file `lettcdpadi.cls'. diff --git a/Master/texmf-dist/tex/latex/cdpbundl/letteracdp.cls b/Master/texmf-dist/tex/latex/cdpbundl/letteracdp.cls new file mode 100644 index 00000000000..a4a6536873d --- /dev/null +++ b/Master/texmf-dist/tex/latex/cdpbundl/letteracdp.cls @@ -0,0 +1,1727 @@ +%% +%% This is file `letteracdp.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% cdpbundl.dtx (with options: `letter') +%% +%% 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}[1997/06/01] % LaTeX2e is required! +\ProvidesClass{letteracdp} + [2005/01/01 v0.33 (**incomplete**)] +\typeout{Copyright (C) 1999-2005 by Gustavo MEZZETTI, + all rights reserved.} +\@ifdefinable\@letteracdp{\def\@letteracdp{letteracdp}} +\newcommand*\Coordinamento{% + Coordinamento dei Dottorandi e dei Dottori di Ricerca + dell'Universit\`a di Padova% +} +\newcommand*\CoordinamentoWWW{% + http://www.dei.unipd.it/\string~assdott/% +} +\DeclareFixedFont\@lh@nss{OT1}{cmss}{m}{n} {12} +\DeclareFixedFont\@lh@bss{OT1}{cmss}{m}{n} {17} +\DeclareFixedFont\@lh@rm {OT1}{cmr} {m}{n} {9} +\DeclareFixedFont\@lh@it {OT1}{cmr} {m}{it}{9} +\DeclareFixedFont\@lh@tt {OT1}{cmtt}{m}{n} {9} +\newcommand\@ptsize{} +%% A couple of useful things that are missing from the LaTeX kernel: +\@ifdefinable\@newrigidlength{\def\@newrigidlength#1{% + \@ifdefinable#1{\newdimen#1}% +}} +\@ifdefinable\@msetlength{\def\@msetlength#1#2#3{% + #1#3\multiply#1#2\relax +}} +\newcounter{letter} +\newcounter{emptyaddrlabels} +\newcounter{addrlabelrows} +\newcounter{addrlabelcolumns} +\newcounter{label}[letter] +\newcounter{totallabel} +\@addtoreset{equation}{letter} +\@addtoreset{footnote}{letter} +\@addtoreset{mpfootnote}{letter} +\@newrigidlength\@lh@left@margin +\@newrigidlength\@lh@right@margin +\@newrigidlength\@block@inden +\@newrigidlength\@block@width +\@newrigidlength\longindentation +\@newrigidlength\senderindentation +\@newrigidlength\senderwidth +\@newrigidlength\addresseeindentation +\@newrigidlength\addresseewidth +\@newrigidlength\signatureindentation +\@newrigidlength\signaturewidth +\@newrigidlength\foldedheight + \setlength\foldedheight{-\maxdimen} +\@newrigidlength\@folding@ht +\@newrigidlength\@lh@folding@ht +\@newrigidlength\@above@folding@margin +\@newrigidlength\@above@folding@shrink +\newlength\@block@space +\newlength\@block@andspace +\newlength\@below@folding@skip +\newlength\aboveaddressvspace +\newlength\andaddressvspace +\newlength\belowaddressvspace +\newlength\abovesubjectvspace +\newlength\presubjectvspace +\newlength\belowsubjectvspace +\newlength\abovesignaturevspace +\newlength\abovesignatureshortvspace +\newlength\belowsignaturevspace +\newlength\belowpresentationvspace +\def\do#1{\@newrigidlength #1\setlength #1\z@} +\do\addrlabelsleftmargin +\do\addrlabelstopmargin +\do\addrlabelshsep +\do\addrlabelsvsep +\do\addrlabelborder +\@newrigidlength\addrlabelwidth +\@newrigidlength\addrlabelheight +\@newrigidlength\addrlabeltrimwidth +\@newrigidlength\addrlabeltrimheight +\@ifdefinable\@cdp@reserved{} +\@ifdefinable\@empty@block{} +\@ifdefinable\@beginlabels{} +\@ifdefinable\@beginlabelgroup{} +\@ifdefinable\@mlabel{} +\@ifdefinable\@endlabelgroup{} +\@ifdefinable\@endlabels{} +\@ifdefinable\startaddrlabel{} +\@ifdefinable\startaddrlabel{} +\@ifdefinable\stopaddrlabel{} +\@ifdefinable\ifactuallabel{} +\@ifdefinable\@lett@decl{\newtoks\@lett@decl} +\def\do#1{\@ifdefinable#1{\let#1\@empty}} +\do\thesenderaddress +\do\thesendername +\do\thesendersignature +\do\thesenderlocation +\do\thesenderphone +\do\theaddresseeaddress +\do\theaddresseename +\do\thesubject +\do\@subject@style +\do\@signature@style +\do\@begin@letter@hook +\do\@end@letter@hook +\def\do#1{\@ifdefinable#1{\let#1\@undefined}} +\do\presubject +\do\registered +\do\registeredRR +\def\do#1{\@ifdefinable#1{\newcount#1}} +\do\@fold@basepenalty +\do\@fold@lowpenalty +\do\@fold@medpenalty +\do\@fold@highpenalty +\do\@fold@toppenalty +\do\@b@frompenalty +\do\@i@frompenalty +\do\@e@frompenalty +\do\@b@topenalty +\do\@i@topenalty +\do\@e@topenalty +\do\@b@subjpenalty +\do\@e@subjpenalty +\do\@e@prespenalty +\do\@i@penalty +\do\@e@penalty +\do\@cdp@gencount +\def\do#1{\@ifdefinable#1{\newif#1}} +\do\if@use@eepic@ +\do\if@do@fold@ +\@ifdefinable\if@new@block@{ + \def\@new@block@true {\global\let\if@new@block@\iftrue } + \def\@new@block@false{\global\let\if@new@block@\iffalse} +} +\@ifdefinable\if@empty@and@{ + \def\@empty@and@true {\global\let\if@empty@and@\iftrue } + \def\@empty@and@false{\global\let\if@empty@and@\iffalse} +} +\newsavebox\@logo@box@base +\newsavebox\@logo@box@addS +\newsavebox\@logo@box@addL +\newsavebox\@oordinamento@box +\newsavebox\@name@and@WWW@box +\let\and\relax +\@ifdefinable\andcc{\def\andcc{\and}} +\@ifdefinable\m@kel@bel{\let\m@kel@bel\makelabel} +\@ifdefinable\@@vspace{\let\@@vspace\vspace} +\@ifdefinable\@indent@pref{\let\@indent@pref F} +\@ifdefinable\voidisOK{\let\voidisOK\@empty} +\newcommand*\subjectnamegap{.5em} +\newcommand*\closingindentation{\parindent} +\newcommand*\signaturealignment{\raggedright} +\DeclareOption{executivepaper} + {\setlength\paperheight {10.5in}% + \setlength\paperwidth {7.25in}% + \setlength\foldedheight{3.5in}} +\DeclareOption{legalpaper} + {\setlength\paperheight {14in}% + \setlength\paperwidth {8.5in}% + \setlength\foldedheight{4.7in}} +\DeclareOption{letterpaper} + {\setlength\paperheight {11in}% + \setlength\paperwidth {8.5in}% + \setlength\foldedheight{3.7in}} +\DeclareOption{b5paper} + {\setlength\paperheight {250mm}% + \setlength\paperwidth {176mm}% + \setlength\foldedheight{-\maxdimen}} +\DeclareOption{a5paper} + {\setlength\paperheight {210mm}% + \setlength\paperwidth {148mm}% + \setlength\foldedheight{-\maxdimen}} +\DeclareOption{a4paper} + {\setlength\paperheight {297mm}% + \setlength\paperwidth {210mm}% + \setlength\foldedheight{100mm}} +\DeclareOption{landscape} + {\setlength\@tempdima {\paperheight}% + \setlength\paperheight {\paperwidth}% + \setlength\paperwidth {\@tempdima}% + \setlength\foldedheight{-\maxdimen}} +\DeclareOption{12pt}{\renewcommand\@ptsize{2}} +\DeclareOption{11pt}{\renewcommand\@ptsize{1}} +\DeclareOption{10pt}{\renewcommand\@ptsize{0}} +\if@compatibility + \DeclareOption{twoside}{% + \@latexerr{No `twoside' layout for letters}\@eha + } +\else + \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} +\fi +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twocolumn}{% + \@latexerr{No `twocolumn' layout for letters}\@eha +} +\DeclareOption{onecolumn}{} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{leqno}{\input{leqno.clo}} +\DeclareOption{fleqn}{\input{fleqn.clo}} +\DeclareOption{boldsubject}{\let\@subject@style\bfseries} +\DeclareOption{mediumsubject}{\let\@subject@style\mdseries} +\DeclareOption{italicsignature}{\let\@signature@style\itshape} +\DeclareOption{uprightsignature}{\let\@signature@style\upshape} +\DeclareOption{usePS}{\@use@eepic@true} +\DeclareOption{noPS}{\@use@eepic@false} +\DeclareOption{smartindent}{\let\@indent@pref O} +\DeclareOption{shortindent}{\let\@indent@pref L} +\DeclareOption{noindent}{\let\@indent@pref N} +\DeclareOption{indent}{\let\@indent@pref F} +\DeclareOption{Avery5352labels}{% + \setcounter{addrlabelrows}{5}% + \setcounter{addrlabelcolumns}{\tw@}% + \setlength\addrlabelsleftmargin{-35\p@}% + \addtolength\addrlabelsleftmargin{1in}% + \setlength\addrlabelstopmargin{-50\p@}% + \addtolength\addrlabelstopmargin{1in}% + \setlength\addrlabelshsep{26\p@}% + \setlength\addrlabelwidth{262\p@}% + \setlength\addrlabelheight{2in}% +} +\DeclareOption{70x37labels}{% + \setcounter{addrlabelrows}{8}% + \setcounter{addrlabelcolumns}{\thr@@}% + \setlength\addrlabelwidth{70mm}% + \setlength\addrlabelheight{37mm}% + \setlength\addrlabelborder{6mm}% +} +\DeclareOption{105x37labels}{% + \setcounter{addrlabelrows}{8}% + \setcounter{addrlabelcolumns}{\tw@}% + \setlength\addrlabelwidth{105mm}% + \setlength\addrlabelheight{37mm}% + \setlength\addrlabelborder{6mm}% +} +\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,% +mediumsubject,uprightsignature,noPS,indent,105x37labels} +\ProcessOptions\relax +\if@use@eepic@ + \IfFileExists{eepic.sty}{% + \RequirePackage{eepic}% + }{% + \@use@eepic@false + \ClassWarningNoLine{\@letteracdp}{% + Can't find the eepic package;\MessageBreak + option usePS ignored (converted to noPS)% + }% + }% +\fi +%% Command \date redefined to make changes to date local. +\def\date#1{\def\@date{#1}} +\input{size1\@ptsize.clo} +\setlength\lineskip{\p@} +\setlength\normallineskip{\p@} +\renewcommand*\baselinestretch{} +\renewcommand*\thelabel{\theletter\@alph\c@label} +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\@fold@basepenalty 9000 +\@fold@lowpenalty 9101 +\@fold@medpenalty 9202 +\@fold@highpenalty 9303 +\@fold@toppenalty 9500 +\@b@frompenalty\z@ +\@i@frompenalty\@highpenalty +\@e@frompenalty\@lowpenalty +\@b@topenalty\z@ +\@i@topenalty\@highpenalty +\@e@topenalty\@lowpenalty +\@b@subjpenalty\z@ +\@e@subjpenalty\z@ +\@e@prespenalty\@e@subjpenalty +\setlength\headheight{1cm} +\setlength\topmargin{1.5cm} +\addtolength\topmargin{-1in} +\setlength\headsep{1.5cm} +\setlength\marginparsep {11\p@} +\setlength\marginparpush{5\p@} +\setlength\footnotesep{12\p@} +\setlength{\skip\footins}{10\p@ plus 2\p@ minus 4\p@} +\if@compatibility + \setlength\oddsidemargin{53pt} + \setlength\evensidemargin{53pt} + \setlength\marginparwidth{90pt} + \setlength\textwidth{365\p@} + \setlength\textheight{505\p@} + \setlength\footskip{25\p@} +\else + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-\textwidth} + \setlength\@tempdima{.5\@tempdima} + \ifdim\@tempdima < 3.25cm % align to centre of logo + \setlength\oddsidemargin{3cm} + \else\ifdim\@tempdima < 4.5cm % align to right edge of logo + \setlength\oddsidemargin{4cm} + \else % keep the computed margin + \setlength\oddsidemargin{\@tempdima} + \fi\fi + \setlength\textwidth{\paperwidth} + \addtolength\textwidth{-2\oddsidemargin} + \setlength\marginparwidth{\oddsidemargin} + \addtolength\marginparwidth{-\marginparsep} + \addtolength\marginparwidth{-7mm} + \setlength\@tempdima{.33333\textwidth} + \ifdim\marginparwidth > \@tempdima + \ifdim\@tempdima < 90pt\else + \setlength\marginparwidth{\@tempdima} + \fi + \fi + \addtolength\oddsidemargin{-1in} + \setlength\evensidemargin{\oddsidemargin} + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-8cm} + \setlength\footskip{\@tempdima} + \addtolength\@tempdima{-\topskip} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} + \addtolength\textheight{\topskip} + \addtolength\footskip{-\textheight} + \addtolength\footskip{1.5cm} +\fi +\newcommand*\computelongindentation{% + \setlength\@tempdima{\wd\@oordinamento@box}% + \setlength\longindentation{\@tempdima}% + \addtolength\@tempdima{2.5mm}% + \ifdim\@tempdima<.5\textwidth + \setlength\longindentation{.5\textwidth}% + \else + \addtolength\@tempdima{-12.5mm}% + \ifdim\@tempdima>.5\textwidth + \setlength\longindentation{.5\textwidth}% + \fi + \fi + \ifdim\longindentation<.4\textwidth + \setlength\longindentation{.5\textwidth}% + \else\ifdim\longindentation>.6\textwidth + \setlength\longindentation{.5\textwidth}% + \fi\fi +} +\@ifdefinable\@folding@ht@warn{\def\@folding@ht@warn#1#2{% + \ClassWarningNoLine{\@letteracdp}{% + \protect\foldedheight\space ignored: + it is too #1!\MessageBreak + (#2.)\MessageBreak + Folded letters will be shunned% + }% + \@do@fold@false +}}% +\@ifdefinable\@folding@ht@NO{\def\@folding@ht@NO#1#2{% + \ClassWarning{\@letteracdp}{% + Bad value of \protect\foldedheight: it is too #1!\MessageBreak + (#2.)\MessageBreak + Therefore, at present folded letters are _shunned_;\MessageBreak + warning issued% + }% + \@do@fold@false +}}% +\@ifdefinable\@folding@ht@OK{\def\@folding@ht@OK{% + \ClassWarning{\@letteracdp}{% + Checked \protect\foldedheight, + current value is acceptable.\MessageBreak + Therefore, at present folded letters are _allowed_;\MessageBreak + warning issued% + }% + \@do@fold@true +}}% +\@ifdefinable\@checkfoldedheight{\def\@checkfoldedheight#1#2{% + \ifdim\foldedheight>\z@ + \ifdim\foldedheight>.6\paperheight + #1{tall}{% action to take if value is bad + It must not exceed 0.6\protect\paperheight% + }% + \else + \setlength\@folding@ht{\foldedheight}% + \addtolength\@folding@ht{-1in}% + \addtolength\@folding@ht{-\topmargin}% + \addtolength\@folding@ht{-\headheight}% + \setlength\@lh@folding@ht{-\@folding@ht}% + \addtolength\@folding@ht{-\headsep}% + \ifdim\@folding@ht<2.5cm + #1{short}{% action to take if value is bad + At least 2cm _of_text_ and 0.5cm of margin\MessageBreak + must be allowed above the folding% + }% + \else + \setlength\@above@folding@margin{1cm}% + \setlength\@above@folding@shrink{5mm}% + \setlength\@below@folding@skip{5mm}% + \dimen4 .5\baselineskip + \dimen@ \@folding@ht + \advance\dimen@ \@below@folding@skip + \advance\dimen@ -\topskip + \dimen@ii -\dimen@ + \divide\dimen@ \dimen4% + \count@ \dimen@ + \advance\dimen@ii \count@\dimen4% + \addtolength\@below@folding@skip{\dimen@ii}% + \addtolength\@folding@ht{-\@above@folding@margin}% + #2% action to take if value is OK + \fi + \fi + \else + \@do@fold@false + \fi +}} +\newcommand*\checkfoldedheight{% + \@checkfoldedheight\@folding@ht@NO\@folding@ht@OK +} +\AtBeginDocument{% + \setlength\@lh@left@margin{4cm}% + \addtolength\@lh@left@margin{-1in}% + \addtolength\@lh@left@margin{-\oddsidemargin}% + \setlength\@lh@right@margin{\@lh@left@margin}% + \addtolength\@lh@right@margin{-2cm}% + \@checkfoldedheight\@folding@ht@warn\@do@fold@true + \let\@folding@ht@warn\@undefined +} +\sbox\@oordinamento@box{% + \@lh@nss oordinamento dei {\@lh@bss D}\kern-.033333em ottorandi di + {\@lh@bss P}\kern-.1em adova\enspace +} +\computelongindentation +\newcommand*\standardvertspaces{% + \setlength\aboveaddressvspace {\medskipamount}% + \@msetlength\andaddressvspace {2}{\medskipamount}% + \@msetlength\belowaddressvspace {3}{\medskipamount}% + \setlength\abovesubjectvspace {\medskipamount}% + \setlength\presubjectvspace {\medskipamount}% + \@msetlength\belowsubjectvspace {3}{\medskipamount}% + \@msetlength\abovesignaturevspace {6}{\medskipamount}% + \setlength\abovesignatureshortvspace{\bigskipamount}% + \setlength\belowsignaturevspace {\bigskipamount}% + \@msetlength\belowpresentationvspace{3}{\medskipamount}% +} +\setlength\senderindentation {\z@} +\setlength\senderwidth {\textwidth} +\setlength\addresseeindentation{\z@} +\setlength\addresseewidth {\textwidth} +\setlength\signatureindentation{\z@} +\setlength\signaturewidth {\textwidth} +\standardvertspaces +\newcommand*{\automark}{\let\@mkboth\markboth} +\newcommand*{\usermark}{\let\@mkboth\@gobbletwo} +\automark % default is to put page no. and addressee in the header +%% We need to change even the definition of the standard page styles. +\def\ps@empty{% + \let\@oddhead\@empty + \let\@evenhead\@empty + \let\@oddfoot\@empty + \let\@evenfoot\@empty +} +\def\ps@plain{% + \let\@oddhead\@empty + \let\@evenhead\@empty + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@firstpage{% + \let\@oddhead\@empty + \let\@evenhead\@empty + \let\@oddfoot\@first@foot + \let\@evenfoot\@centred@folio +} +\def\ps@foldedpage{% + \def\@oddhead{\hfill\@folding@tag}% + \let\@evenhead\@empty + \let\@oddfoot\@first@foot + \let\@evenfoot\@centred@folio +} +\def\ps@letterhead{% + \let\@oddhead\@cdp@head + \let\@evenhead\@empty + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@firstletterhead{% + \let\@oddhead\@cdp@head + \let\@evenhead\@empty + \let\@oddfoot\@cdp@foot + \let\@evenfoot\@centred@folio +} +\def\ps@foldedletterhead{% + \def\@oddhead{\@cdp@head\@folding@tag}% + \let\@evenhead\@empty + \let\@oddfoot\@cdp@foot + \let\@evenfoot\@centred@folio +} +\def\ps@logo{% + \def\@oddhead{\@cdp@logo\hfill}% + \let\@evenhead\@empty + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@headings{% + \automark + \let\@oddhead\@r@head + \let\@evenhead\@l@head + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@logoheadings{% + \automark + \def\@oddhead{\@cdp@logo\@r@head}% + \let\@evenhead\@l@head + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@myheadings{% + \usermark + \let\@oddhead\@r@head + \let\@evenhead\@l@head + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@logomyheadings{% + \usermark + \def\@oddhead{\@cdp@logo\@r@head}% + \let\@evenhead\@l@head + \let\@oddfoot\@centred@folio + \let\@evenfoot\@centred@folio +} +\def\ps@letterheadnpn{% + \let\@oddhead\@cdp@head + \let\@evenhead\@empty + \let\@oddfoot\@empty + \let\@evenfoot\@empty +} +\def\ps@logonpn{% + \def\@oddhead{\@cdp@logo\hfill}% + \let\@evenhead\@empty + \let\@oddfoot\@empty + \let\@evenfoot\@empty +} +\@ifdefinable\@centred@folio{\def\@centred@folio{% + \reset@font\hfil\thepage\hfil +}} +\@ifdefinable\@l@head{\def\@l@head{% + \reset@font\slshape\hfil\ignorespaces\leftmark\unskip\/\hfil +}} +\@ifdefinable\@r@head{\def\@r@head{% + \reset@font\slshape\hfil\ignorespaces\rightmark\unskip\/\hfil +}} +\@ifdefinable\@first@foot{\def\@first@foot{% + \reset@font + \raisebox{-24\p@}[\z@]{% + \hb@xt@\textwidth{% + \ifcase \@ptsize\relax + \normalsize + \or + \small + \or + \footnotesize + \fi + \thesenderlocation \hfill \thesenderphone + }% + }\hss +}} +\@ifdefinable\@folding@tag{\def\@folding@tag{% + \if@do@fold@ + \raisebox{\@lh@folding@ht}[\z@][\z@]{% + \makebox[\z@][l]{% + \dimen@ -\@lh@right@margin + \advance\dimen@ 1cm% + \kern\dimen@ \vbox{% + \kern -.1\p@ + \hrule \@height .1\p@ \@depth .1\p@ \@width 5mm% + \kern -.1\p@ + }% + }% + }% + \fi +}} +\savebox\@logo@box@base[\z@][r]{\setlength\unitlength{.625mm}% + \begin{picture}(32,16)(-3,7.87)% + \put(8,16){\oval(10,10)[l]}% + \put(8,11){\line(0,1){10}}% + \put(9,11){\framebox(3,20){}}% + \put(18,16){\oval(10,10)[r]}% + \put(18,11){\line(0,1){10}}% + \put(14,1){\framebox(3,20){}}% + \thicklines + \put(8,16){\oval(16,16)[l]}% + \put(8,8){\line(1,0){5}}% + \put(13,24){\line(1,0){10}}% + \put(8,16){\oval(14,14)[l]}% + \put(8,9){\line(1,0){5}}% + \put(13,23){\line(1,0){10}}% + \end{picture}% +}% +\savebox\@logo@box@addS[\z@][r]{\setlength\unitlength{.625mm}% + \begin{picture}(32,16)(-3,7.87)% + \thicklines + \put(18,8){\line(1,0){8}}% + \put(18,9){\line(1,0){8}}% + \end{picture}% +}% +\savebox\@logo@box@addL[\z@][r]{\setlength\unitlength{.625mm}% + \begin{picture}(32,16)(-3,7.87)% + \thicklines + \put(18,8){\line(1,0){10}}% + \put(18,9){\line(1,0){10}}% + \end{picture}% +}% +\@ifdefinable\@logo@overlay{\def\@logo@overlay{% + \kern\@lh@left@margin + \copy\@logo@box@base \copy +}} +\@ifdefinable\@cdp@logo{\def\@cdp@logo{% + \@logo@overlay\@logo@box@addS +}} +\@ifdefinable\@cdp@head{\def\@cdp@head{% + \@logo@overlay\@logo@box@addL + \copy\@oordinamento@box \hrulefill \kern\@lh@right@margin +}} +\setbox\@name@and@WWW@box = \vtop{% + \baselineskip 11\p@ + \hb@xt@\z@{\hss \@lh@rm\Coordinamento \hss}% + \hb@xt@\z@{% + \hss + \@lh@it World Wide Web:\/ + \@lh@tt \CoordinamentoWWW + \hss + }% +} +\@ifdefinable\@cdp@foot{\def\@cdp@foot{% + \reset@font + \setlength\@tempdima{\textwidth}% + \addtolength\@tempdima{-2\@lh@right@margin}% + \hss\parbox[t]{\@tempdima}{% + \parfillskip\z@skip + \noindent\hrulefill\@@par + \baselineskip 11\p@ + \hb@xt@\hsize{\hfil\copy\@name@and@WWW@box\hfil}% + }\hss +}} +\newcommand*\name [1]{\def\thesendername{#1}} +\newcommand \signature[1]{\def\thesendersignature{#1}} +\newcommand \address [1]{\def\thesenderaddress{#1}} +\newcommand \location [1]{\def\thesenderlocation{#1}} +\newcommand*\telephone[1]{\def\thesenderphone{#1}} +\newcommand*\makelabels{% + \AtBeginDocument{% + \def\@beginlabels{\begin{labels}}% + \def\@beginlabelgroup{\begin{labelgroup}}% + \let\@mlabel\basemlabel + \def\@endlabelgroup{\end{labelgroup}}% + \def\@endlabels{\end{labels}}% + \if@filesw + \immediate\write\@mainaux{\string\@beginlabels}\fi}% + \AtEndDocument{% + \if@filesw\immediate\write\@mainaux{\string\@endlabels}\fi}} +\@onlypreamble\makelabels +\newcommand*\cleardoubleemptypage{\par + \onecolumn + \if@twoside \ifodd\c@page \else + \thispagestyle{empty}\null\newpage + \fi\fi +} +\@ifdefinable\@safe@space{\def\@safe@space#1#2{% + \setbox\z@\hbox{\ignorespaces #1\unskip}% + \ifdim\wd\z@>\z@ + \unhbox\z@ #2% + \else + \unhbox\z@ + \fi +}} +\newenvironment{baseletter}[2]{% + #1% + \@lett@decl{#2}% + \cleardoubleemptypage + \c@page\@ne + \refstepcounter{letter}% + \typeout{Letter \number\c@letter}% + \interlinepenalty 200 % smaller than the TeXbook value + \parskip\medskipamount + \ifx\@indent@pref L\else + \ifx\@indent@pref N% + \setlength\parindent{\z@}% + \else + \ifdim .1\textwidth>2pc + \setlength\parindent{.1\textwidth}% + \else + \setlength\parindent{2pc}% + \fi + \fi + \fi + \@ifnextchar[\x@baseletter\y@baseletter % ] bracket matching +}{% + \stopletter + \@@par\addpenalty\z@ + \clearpage + \@end@letter@hook + \if@filesw + \begingroup + \let\\\relax + \let ~\relax + \let\protect\@unexpandable@protect + \def\and{% + \iffalse{\fi}\expandafter\@gobble\expandafter{\iffalse}\fi + }% + \let\andcc\and + \edef\@cdp@reserved{{\returnaddress}}% + \def\and{% + \iffalse{\fi}^^J% + \string\@mlabel{\@cdp@reserved}{\iffalse}\fi + }% + \let\andcc\and + \immediate\write\@auxout{% + \string\@beginlabelgroup ^^J% + \string\@mlabel + {\@cdp@reserved}{\theaddresseeaddress}^^J% + \string\@endlabelgroup + }% + \endgroup + \fi +} +\@ifdefinable\x@baseletter{\long\def\x@baseletter[#1]#2{% + \def\theaddresseename{#1}% + \def\theaddresseeaddress{#2}% + \@baseletter +}} +\@ifdefinable\y@baseletter{\long\def\y@baseletter#1{% + \@cut@andcc #1\andcc @@@% + \def\theaddresseeaddress{#1}% + \@baseletter +}} +\newcommand\@baseletter[1][]{% + \def\thesubject{#1}% + \if@twoside + \@mkboth{% + \noexpand\@safe@space\noexpand\headtoname\noexpand\enspace + \ignorespaces\theaddresseename\unskip \hfill \noexpand\@date + }{% + \noexpand\@date \hfill + \noexpand\@safe@space\noexpand\headtoname\noexpand\enspace + \ignorespaces\theaddresseename % \unskip put by \@?@head + }% + \else + \@mkboth{}{% + \noexpand\@safe@space\noexpand\headtoname\noexpand\enspace + \ignorespaces\theaddresseename\unskip \hfill \noexpand\@date + }% + \fi + \the\@lett@decl + \@begin@letter@hook +} +\@ifdefinable\@cut@andcc{\long\def\@cut@andcc#1\andcc#2@@@{% + \@cut@and #1\and @@@% +}} +\@ifdefinable\@cut@and{\long\def\@cut@and#1\and#2@@@{% + \@cut@nl #1\\@@@% +}} +\@ifdefinable\@cut@nl{\long\def\@cut@nl#1\\#2@@@{% + \@cut@par #1\par @@@% +}} +\@ifdefinable\@cut@par{\long\def\@cut@par#1\par#2@@@{% + \def\theaddresseename{#1}% +}} +\newcommand*\stopbreaks{% + \interlinepenalty\@M + \def\par{\ifvmode\else\@@par\nobreak\fi}% + \let\\\@nobreakcr + \let\vspace\@nobreakvspace +} +\DeclareRobustCommand\@nobreakvspace + {\@ifstar\@vspacer\@nobreakvspacex} +\@ifdefinable\@nobreakvspacex{\def\@nobreakvspacex#1{% + \ifvmode + \nobreak + \vskip #1% + \vskip\z@skip + \else + \@bsphack + \vadjust{\@restorepar + \nobreak + \vskip #1% + \vskip\z@skip + }% + \@esphack + \fi +}} +\@ifdefinable\@nobreakcr{\def\@nobreakcr{% + \@ifstar{\@normalcr*}{\@normalcr*}% +}} +\newcommand*\startbreaks{% + \interlinepenalty 200% + \let\par\@@par + \let\\\@normalcr + \let\vspace\@@vspace +} +\@ifdefinable\@par@stopbreaks{\def\@par@stopbreaks{% + \par\nobreak\stopbreaks +}} +\@ifdefinable\@@letter{\def\@@letter#1#2#3{% + \ifx#2N% + \renewcommand*\makepresentation{\makenormalpresentation}% + \renewenvironment*{presentation}{% + \normalpresentation + }{% + \endnormalpresentation + }% + \else\ifx#2F% + \renewcommand*\makepresentation{\makefoldedpresentation}% + \renewenvironment*{presentation}{% + \foldedpresentation + }{% + \endfoldedpresentation + }% + \fi\fi + \setlength\senderindentation {\z@}% + \setlength\senderwidth {#3}% + \setlength\addresseeindentation{#3}% + \setlength\addresseewidth {\textwidth}% + \addtolength\addresseewidth{-\addresseeindentation}% + \setlength\signatureindentation{.3\textwidth}% + \setlength\signaturewidth {.6\textwidth}% + \renewcommand*\closingindentation{\parindent} + \renewcommand*\signaturealignment{\centering}% + \standardvertspaces + \baseletter{}{% + #1% + }% +}} +\@ifdefinable\@letter{\def\@letter#1{% + \@@letter{\thispagestyle{#1}}% +}} +\newenvironment*{customletter}{% + \@@letter{}L% +}{\endbaseletter} +\newenvironment*{letter}{% + \@letter{firstpage}N{.5\textwidth}% +}{\endbaseletter} +\newenvironment*{foldedletter}{% + \@letter{foldedpage}F{.5\textwidth}% +}{\endbaseletter} +\newenvironment*{letter*}{% + \@letter{firstpage}N\longindentation +}{\endbaseletter} +\newenvironment*{foldedletter*}{% + \@letter{foldedpage}F\longindentation +}{\endbaseletter} +\newenvironment*{letterhead}{% + \@letter{firstletterhead}N\longindentation +}{\endbaseletter} +\newenvironment*{foldedletterhead}{% + \@letter{foldedletterhead}F\longindentation +}{\endbaseletter} +\@ifdefinable\@block@parshape{\def\@block@parshape{% + \parshape \@ne\@block@inden\@block@width +}} +\@ifdefinable\@block@@everypar{\def\@block@@everypar{% + \parskip\z@skip + \@nobreakfalse \@minipagefalse % these are already \global + \@new@block@false \@empty@and@false % these too + \everypar{\@block@parshape}% +}} +\@ifdefinable\@block@everypar{\def\@block@everypar{% + \@block@parshape + \@block@@everypar +}} +\@ifdefinable\x@custom@block{\def\x@custom@block#1#2#3#4#5#6#7#8#9{% + \@custom@block#1#4#5#6#8#9% + \@block@inden #2% + \@block@width #3% + \def\voidisOK{\global\let\@empty@block\@empty}% + \everypar{\@block@everypar}% + \@@custom@block #7% +}} +\@ifdefinable\y@custom@block{\def\y@custom@block#1#2#3#4#5#6#7#8{% + \@custom@block#1#3#4#5#7#8% + \sbox\@labels{\normalfont\ignorespaces #2\unskip}% + % We use \@labels to save a box register. + \@block@inden\wd\@labels + \ifdim\@block@inden>\z@ + \advance \@block@inden by \subjectnamegap \relax + \wd\@labels\@block@inden + \fi + \@block@width\textwidth \advance\@block@width -\@block@inden + \everypar{% + \parshape \tw@ \z@\textwidth \@block@inden\@block@width + \box\@labels + \@block@@everypar + }% + \@@custom@block #6% +}} +\@ifdefinable\@custom@block{\def\@custom@block#1#2#3#4#5#6{% + \if@inlabel \indent \fi + \let\par\@@par \par + \if@newlist \@noitemerr \fi + \let\makelabel\m@kel@bel + \@nobreakfalse + \@noskipsecfalse + \@totalleftmargin\z@ + \leftskip\z@skip \rightskip\z@skip \@rightskip\z@skip + \parfillskip\@flushglue + \ifx#1Y% + \parskip #2\relax + \ifdim\lastskip>\parskip + \parskip\z@skip + \else + \advance\parskip -\lastskip + \fi + \else + \parskip\z@skip + \fi + \parindent\z@ + \linewidth\textwidth + \hsize\textwidth + \@block@space #4% + \@block@andspace #3% + \@i@penalty #5% + \@e@penalty #6% + \stopbreaks + \@new@block@true \@empty@and@true +}} +\@ifdefinable\@@custom@block{\def\@@custom@block#1{% + \addpenalty #1% + \color@begingroup +}} +\def\end@custom@block#1{\par + \color@endgroup + \if@new@block@ + \@empty@block + \else + \if@empty@and@ + \@empty@and + \fi + \ifx#1Y% + \addpenalty\@e@penalty + \addvspace\@block@space + \fi + \fi + \everypar{}% +} +\newcommand*\makeandvspace{% + \addpenalty\@i@penalty + \addvspace\@block@andspace +} +\newcommand*\makeandcclabel[1][\andccname]{% + \makebox[\z@][r]{\normalfont\@safe@space{#1}\quad}% + \ignorespaces +} +\@ifdefinable\@block@nd{\def\@block@nd{\par + \if@empty@and@ + \@empty@and + \else + \makeandvspace + \fi + \@empty@and@true + \everypar{\@block@everypar}% +}} +\@ifdefinable\@empty@and{\def\@empty@and{% + \ClassWarning{\@letteracdp}{% + \protect\and\space with nothing inside% + }% +}} +\@ifdefinable\@empty@sender{\def\@empty@sender{% + \ClassWarning{\@letteracdp}{% + Empty sender address% + }% +}} +\@ifdefinable\@sender{\def\@sender#1{% + \let\@empty@block\@empty@sender + \let\and\@block@nd + \x@custom@block #1% + \senderindentation\senderwidth + \aboveaddressvspace\andaddressvspace\belowaddressvspace + \@b@frompenalty\@i@frompenalty\@e@frompenalty + \raggedright +}} +\newenvironment*{sender} {\@sender Y}{\end@custom@block Y} +\newenvironment*{sender*}{\@sender N}{\end@custom@block N} +\@ifdefinable\@empty@addressee{\def\@empty@addressee{% + \ClassWarning{\@letteracdp}{% + Empty addressee address% + }% +}} +\@ifdefinable\@addressee{\def\@addressee#1{% + \let\@empty@block\@empty@addressee + \let\and\@block@nd + \def\andcc{\@block@nd + \everypar\expandafter{\the\everypar + \makeandcclabel\relax + }% + }% + \x@custom@block #1% + \addresseeindentation\addresseewidth + \aboveaddressvspace\andaddressvspace\belowaddressvspace + \@b@topenalty\@i@topenalty\@e@topenalty + \raggedright +}} +\newenvironment*{addressee} {\@addressee Y}{\end@custom@block Y} +\newenvironment*{addressee*}{\@addressee N}{\end@custom@block N} +\@ifdefinable\@good@prsbj{\def\@good@prsbj#1{% + \@new@block@false \@empty@and@false + \let\presubject\@bad@prsbj + \vskip\parskip + \leftline{\normalfont\ignorespaces #1\unskip}% + \nobreak + \parskip\presubjectvspace +}} +\@ifdefinable\@bad@prsbj{\def\@bad@prsbj#1{% + \ClassError{\@letteracdp}{% + Misused \protect\presubject% + }{% + At the beginning of the subject of a letter + you can write something like\MessageBreak + \protect\presubject{A short phrase...} + in order to typeset "A short phrase..."\MessageBreak + just above the subject; but the \protect\presubject\space + command must come before\MessageBreak + any other text in the subject, + and it cannot be used twice.\MessageBreak + (If you are wondering where you used the + \protect\presubject\space command,\MessageBreak + recall that both \protect\registered\space and + \protect\registeredRR\space invoke + \protect\presubject.)\MessageBreak + The offending command will be ignored: + try to type \space <return> \space to proceed.% + }% +}} +\@ifdefinable\@subject{\def\@subject#1#2{% + \let\@empty@block\@empty + \y@custom@block #1% + {#2}% + \abovesubjectvspace\z@skip\belowsubjectvspace + \@b@subjpenalty\@M\@e@subjpenalty + \let\presubject\@good@prsbj + \def\registered {\presubject{\registeredname}}% + \def\registeredRR{\presubject{\registeredRRname}}% + \everypar\expandafter{\the\everypar + \let\presubject\@bad@prsbj + }% + \@subject@style +}} +\newenvironment*{subject} [1][\subjectname] + {\@subject Y{#1}}{\end@custom@block Y} +\newenvironment*{subject*}[1][\subjectname] + {\@subject N{#1}}{\end@custom@block N} +\newcommand*\ifemptyblock{% + \if@new@block@ + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} +\@ifdefinable\@makesender{\def\@makesender#1{% + \begin{sender#1}\thesenderaddress\end{sender#1}% +}} +\newcommand*\makesender{% + \@ifstar{\@makesender *}{\@makesender {}}% +} +\@ifdefinable\@makeaddressee{\def\@makeaddressee#1{% + \begin{addressee#1}\theaddresseeaddress\end{addressee#1}% +}} +\newcommand*\makeaddressee{% + \@ifstar{\@makeaddressee *}{\@makeaddressee {}}% +} +\newcommand*\x@makesubject[1][\subjectname]{% + \begin{subject}[#1]\thesubject\end{subject}% +} +\newcommand*\y@makesubject[1][\subjectname]{% + \begin{subject*}[#1]\thesubject\end{subject*}% +} +\newcommand*\makesubject{\@ifstar\y@makesubject\x@makesubject} +\@ifdefinable\@setup@pres{\def\@setup@pres{% + \global\@topnum\z@ % prevents figures from going at top of page + \parskip\z@skip + \parindent\z@ + \@b@frompenalty \@M + \@i@frompenalty \@fold@toppenalty + \@e@frompenalty \@M + \@b@topenalty \@fold@toppenalty + \@i@topenalty \@fold@toppenalty + \@e@topenalty \@M + \@b@subjpenalty \@fold@toppenalty + \@e@subjpenalty \@M + \interlinepenalty\@M + \def\par{\ifvmode\else\@@par\penalty\@fold@toppenalty\fi}% + \let\\\@nobreakcr + \let\vspace\@nobreakvspace +}} +\newenvironment*{presentation}{% + \normalpresentation +}{% + \endnormalpresentation +} +\newenvironment*{normalpresentation}{% + \cleardoublepage + \@setup@pres +}{% + \par + \addpenalty\@e@prespenalty + \addvspace\belowpresentationvspace +} +\@ifdefinable\@nofoldwarning{\def\@nofoldwarning{% + \ClassWarning{\@letteracdp}{% + The paper format you chose does not allow\MessageBreak + folded letters; making normal presentation.\MessageBreak + (Modify \protect\foldedheight\space in the preamble\MessageBreak + if you want to alter the default behavior.)\MessageBreak + Warning issued% + }% +}} +\newenvironment*{foldedpresentation}{% + \if@do@fold@ + \cleardoublepage + \setbox\z@\vbox\bgroup + \@setup@pres + \color@begingroup + \penalty-\@M + \prevdepth\z@ + \else + \@nofoldwarning + \normalpresentation + \fi +}{% + \if@do@fold@ + \@@par + \color@endgroup + \global\dimen@i\prevdepth + \@f@ldingfilbreak\@fold@basepenalty + \vskip\maxdimen % "discourage" the break at the \penalty-10000 + \egroup + \splitmaxdepth\maxdepth + \splittopskip\topskip + \setbox\tw@\vsplit\z@ to\z@ + \splittopskip\baselineskip + \advance\splittopskip\@below@folding@skip + \advance\splittopskip\parskip + \setbox\tw@\vsplit\z@ to\@folding@ht + \nointerlineskip + \box\tw@ + {\baselineskip\@above@folding@margin \nobreak\null}% + \penalty\@highpenalty + \ifvoid\z@ + \vskip\@below@folding@skip + \else + \unvbox\z@ + \unskip % remove "\vskip\maxdimen" + \unpenalty % remove "\penalty\@fold@basepenalty" + \unskip % remove "\vskip \dimen@ plus 1fil minus ..." + \unskip % remove "\vskip -\skip@" + \unpenalty % remove "\penalty 10000" + \prevdepth\dimen@i + \addpenalty\@e@prespenalty + \addvspace\belowpresentationvspace + \ClassWarning{\@letteracdp}{% + Some text that did not fit into the folded flap\MessageBreak + was moved into the main text below the folding;\MessageBreak + warning issued% + }% + \fi + \else + \endnormalpresentation + \fi +} +\newcommand*\iffoldedallowed{% + \if@do@fold@ + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} +\newcommand*\makepresentation{\makenormalpresentation} +\newcommand*\makenormalpresentation{% + \begin{normalpresentation}% + \makesender\relax + \makeaddressee\relax + \makesubject\relax + \end{normalpresentation}% +} +\@ifdefinable\@f@ldingfilbreak{\def\@f@ldingfilbreak#1{% + \ifdim\prevdepth<\maxdepth + \dimen@ -\prevdepth + \else + \dimen@ -\maxdepth + \fi + \skip@ \lastskip + \nobreak + \vskip -\skip@ + \vskip \dimen@ \@plus 1fil\@minus \@above@folding@shrink + \penalty #1% +}} +\@ifdefinable\@foldingfilbreak{\def\@foldingfilbreak#1#2{\par + \@f@ldingfilbreak#1% + \vskip -\dimen@ \@plus -1fil\@minus -\@above@folding@shrink + \vskip \skip@ + \addvspace{#2}% +}} +\@ifdefinable\@fold@getpen{\def\@fold@getpen#1{% + \ifcase #1 \@fold@basepenalty \or \@fold@lowpenalty + \or \@fold@medpenalty \or \@fold@highpenalty + \else \@fold@toppenalty \fi +}} +\newcommand*\foldingbreak[1][\z@]{% + \ifvmode + \penalty\@fold@getpen{#1}% + \else + \@bsphack + \vadjust{\penalty\@fold@getpen{#1}}% + \@esphack + \fi +} +\newcommand*\foldingfilbreak[2][\z@]{% + \@foldingfilbreak{\@fold@getpen{#1}}{#2}% +} +\newcommand*\makefoldedpresentation{% + \if@do@fold@ + \begin{foldedpresentation}% + \renewcommand*\makeandvspace{% + \@foldingfilbreak\@fold@medpenalty\andaddressvspace + }% + \makesender\relax + \@foldingfilbreak\@fold@medpenalty\z@skip + \if@new@block@ + \aboveaddressvspace \z@\@plus1fil\relax + \nointerlineskip\null\nobreak + \fi + \makeaddressee\relax + \@foldingfilbreak\@fold@lowpenalty\z@skip + \makesubject\relax + \end{foldedpresentation}% + \else + \@nofoldwarning + \makenormalpresentation + \fi +} +\@ifdefinable\@make@date{\def\@make@date#1#2#3{\par + \ifx#2Y% + \nobreak\medskip + \fi + \noindent\@safe@space{#1}\space\@date\par + \ifx#3Y% + \nobreak\medskip + \fi +}} +\newcommand*\makedate [1][]{\@make@date{#1}NN} +\newcommand*\maketopdate [1][]{\@make@date{#1}NY} +\newcommand*\makebottomdate[1][]{\@make@date{#1}YN} +\@ifdefinable\@empty@signature{\def\@empty@signature{% + \ClassWarning{\@letteracdp}{% + Empty signature% + }% +}} +\@ifdefinable\@signatureenv{\def\@signatureenv#1{\par + \let\@empty@block\@empty@signature + \let\and\@block@nd + \x@custom@block Y% + \signatureindentation\signaturewidth + #1#1\z@skip + \@M\@M\@M + \signaturealignment\@signature@style +}} +\def\end@signatureenv{% + \end@custom@block N% not "Y" for efficiency + \addvspace\belowsignaturevspace +} +\newenvironment*{signatureenv}{% + \@signatureenv\abovesignaturevspace +}{% + \end@signatureenv +} +\newenvironment*{signatureenv*}{% + \@signatureenv\abovesignatureshortvspace +}{% + \end@signatureenv +} +\@ifdefinable\x@msignature{\def\x@msignature#1{% + \begin{signatureenv#1}% + \ifx\thesendersignature\@empty + \thesendername + \else + \thesendersignature + \fi + \end{signatureenv#1}% +}} +\@ifdefinable\y@msignature{\def\y@msignature{% + \begin{signatureenv}% + \vskip\parskip \vskip\z@skip + \the\everypar + \end{signatureenv}% +}} +\newcommand*\makesignature{\@par@stopbreaks + \@ifstar{% + \x@msignature *% + }{% + \@ifnextchar -{% + \@firstoftwo\y@msignature + }{% + \x@msignature {}% + }% + }% +} +\newcommand*\makeopening{\par + \@ifnextchar +{\@firstoftwo\y@mopening}\x@mopening +} +\@ifdefinable\x@mopening{\def\x@mopening#1{% + \ifx\@indent@pref O% + \dimen@\prevdepth + \setbox\z@\vbox{\color@begingroup + \null + \prevdepth\dimen@ + \noindent\null\ignorespaces #1\par + \global\dimen@i\prevdepth + \color@endgroup}% + \setbox\tw@\vbox{% + \unvcopy\z@ + \setbox\z@\lastbox + \global\setbox\@ne\hbox{\unhbox\z@}% + }% + \ifdim\wd\@ne<2pc + \parindent 2pc\relax + \else\ifdim\wd\@ne>.4\textwidth + \parindent .1\textwidth\relax + \else + \parindent \wd\@ne + \fi\fi + \unvbox\z@ + \prevdepth\dimen@i + \else + \noindent\null\ignorespaces #1\par + \fi + \nobreak +}} +\@ifdefinable\y@mopening{\def\y@mopening{% + \@handwr@box\z@ \nobreak +}} +\newcommand*\opening{\par + \@ifnextchar +{% + \let\@cdp@reserved\y@mopening + \@firstoftwo\@opening + }{% + \let\@cdp@reserved\x@mopening + \@opening + }% +} +\newcommand*\@opening[1][]{% + \makepresentation + \maketopdate[#1]% + \@cdp@reserved +} +\newcommand*\makeclosing{\@par@stopbreaks + \@ifnextchar +{\@firstoftwo\y@mclosing}\x@mclosing +} +\@ifdefinable\x@mclosing{\def\x@mclosing#1{% + \noindent\hspace*{\closingindentation}\ignorespaces #1\par +}} +\@ifdefinable\y@mclosing{\def\y@mclosing{% + \@handwr@box\closingindentation +}} +\newcommand*\closing{\@par@stopbreaks + \@ifstar{% + \@closing{\x@msignature *}% + }{% + \@ifnextchar +{% + \@firstoftwo{\y@mclosing \y@msignature}% + }{% + \@ifnextchar -{% + \@firstoftwo{\@closing \y@msignature}% + }{% + \@closing{\x@msignature {}}% + }% + }% + }% +} +\@ifdefinable\@closing{\def\@closing#1#2{\x@mclosing{#2}#1}} +\@ifdefinable\@handwr@box{\def\@handwr@box#1{% + \vskip .5\baselineskip + \setbox\z@\vbox{% + \hrule\@height .1\p@ \@depth .1\p@ \@width 3\p@ + }% + \wd\z@\z@ \ht\z@\z@ \dp\z@\z@ \noindent\hspace*{#1}\box\z@\par + \vskip .5\baselineskip\vskip\z@skip +}} +\newcommand\@cc@encl[2]{\par + \noindent\parbox[t]{\textwidth}{% + \@hangfrom{\normalfont\@safe@space{#1}\enspace}% + \ignorespaces #2\strut + }\par +} +\newcommand*\cc [1][\ccname] {\@cc@encl{#1}} +\newcommand*\encl[1][\enclname]{\@cc@encl{#1}} +\newenvironment{enclosures}[1][\enclname]{% + \baseenclosures[#1]{}% +}{% + \endbaseenclosures +} +\newenvironment{baseenclosures}[2][\enclname]{\par + \addpenalty{-\@lowpenalty}% + \addvspace{\bigskipamount}% + \startbreaks + \parskip\z@skip + {\parindent\z@ #1\par}% + \list{\labelenumi}{% + \usecounter{enumi}% + \@beginparpenalty\@M + \@itempenalty-\@lowpenalty + \@endparpenalty-\@medpenalty +%% ( paren match + \renewcommand*\labelenumi{\theenumi)}% + #2% + }% +}{% + \endlist + \aftergroup\startbreaks +} +\newcommand*\ps{\par\startbreaks\parindent\z@} +\newcommand*\@PS@rigid [1][\PSname]{% + {\normalfont\@safe@space{#1}\enspace}\ignorespaces +} +\newcommand*\@PS@rubber[1][\PSname]{% + \@safe@space{#1}\space\ignorespaces +} +\newcommand*\PS{% + \ps\@ifstar{\@PS@rubber}{\@PS@rigid}% +} +\newcommand*\stopletter{} +\newcommand*\returnaddress{\thesenderaddress} +\@ifdefinable\@emptyaddrlabels@err{\def\@emptyaddrlabels@err{% + \advance \@cdp@gencount \m@ne + \ClassError{\@letteracdp}{% + Counter emptyaddrlabels out of range% + }{% + The counter emptyaddrlabels holds + the number of labels\MessageBreak + to leave blank when starting to print + the address labels\MessageBreak + (e.g., because some labels + have already been peeled off).\MessageBreak + For the label format you chose, + it must lie in the range\MessageBreak + 0..\number\@cdp@gencount\space (inclusive), + but presently its value is \number\c@emptyaddrlabels.\MessageBreak + It will therefore be ignored; + type \space <return> \space to proceed.% + }% +}} +\newcommand*\skipemptylabels{% + \@cdp@gencount \c@addrlabelrows + \multiply \@cdp@gencount \c@addrlabelcolumns + \ifnum\c@emptyaddrlabels<\z@ + \@emptyaddrlabels@err + \else\ifnum\c@emptyaddrlabels<\@cdp@gencount + \begingroup + \let\ifactuallabel\@secondoftwo + \@whilenum\c@totallabel<\c@emptyaddrlabels\do{\@mlabel{}{}}% + \endgroup + \else + \@emptyaddrlabels@err + \fi\fi +} +\newenvironment*{baselabels}{% + \cleardoubleemptypage + \c@page\@ne + \typeout{Address Labels}% + \pagestyle{empty}% + \textwidth \c@addrlabelcolumns\addrlabelwidth + \count@ \c@addrlabelcolumns + \advance \count@ \m@ne + \ifnum\count@>\z@ + \advance \textwidth \count@\addrlabelshsep + \fi + \linewidth\textwidth \hsize\textwidth + \oddsidemargin -1in% + \advance \oddsidemargin \addrlabelsleftmargin + \evensidemargin \oddsidemargin + \@totalleftmargin\z@ + \leftskip\z@skip \rightskip\z@skip \@rightskip\z@skip + \parfillskip\@flushglue + \textheight \c@addrlabelrows\addrlabelheight + \count@ \c@addrlabelrows + \advance \count@ \m@ne + \ifnum\count@>\z@ + \advance \textheight \count@\addrlabelsvsep + \fi + \@colht\textheight \@colroom\textheight \vsize\textheight + \headsep \z@ + \headheight \z@ + \footskip \z@ + \topmargin -1in% + \advance \topmargin \addrlabelstopmargin + \ifcase \@ptsize\relax + \normalsize + \or + \small + \or + \footnotesize + \fi + \parindent \z@ + \baselineskip \z@skip + \lineskip \z@skip + \boxmaxdepth \z@ + \raggedright + \fboxrule \z@ + \fboxsep \addrlabelborder + \addrlabeltrimwidth \addrlabelwidth + \advance \addrlabeltrimwidth -2\addrlabelborder + \addrlabeltrimheight \addrlabelheight + \advance \addrlabeltrimheight -2\addrlabelborder + \setcounter{totallabel}{\z@}% + \setcounter{label}{\z@}% + \setcounter{letter}{\z@}% + \noindent + \skipemptylabels +}{% + \@killglue\clearpage +} +\newenvironment*{labels}{\baselabels}{\endbaselabels} +\let\@beginlabels=\relax +\let\@endlabels=\relax +\newenvironment*{labelgroup}{\stepcounter{letter}}{} +\let\@beginlabelgroup=\relax +\let\@endlabelgroup=\relax +\newcommand*\labeltab{\@killglue + \ifnum\c@totallabel>\z@ + \count@ \c@totallabel + \divide \count@ \c@addrlabelcolumns + \multiply \count@ -\c@addrlabelcolumns + \advance \count@ \c@totallabel + \ifnum\count@=\z@ + \par\vskip\addrlabelsvsep\noindent + \else + \hskip\addrlabelshsep + \fi + \fi + \stepcounter{totallabel}% + \stepcounter{label}% +} +\let\ifactuallabel\@firstoftwo +\newcommand\basemlabel[2]{% + \begingroup + \def\startaddrlabel{\par + \noindent \vrule\@height\topskip \@depth\z@ \@width\z@ \par + \vskip-\baselineskip \vskip\z@skip + }% + \def\stopaddrlabel{\par + \ifnum\prevdepth>\z@ + \kern -\prevdepth + \prevdepth\z@ + \fi + }% + \labeltab\mlabel{\ignorespaces #1}{\ignorespaces #2}% + \endgroup +} +\newcommand\mlabel[2]{% + \fbox{% + \parbox[c][\addrlabeltrimheight]{\addrlabeltrimwidth}{% + \raggedright\startaddrlabel #2\stopaddrlabel + }% + }% +} +\let\@mlabel=\@gobbletwo +\normalfont \normalsize +\setlength\leftmargini {2em} +\setlength\leftmarginii {2em} +\setlength\leftmarginiii{2em} +\setlength\leftmarginiv {1.75em} +\setlength\leftmarginv {1.5em} +\setlength\leftmarginvi {1.5em} +\setlength\leftmargin {\leftmargini} +\setlength \labelsep {.5em} +\setlength \labelwidth{\leftmargini} +\addtolength\labelwidth{-\labelsep} +\setlength\partopsep{\z@skip} +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty +\def\@listI{\leftmargin\leftmargini + \parsep \smallskipamount + \topsep \medskipamount + \itemsep\smallskipamount} +\let\@listi\@listI +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep\smallskipamount + \parsep\z@skip} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep} +\def\@listiv {\leftmargin\leftmarginiv + \labelwidth\leftmarginiv + \advance\labelwidth-\labelsep} +\def\@listv {\leftmargin\leftmarginv + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep} +\def\@listvi {\leftmargin\leftmarginvi + \labelwidth\leftmarginvi + \advance\labelwidth-\labelsep} +\renewcommand*\theenumi{\@arabic\c@enumi} +\renewcommand*\theenumii{\@alph\c@enumii} +\renewcommand*\theenumiii{\@roman\c@enumiii} +\renewcommand*\theenumiv{\@Alph\c@enumiv} +\newcommand*\labelenumi{\theenumi.} +\newcommand*\labelenumii{(\theenumii)} +\newcommand*\labelenumiii{\theenumiii.} +\newcommand*\labelenumiv{\theenumiv.} +\renewcommand*\p@enumii{\theenumi} +\renewcommand*\p@enumiii{\theenumi(\theenumii)} +\renewcommand*\p@enumiv{\p@enumiii\theenumiii} +\newcommand*\labelitemi{\textbullet} +\newcommand*\labelitemii{\normalfont\bfseries \textendash} +\newcommand*\labelitemiii{\textasteriskcentered} +\newcommand*\labelitemiv{\textperiodcentered} +\newenvironment*{description} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep + \normalfont\bfseries #1} +\newenvironment*{verse} + {\let\\\@centercr + \list{}{\setlength\itemsep{\z@skip}% + \setlength\itemindent{-15\p@}% + \setlength\listparindent{\itemindent}% + \setlength\rightmargin{\leftmargin}% + \addtolength\leftmargin{15\p@}}% + \item[]} + {\endlist} +\newenvironment*{quotation} + {\list{}{\setlength\listparindent{1.5em}% + \setlength\itemindent{\listparindent}% + \setlength\rightmargin{\leftmargin}}% + \item[]} + {\endlist} +\newenvironment*{quote} + {\list{}{\setlength\rightmargin{\leftmargin}}% + \item[]} + {\endlist} +\setlength\parindent{2em} +\setlength\parskip{\z@ plus \p@} +\setlength\columnsep{10\p@} +\setlength\columnseprule{\z@} +\setlength\arraycolsep{5\p@} +\setlength\tabcolsep{6\p@} +\setlength\arrayrulewidth{.4\p@} +\setlength\doublerulesep{2\p@} +\setlength\tabbingsep{\labelsep} +\skip\@mpfootins = \skip\footins +\setlength\fboxsep{3\p@} +\setlength\fboxrule{.4\p@} +\renewcommand*\theequation{\@arabic\c@equation} +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax} +\DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}} +\DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}} +\renewcommand*\footnoterule{% + \kern-\p@ + \hrule \@width .4\columnwidth + \kern .6\p@} +\long\def\@makefntext#1{% + \noindent + \hangindent 5\p@ + \hb@xt@5\p@{\hss\@makefnmark}#1} +\newcommand*\subjectname {Oggetto:} +\newcommand*\registeredname {Raccomandata} +\newcommand*\registeredRRname{\registeredname~A.R.} +\newcommand*\andccname {e~p.~c.} +\newcommand*\ccname {P.~c.:} +\newcommand*\enclname {Allegati:} +\newcommand*\PSname {P.S.:} +\newcommand*\headtoname {A:} +\newcommand*\today{\number\day~\ifcase\month\or + gennaio\or febbraio\or marzo\or aprile\or maggio\or giugno\or + luglio\or agosto\or settembre\or ottobre\or novembre\or dicembre\fi + \space\number\year} +\let\do\@undefined +\pagestyle{plain} +\pagenumbering{arabic} +\raggedbottom +\onecolumn +\endinput +%% +%% End of file `letteracdp.cls'. |