LaTeX forum ⇒ Generalletters and logos

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

letters and logos

Postby ddenton » Tue May 15, 2007 10:26 pm

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?

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

Postby balfonsi » Wed May 16, 2007 12:33 am

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
Location: Berlin, Germany

Postby countbela666 » Wed May 16, 2007 8:12 am

Hi,

here a minimum example with the KOMA-Script scrlttr2 class:
  1. \documentclass[demo,english]{scrlttr2}
  2. \usepackage{babel,blindtext,graphicx}
  3. \begin{document}
  4. \KOMAoptions{fromlogo=true}
  5. \setkomavar{fromname}{Me}
  6. \setkomavar{fromaddress}{Here}
  7. \setkomavar{fromlogo}{\includegraphics[width=5in,height=1cm]{foo}}
  8. \firsthead{\centering\usekomavar{fromlogo}}
  9. \begin{letter}{You\\There}
  10. \opening{Cheers,}
  11. \blindtext
  12. \closing{cu}
  13. \end{letter}
  14. \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

Postby ddenton » Tue May 29, 2007 10:41 pm

Thank you - un gros merci !


Return to “General”

Who is online

Users browsing this forum: Google [Bot] and 7 guests