Generalletters and logos

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ddenton
Posts: 34
Joined: Tue Mar 20, 2007 6:08 pm

letters and logos

Post by ddenton »

Why is it that the shortest and simplest documents are the hardest to do in Latex?

I have a logo that I want at the top of the first page of the letter. I want to the logo to occupy a band about 7 in wide across the top of the page. I have tried all kinds of letter styles and have not found one that I can make work for this, including akletter, scrlttr2 for Koma etc. Most of the styles out there seem to want to put the logo in one corner of the page. I want it to go right across the top.

Anyone know how to do this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: letters and logos

Post by balfonsi »

Try the 'lettre' class, which has the possibility to define logos in its headings. The documentation (in french) has some examples and you can change many default parameters for the layout.

B.A.
User avatar
countbela666
Posts: 64
Joined: Thu Apr 26, 2007 2:44 pm

letters and logos

Post by countbela666 »

Hi,

here a minimum example with the KOMA-Script scrlttr2 class:

Code: Select all

\documentclass[demo,english]{scrlttr2}
\usepackage{babel,blindtext,graphicx}
\begin{document}
  \KOMAoptions{fromlogo=true}
  \setkomavar{fromname}{Me}
  \setkomavar{fromaddress}{Here}
  \setkomavar{fromlogo}{\includegraphics[width=5in,height=1cm]{foo}}
  \firsthead{\centering\usekomavar{fromlogo}}
  \begin{letter}{You\\There}
    \opening{Cheers,}
    \blindtext
    \closing{cu}
  \end{letter}
\end{document}
Regards
Marcel
Listen to me children of the night, beyond the doors of darkness you will find
a thousand worlds for you to see here, take my hand and follow me...
ddenton
Posts: 34
Joined: Tue Mar 20, 2007 6:08 pm

Re: letters and logos

Post by ddenton »

Thank you - un gros merci !
Post Reply