Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to use the newlfm package to put together a LaTeX letterhead. (Thankfully, my college's letterhead is text-only, so I don't have to worry about fancy logos or the like.) I've gotten fairly close to making it work, but newlfm insists on putting horizontal rules below the letterhead (and above the footer, which is currently empty.)

How can I tell newlfm not to insert these rules? I know that newlfm uses fancyhdr under the hood, so I tried inserting the commands

\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

in my preamble, but it didn't have any effect. (Explicitly loading fancyhdr didn't in the preamble didn't make a difference.) I also tried putting these commands inside the definition of the Williamsltr wrapper, but that didn't work either. The documentation doesn't seem to mention these horizontal rules at all.

Any thoughts? I'd like to use newlfm if at all possible, but if getting rid of these rules is more than a minor tweak, I'm open to using another package instead.

\documentclass[orderfromdateto,sigcenter]{newlfm}
\usepackage[T1]{fontenc}
\usepackage{baskervald}
\usepackage{lipsum}

\newsavebox{\Wlogo}
\savebox{\Wlogo}{\parbox{6in}{\Large WILLIAMS COLLEGE \hspace{5mm} \normalsize
WILLIAMSTOWN, MASSACHUSETTS 01267-2693}}

\makeaddress{WillPhys}{
\addr{ \parbox{3in}{\begin{flushright}\emph{DEPARTMENT OF PHYSICS} \\
  33 Lab Campus Drive \\
  Williamstown, MA 01267 \\
  (413) 597-2482 \end{flushright}}
}
\name{Michael Seifert}
}

\makeletterhead{Williamsltr}{%
 \setadrfr{\adrWillPhys}\Lheader{\usebox{\Wlogo}}%
}

\lthWilliamsltr

\begin{document}
\greetto{To Whom It May Concern,}
\closeline{Sincerely,}
\begin{newlfm}

\lipsum[1-2]

\end{newlfm}

\end{document}
share|improve this question
    
Upon further investigation, it appears that the header rule also appears on the second page of the letter, but (interestingly) the footer rule doesn't. –  Michael Seifert Dec 11 '12 at 22:51

2 Answers 2

up vote 4 down vote accepted

The width for those rules is given by \@Hrw (for the header rule) and \@Frw (for the footer rule), so it's enough to set those lengths to zero:

\documentclass[orderfromdateto,sigcenter]{newlfm}
\usepackage[T1]{fontenc}
\usepackage{baskervald}
\usepackage{lipsum}

\newsavebox{\Wlogo}
\savebox{\Wlogo}{\parbox{6in}{\Large WILLIAMS COLLEGE \hspace{5mm} \normalsize
WILLIAMSTOWN, MASSACHUSETTS 01267-2693}}

\makeaddress{WillPhys}{
\addr{ \parbox{3in}{\begin{flushright}\emph{DEPARTMENT OF PHYSICS} \\
  33 Lab Campus Drive \\
  Williamstown, MA 01267 \\
  (413) 597-2482 \end{flushright}}
}
\name{Michael Seifert}
}

\makeletterhead{Williamsltr}{%
 \setadrfr{\adrWillPhys}\Lheader{\usebox{\Wlogo}}%
}

\lthWilliamsltr

\makeatletter
\setlength\@Hrw{0pt}
\setlength\@Frw{0pt}
\makeatother

\begin{document}
\greetto{To Whom It May Concern,}
\closeline{Sincerely,}
\begin{newlfm}

\lipsum[1-2]

\end{newlfm}

\end{document}

enter image description here

share|improve this answer
    
That works beautifully. Thanks! –  Michael Seifert Dec 12 '12 at 14:48

Just add these two commands to the body of your document:

    \noHeadline
    \noFootline
share|improve this answer

Your Answer

 
discard

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.