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.

I need to create a signature page as shown in the image below in LaTeX. I have no clue on where to start and the commands that I would need. Could someone please help me.

enter image description here

share|improve this question
add comment

migrated from stackoverflow.com Nov 23 '11 at 19:20

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 11 down vote accepted

I would create a macro that contains the construction of the name/signature/date setup. Then you can pass parameters to the macro so it can be somewhat dynamic.

In the minimal working example below, the macro \namesigdate[<width>]{<name>} does exactly that. You can pass it <name> which prints the name of the person at the top. This argument is mandatory. The width of the line is set at 5cm (default). If you want to change this, you can use the optional <width> argument that takes any known (La)TeX length:

enter image description here

\documentclass{article}
\newcommand{\namesigdate}[2][5cm]{%
  \begin{tabular}{@{}p{#1}@{}}
    #2 \\[2\normalbaselineskip] \hrule \\[0pt]
    {\small \textit{Signature}} \\[2\normalbaselineskip] \hrule \\[0pt]
    {\small \textit{Date}}
  \end{tabular}
}
\begin{document}

\noindent \namesigdate{Name1} \hfill \namesigdate[3cm]{Name2}

​\end{document}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

I've also formatted the "Signature" and "Date" to be print using \small\itshape, although that can be modified.

share|improve this answer
add comment

There are many way to do this. One way would be to use a minipage to generate each of the signature blocks. This could be further enhanced to use tikz to draw the line which allows easier customization in terms of the line style that you want.


Basic Solution:

Here is the basic minipage solution (adapted from Werner's):

\documentclass{article}
\newcommand{\namesigdate}[2][5cm]{%
\begin{minipage}{#1}
    #2 \vspace{1.0cm}\hrule\smallskip
    \small \textit{Signature}
    \vspace{1.0cm}\hrule\smallskip
    \small \textit{Date}
\end{minipage}
}
\begin{document}
\noindent \namesigdate{Name1} \hfill \namesigdate[3cm]{Name2}
​\end{document}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

Enhanced Solution:

Here is the "overkill" version using tikz:

enter image description here

I have shown a few of the customizations that are available. See the TikZ/PGF manual for more options if needed.

\documentclass{article}
\usepackage{tikz}

\newcommand{\namesigdatehrule}[1]{\par\tikz \draw [blue, densely dotted, ultra thick] (0,0) -- (#1,0);\par}
\newcommand{\namesigdate}[2][5cm]{%
\begin{minipage}{#1}%
    #2 \vspace{1.0cm}\namesigdatehrule{#1}\smallskip
    \small \noindent\textit{Signature}
    \vspace{1.0cm}\namesigdatehrule{#1}\smallskip
    \small \textit{Date}
\end{minipage}
}
\begin{document}
\noindent \namesigdate{Name1} \hfill \namesigdate[3cm]{Name2}
​\end{document}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
share|improve this answer
add comment

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.