% Author: Maurizio Loreti, aka MLO or (HAM) I3NOO % Work: University of Padova - Department of Physics % Via F. Marzolo, 8 - 35131 PADOVA - Italy % Phone: +39 (049) 827-7216 FAX: +39 (049) 827-7102 % EMail: loreti@pd.infn.it % WWW: http://www.pd.infn.it/~loreti/mlo.html % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % A class for official letters from the Department of % Physics of the University of Padova, Italy. It is a % simple interface to the ``letter'' class, that prints in % the first page the Department header and the University % seal and selects for the following pages the ``plain'' % page style. % % N.B.: the offsets have been found by trial and error, and % are intended for A4 paper. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % $Id: unipad.cls,v 1.4 2005/01/03 12:58:29 loreti Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{unipad}[2005/01/03 University of Padova letter class] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}} \ProcessOptions\relax \LoadClass[a4paper]{letter} \RequirePackage{graphicx} \RequirePackage{geometry}[2002/07/08] % The interface with the ``geometry'' class has changed with % the release of July, 2002 \geometry{a4paper, centering, margin=1.5in, nomarginpar, ignoreheadfoot} % Seal (scanned); headers (in Helvetica); footer (also in % Helvetica). \newsavebox{\uniHead} \newsavebox{\uniFoot} \sbox{\uniHead}{% \parbox[t]{\textwidth}{% \begin{center} {\includegraphics[width=20mm]{bo.eps.gz}} \\[1mm] {\fontfamily{phv}\fontseries{m}\fontsize{12}{16}\selectfont UNIVERSIT\`A DEGLI STUDI DI PADOVA} \\[1mm] {\fontfamily{phv}\fontseries{m}\fontsize{14.5}{19}\selectfont DIPARTIMENTO DI FISICA ``GALILEO GALILEI''} \end{center}}} \sbox{\uniFoot}{% \parbox[t]{430pt}{% \rule{430pt}{0.1mm}\\[10pt] \fontfamily{phv}\fontseries{m}\fontsize{6}{8}\selectfont% \centering\mbox{% Via F.\ Marzolo 8 - 35131 Padova - Telefono +39 (049) 827-5111 - FAX +39 (049) 827-7102 - Codice Fiscale 80006480281 - Partita IVA (VAT) 00742430283}}} \renewcommand{\ps@headings}{% \renewcommand{\@oddhead}{% \raisebox{20pt}[0pt]{\usebox{\uniHead}}}% \renewcommand{\@oddfoot}{\raisebox{-30pt}[0pt]{% \makebox[\textwidth][c]{\usebox{\uniFoot}}}}% \renewcommand{\@evenhead}{}% \renewcommand{\@evenfoot}{}% } \providecommand{\@oddhead}{} \providecommand{\@oddfoot}{} \providecommand{\@evenhead}{} \providecommand{\@evenfoot}{} \pagestyle{plain} \thispagestyle{headings} % A special command to be prepended to the letter, in order % to let a reasonable amount of space under the header. \newcommand{\FirstPage}{\par\vspace*{30mm}} \endinput %% %% End of `unipad.cls'