[texhax] letterhead

Renato Pontefice renato.pontefice at gmail.com
Wed Apr 20 10:21:02 CEST 2011


Hi,
I' new to the list. I would create my letterhead.
I'm using facy class. I woud have a first page with header and footer, and just 
header for the rest of the doc.

I write this code:

--------------------
\documentclass{letteracdp}
\usepackage[italian]{babel}
\usepackage{graphicx}
\usepackage{fancyhdr}


\pagestyle{fancy}

\fancyhf{}
\fancyhead[C]{\includegraphics[width=.2\columnwidth]{logo}\quad \hrulefill}
\fancyfoot[C]{\tiny street 1, 0100 rome\\ 
\\xyzxyzxyz \includegraphics[width=.1\columnwidth]{logo2}}


\fancypagestyle{firstpage}
\fancyhf{}
\fancyhead[R]{\hrulefill  \includegraphics[width=.2\columnwidth]{logo}\quad }


\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\familydefault}{\sfdefault}

\address{Sign. Topolino,\\
   via Astuti, 34 \\
   Topolinia}
\signature{Topolino}

\begin{document}
\begin{letter}{Sign. Pippo,\\
   via Distratti, 77 \\
   Topolinia}[oggetto (opzionale) della lettera]

\thispagestyle{fancy}

\opening{Buongiorno,}

Testo della lettera. Bla bla bla bla bla bla bla

but, this doesn't work. I have both the header in the first and other pages :-(

what's wrong?

TIA

Renato


More information about the texhax mailing list