46 Comments

  1. Dude whoever u are u are doing a great help here…i was recently initiated into the world of TeX… Never turned to Word again.
    I have always been wanting to know how to write letters in LaTeX…
    Thanks for the tip…i really didnt know it was this damn simple…

  2. Simon Tyrberg

    Thanks for the tip – one question though: is it possible to somehow include pictures in letters? It seems when I’m trying that the “figure” environment isn’t defined when you use the “letter” documentclass.

  3. There are a lot of different styles out there to help with writing letters.
    I’m from the Netherlands and the dutch TUG (TeX User Group) provides a style for dutch letters.
    It is the only way for me now to write letters. It looks very professional.
    It also supplies info like a reference number and a “in response to” field.

  4. tom

    @Simon

    You can include figures in letters, but it seems indeed that the floating environment is not working.
    Try this:
    1.

    \usepackage{graphicx}

    2.

    \includegraphics[scale=...]{yourFile}

    without the floating environment “figure”. It works fine for me, you can center the image, but not add caption and label.

    Hope this helps,
    Tom

  5. pastcounts

    You could also try the letter format in KOMA-script bundle; it provides replacement for all the basic document classes, with nice additional formatting options. The letter class is especially powerful, and I guess its full potential could only be realised in business environments, but it has served well for my personal needs, also. KOMA-script classes are present at least in MixTex, TeX-Live and teTeX.

  6. dicktaid

    I tried to use the letter-class but couldn’t get it working. This simple guide whoever solved my problems. I didn’t know it was this simple! Thanks!

  7. Gilberto

    I’m also new to TeX and LaTeX (as well as to Aquamacs) and I’m loving it. I’m two weeks into this and I’m really looking forward to not using Word or even Pages and OpenOffice again. Thanks for the instructions on how to make letters!!!

  8. Paul

    I’m can’t get the telephone number to display using \telephone{2342}. I’ve tried adding the command \pagestyle{firstpage} but that dosen’t work. Any ideas?

    Also, I would like the closing text eg “Yours faithfully” flushed left – not centered. How do I do that? Cheers.

    • Hi Paul,

      When I define the \telephone{}, it displays in the bottom right corner. If you would like it to be part of your address, just use an additional line in the address command.
      Now for your second question, I tried to flush it left. You can actually do it without a major effort, by simply using \name{…} instead of \address{…}. The trade-off is that your address is no more located above the date, but below your signature. Up to you to decide what suits you the better.

      Cheers,
      Tom.

    • Summa

      You get both the phone number and the closing flushed left when the letter is formatted for use with a letterhead. You get this when you don’t use the \address command. When you use \address the letter is formatted as a personal letter, without a phone number.

  9. Pablo

    Thanks for this blog. VERY USEFUL.
    I just finished writing my thesis in LaTeX, a 267 page document with lots of figures and tables, but I needed to write a letter and I was totally blocked. I never went back to WORD and I wasn’t about to succumb. Your letter example got me going again with a simple but elegant letter, thanks.

  10. Maggie

    I am trying include a .jpg picture of my signature between the closing and my name in the standard \documentclass{letter} and cannot get any figure to load in at all. Any ideas? I tried what was described before with \usepackage{graphicx} and then just put in \includegraphics{largesignature.jpg} but it has not worked.

  11. sarvesh

    I am trying to make the first letter capital for encl. used in letter latex as By using \encl{Certificates} output appear as encl. Certificates. Is there any way to display “Encl. Certificates” instead of “encl. Certificates” in letter? Please help me.

  12. mrtumtum

    Nice job,
    hth another user

    \documentclass{letter}
    \signature{Michael Reavey\\Librarian}
    \address{Potter Thomas Promise Academy \\Philadelphia, Pennsylvania}
    \begin{document}
    \begin{letter}{Candidate Selection Committee}
    \opening{Dear Sir or Madam:}
    \dots
    \closing{Sincerely,}
    
    \end{letter}
    \end{document}

    I’m using auctex
    got rid of the first three lines in the buffer when starting emacs and your code compiled right away.

  13. Demis

    I was busy looking around this page for the *.tex template bundle, or whatever package I need – Until I realized i was already looking at it in your few lines of code!

    Awesome! Thanks!!!

  14. Santosh

    Hi Tom,
    Thanks for the post. It is indeed very convenient to use latex for writing letters.

    It seems that the letter environment inserts the date by default. How can I tell it not to include the date.

    My preamble is bare minimum and it only contains: \documentclass{letter}

    • Hey Santosh,

      Thanks for your questions. Adding \date{} as the first line within the letter environment will prevent the date from being shown.

      \begin{letter}{Company name...}
      \date{}
      ...
      \end{letter}

      Best, Tom.

  15. Gregory Nash

    I’m using latex instead of email because I want to be able to refer to my figures within text instead of attaching them and hoping my reader knows which one I’m talking about. i want to keep things informal, so i’d prefer to write a letter, but i’m going to have to use the report class or something in order to have figures. can’t some latex guru just copy and paste some code so that i can have my cake and eat it too?

  16. Larry Dickson

    Hi,
    Is there any way (other than inserting artificial spaces in the address) to make the address line up with the closing?

    • Hi Larry,
      I can’t help you with that, sorry. I’d suggest you use an alternative package. See here for some options, e.g. newlfm.

      Since the letter class is old and not very popular, I’ll try to write a post on one of the newer packages…

      Cheers, Tom

  17. Reinhard Neuwirth

    How can I control the date of the letter? Today’s date seems to be inserted automatically.

      • Reinhard Neuwirth

        While we are on the subject, do you know if there is a way to override \today in document classes other than letter. The trick you suggested seems to work for the letter class only.

      • tom

        Which class do you use? It works for the standard document classes: article, report, and book. Here’s an example:

        \documentclass[11pt]{article}
        \begin{document}
        
        \title{Some fancy title}
        \author{Myself}
        \date{April 20, 2016}
        \maketitle
        
        \end{document}

Leave a Reply