LettersDigitized signature in package lettre?

Formal letters, Cover letters, Newsletters
Post Reply
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Digitized signature in package lettre?

Post by erwann »

Is there a way obtain a digitized signature over printed name using 'lettre'? I guess not, that would be feature request.

Code: Select all

\includegraphics[]{sig.png}
\signature{Dr~S.~E.~Dnavegem}
Attachments
Screen Shot 2016-08-25 at 10.37.41 PM.png
Screen Shot 2016-08-25 at 10.37.41 PM.png (24.91 KiB) Viewed 65559 times
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Digitized signature in package lettre?

Post by erwann »

For anyone interested in a digitized signature inside a French letter, I suggest this and this.
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10275
Joined: Mon Mar 10, 2008 9:44 pm

Digitized signature in package lettre?

Post by Stefan Kottwitz »

Yes, \includegraphics is a simple and straightforward way. Then it's just about positioning.

Stefan
LaTeX.org admin
erwann
Posts: 75
Joined: Thu Aug 25, 2016 2:24 am

Digitized signature in package lettre?

Post by erwann »

Stefan_K wrote:Yes, \includegraphics is a simple and straightforward way. Then it's just about positioning.

Stefan
It's simple, but no so much when it is combination with a signature. For KOMA (from the link already cited):

Code: Select all

\newsavebox\signaturebox
\sbox\signaturebox{%
  \begin{tabular}{@{}c@{}}
    \smash{\includegraphics[height=2.25em]{example-image.pdf}}\\[5pt]
    (\usekomavar{fromname})
  \end{tabular}}
\setkomavar{signature}{\usebox{\signaturebox}}%
Also, if you have a similar solution for package 'lettre', feel free to post it.
x_86 / Linux Mint 18.3 / texlive 2015.20160320-1ubuntu0.1 / TeXworks 0.5r1361 (Debian)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10275
Joined: Mon Mar 10, 2008 9:44 pm

Digitized signature in package lettre?

Post by Stefan Kottwitz »

Life can be easier, such as:

Code: Select all

\signature{\includegraphics[width=10em]{signature}\\Dr~S.~E.~Dnavegem\\ Collaborateur Scientifique}
Gave me with a signature from Lara Croft :-) and lettre (letex3.tex):
letter-signature.png
letter-signature.png (28.74 KiB) Viewed 65506 times
Stefan
LaTeX.org admin
Vgupta12
Posts: 1
Joined: Thu Apr 05, 2018 11:59 am

Digitized signature in package lettre?

Post by Vgupta12 »

It awesome!!
Post Reply