# Latex letter signature as image

Trying to place an image (scan of one’s signature) between the closing and the name in a letter will unfortunately not result in a nice formatting. Latex automtically adds some space for a manual signature between the closing and the printed name. This space will not automatically disappear if you place your signature as an image there. Neither will it disappear if you place the image directly in the \signature declaration. But, as you might have guessed, there is a work-around:

Remove the \signature{Your name} declaration (see this sample letter) and just replace the \closing{Yours Faithfully,} by:

\closing{Yours faithfully,\\
\fromsig{\includegraphics[scale=1]{signature.jpg}} \\
}

#### 13 Responses to “Latex letter signature as image”

• Anil Duggirala

Thanks for that, the link for the sample letter doensnt include a graphics signature though.

• Hugh

This saved me.

Thanks a lot.

• CB

Be sure to include \usepackage{graphicx} in the beginning of your document.

• hqube

Thanks. I’ve been looking for this. This one of the last reasons why I’m not using tex for most of my document needs. JPG/PNG didn’t work for me though. I used EPS instead.

I would just like to add; To ovelap the signature image with the signature name, add a negative \vspace before \fromname.

• noname

“This space will not automatically disappear … “: it does if you set the parameter in [ ]: \closing{Sincerely, \\[0.0in] \includegraphics ….. name}.

• t

noname’s comment worked for me.

I was using \signature, but the extra space after \closing was annoying.

• Including an image of your signature in a LaTeXed letter. « AmShazam.

[...] coup of the morning: figuring out how to include a .jpg of my signature in my LaTeXed cover letter. Looks [...]

• Dennis

Awesome hack, thanks!

• unixLover

This worked like a charm!!! thanks a lot!!!

• STK

The above, while simple to implement, will not remove the space allocated for the signature block in the letter. It simply makes it “empty” space and adds the signature elements into the \closing{} text. LaTeX will still put in this space after the \closing{} text when compiling. This will cause an overflow and breaking to a new page prematurely. I found this out the hard way while trying to keep a letter to a single page.

You can change how \closing{} works by including the following in the header:

\renewcommand{\closing}[1]{\par\nobreak\vspace{\parskip}%
\stopbreaks
\noindent
\hspace*{\longindentation}\fi
\parbox{\indentedwidth}{\raggedright
\ignorespaces #1\\[0.0in]%
\ifx\@empty\fromsig
\fromname
\else \fromsig \fi\strut}%
\par}

Then, just add the image to the \signature{} command as:

\signature{\includegraphics[height=.7in]{Signature.png} \\ Your Name}

and things should work fine with no extra (blank) space after the signature block.

• ice

Thanks, STK!