I'm using the following code to create a letter template with a signature in newlfm. I'm getting a series of errors associated with the command
\sbox{\Sigx}
. The code works in that it generates a letter that looks like I need it to. But it's awkward because it creates several errors of the type ("Missing number, treated as zero") and ("Undefined control sequence <argument> \Sigx")
Code: Select all
\documentclass[stdletternofrom,orderfromtodate]{newlfm}
\newlfmP{headermarginsize=12pt, topmarginskip=24pt, bottommarginskip=24pt, sigtr=test, noLines}
\makesignature{test}{\newsavebox{\Signature}
\sbox{\Sigx}{\includegraphics[scale=0.5]{my_signature_filename.jpg}}
\closeline{Yours truly,}%
\signature{\usebox{\Sigx}}%
\signame{My_name.phg}%
}
\newsavebox{\logo}%
\sbox{\logo}{%
\parbox{2 in}{%
\includegraphics[scale=0.5,ext=.pdf]
{logo_filename.jpg}%
\begin{center}
\makebox[2.2 in][c]{\emph{Founded in 1911}}
\end{center}}%
}%
\makeletterhead{myheader}{\Cheader{\usebox{\logo}}}
\lthmyheader
\nameto{Recipient} \addrto{Address\\}
\Cfooter{My address}
\begin{document}
\begin{newlfm}
Test
\end{newlfm}
\end{document}
Yours,
Simon Kiss