TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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