# Adding a EPS file to a cover letter created by newlfm package

I am working on a cover letter provided by latextemplates.com that uses newlfm package:

http://www.latextemplates.com/template/long-lined-cover-letter

I would like to add my signature (as a EPS) file to the end of the letter, just above my name. Has anyone had experience with that? I would appreciate your help.

Here is the code:

\documentclass[10pt,stdletter,dateno,sigleft]{newlfm} % Extra options: 'sigleft' for a left-aligned signature, 'stdletternofrom' to remove the from address, 'letterpaper' for US letter paper - consult the newlfm class manual for more options

%\usepackage{charter} % Use the Charter font for the document text
\usepackage{epstopdf}

\newsavebox{\Luiuc}\sbox{\Luiuc}{\parbox[b]{1.0in}{\vspace{0.5in}
\includegraphics[width=1.5 \linewidth]{mac.eps}}} % Company/institution logo at the top left of the page

\newlfmP{sigsize=0pt} % Slightly decrease the height of the signature field
\PhrPhone{Phone} % Customize the "Telephone" text
\PhrEmail{Email} % Customize the "E-mail" text

\lthUiuc % Print the company/institution logo

%----------------------------------------------------------------------------------------
%   YOUR NAME AND CONTACT INFORMATION
%----------------------------------------------------------------------------------------

\namefrom{My name} % Name

\today\\[12pt] % Date
}

\phonefrom{(345345} % Phone number

%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------

\greetto{Dear Mrs. Smith,} % Greeting text
\closeline{Sincerely yours, \\\includegraphics[width=0.5 \linewidth]{sign.eps}}

\nameto{Mrs. Jane Smith} % Addressee of the letter above the to address

Recruitment Officer \\ % To address
The Corporation \\
123 Pleasant Lane \\
City, State 12345
}

%----------------------------------------------------------------------------------------

\begin{document}
\begin{newlfm}

%   LETTER CONTENT

\end{newlfm}
\end{document}

• What's the problem? – Ian Thompson Oct 6 '14 at 14:16
• – Werner Oct 6 '14 at 14:18
• I use \closeline{Sincerely yours, \\\includegraphics[width=0.5 \linewidth]{sign.eps}}, It inserts the signiture and gives me the output, but there is an error at begin{newlfm}. – Majid.t Oct 6 '14 at 16:41
• Please provide an example code that reproduces the problem. Without this it may be difficult for anyone to help you. – Ian Thompson Oct 6 '14 at 20:37

Actually this is not caused by the graphics; the problem is the line break in the argument to \closeline. Simply using \newline in place of \\ resolves the issue.
\documentclass{newlfm}