I'm trying to write a cover letter that has a logo on the left header and my name on the right header, with a line that runs across the top of the page. At the moment I have something like this:

    \documentclass[11pt,article, garamond addrfromright]{newlfm}

\sbox{\Ltlfoot}{\scalebox{.65}{Tax Administration Research Centre, 
        University of Exeter Business School,
        Streatham Court,
        Rennes Drive,
        Exeter EX4 4PU}}


\Rfooter{\thepage\ of \pageref{LastPage}}
\rfooter{\thepage\ of \pageref{LastPage}}

\newlfmP{sigsize=2pt, minfoot=\myfootheight}

\namefrom{xxx \\
xxx \\
xxx \\
University of Exeter Business School}
    xxx \\

xxx \\
xxx \\

\greetto{Dear Members of the Search Committee:}
\closeline{Best Regards,}

Sample Text 


I like the footer a lot. But I can't figure out how to insert a name on the left side of the header and a line across the top header.

Thanks in advance for your help.

  • I can't compile your MWE. You should exchange the taex with example-image in the MWE. Also I get the error: Undefined control sequence: \fancy@reset – Skillmon likes topanswers.xyz Sep 7 '17 at 8:21
  • See the fancyhdr manual for \headrulewidth. For example \renewcommand{\headrulewidth}{0.4pt} in page 6 – selwyndd21 Sep 7 '17 at 8:21
  • Sorry about that. I forgot to delete the fancyhdr. I included the example-image and should now compile. – John D'Attoma Sep 7 '17 at 18:28
  • I still get the very same error concerning \fancy@reset. – Johannes_B Nov 12 '17 at 10:57

Your Answer

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

Browse other questions tagged or ask your own question.