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 write a cover letter using the newlfm document class.

It's okay for the letter but every page introduces a hideous top and bottom rule line. Has anyone used this and knows how to remove?

The example code I'm using is here: http://tex.stackexchange.com/a/15534

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Adding this to your preamble should work:

\makeatletter
\g@addto@macro{\ps@ltrhead}{%
  \renewcommand{\headrulewidth}{0pt}%
  \renewcommand{\footrulewidth}{0pt}%
}
\g@addto@macro{\ps@othhead}{%
  \renewcommand{\headrulewidth}{0pt}%
  \renewcommand{\footrulewidth}{0pt}%
}
\makeatother

It is because the class internally uses the package fancyhdr and this is the stardard way to remove the header and footer lines in this package. The class defines two styles, ltrhead and othhead, this way, we remove the lines from both of them.

share|improve this answer
    
Fantastic, thanks, –  user1170304 Jan 10 '13 at 11:02
    
For future viewers, adding \newlfmP{noLines} should also work. –  jthetzel Jun 24 at 16:40

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.