%% %% 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 . %% %% 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'.