This is how my letter looks like

\documentclass[a4paper, 11pt]{letter}


\newcommand{\DocumentTitle}{Motivation Letter}
\newcommand{\Author}{John Smith}

\setmainfont{Times New Roman}
\newfontfamily\hdrfont[ LetterSpace=5.0, WordSpace=1.0, Scale=0.9, Color=FFFFFF ]{Arial}


\fancyhf{} % clear all header and footers
\fancyhead[L]{\hdrfont\textbf{\DocumentTitle} \\ \emph{\Author}}
\fancyfoot[L]{\hdrfont\textbf{\DocumentTitle} \\ \emph{\Author}}


\name{ \Author }
\signature{ \Author }
\renewcommand{\today}{ February 16, 2009 }

\opening{To Whom It May Concern,}
My Letter


What like the pdf looks like

--------------------------------------- PAGE BEGIN
--------------------------------------- HEADER RULE
To Whom It May Concern,---------------- TEXT BEGIN
My Letter
Respectfully,-------------------------- closing
John Smith----------------------------- signature
--------------------------------------- TEXT END
--------------------------------------- FOOTER RULE
--------------------------------------- PAGE END

I want that H = F M1 = M2 and length S is too big. But now, H != F and M1 != M2. How I can achieve that?


For having H = F include includehead,includefoot in the option of geometry.

For reducing the space between the closing and the signature you can use the etoolbox package to patch the distance:



\pathcmd{\closing}{6\medskipamount}{<insert the distance you prefer>}{}{}

It seems to me that to vertically center the content of the letter (i.e., M1 = M2) would require a substantial rewriting of the letter class. One has to consider whether it does not fit in one page, and then processing it accordingly.

  • I added includehead,includefoot (\usepackage[hmargin=1in,vmargin=1.2in,includehead,includefoot]{geometry}). Still H != F.
    – user14416
    Nov 16 '12 at 16:04
  • Have you removed the \setlength{\headheight} line from your code?
    – Guido
    Nov 16 '12 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.