Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What is the correct way to add a signature figure to an article in LaTeX? I need to sign an article by adding the image of my signature under my typeset name.

This are the packages and the document class I'm using now:

\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage[greek, italian]{babel}
\usepackage{fullpage}

\usepackage{boxedminipage}
\usepackage{listings}
\usepackage{minitoc}
\usepackage{graphicx}

Now my name is aligned onto the right of the page by using:

\flushright\parbox{5cm}{Daniele Spinosa}

like a letter signature. I'd like to add my signature image below it. How can I do that?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Mica essentially answered your question. To make it slightly more complete: Instead of

\flushright\parbox{5cm}{Daniele Spinosa}

(you don't need the \parbox here) use

\flushright
Daniele Spinosa
\includegraphics[width=2.5cm]{sig.jpg}

(You might want to adjust the 2.5cm.)

share|improve this answer
    
\flushrigth is not a valid commad it's the internal start of the {flushright} environment. Better use \raggedleft or \hspace*{\fill}Daniel, if only a single line should be pushed to the right margin, instead ... –  Tobi Nov 1 '13 at 23:34

First of all, if your signature is scanned as a bitmap file such as PNG or JPG, try to convert it to vector with potrace. If you use Inkscape this is pretty straightforward. Save it as PDF. It will be much prettier.

Then you want to \includegraphics but set the bounding box to make the graphic reserve less space than its actual extent. That produces an effect like you're writing on paper.

Yours TeXnically,

Microspino

\includegraphicics[bb=0 0 144 72]{sig.pdf}

To be honest I've never been good at hacking the bounding box, so if it were me I would use TikZ here:

Microspino

\begin{tikzpicture}
  \usesasboundingbox (0,0) rectangle (5cm,4em); % <--adjust the height if you want
  \node[anchor=south west] {\includegraphics{sig.pdf}};  
\end{tikzpicture}

If you want things on the right you can use \flushright as above.

share|improve this answer

sign your name on a piece of paper, then scan it. Then use \includegraphics{sig.jpg}

share|improve this answer
    
I own already a scanned picture, I need to place the figure just under my typeset name. –  microspino Nov 3 '10 at 17:06
    
Hendrik's answer above should do the trick. –  Mica Nov 3 '10 at 23:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.