Left and right aligned on same line
How can I insert a signature dot line on both left and right alignment
Asked
Active
Viewed 816 times
0
-
Not an exact duplicate but almost: Signature/date line with fixed width – campa Nov 26 '19 at 13:15
-
Thanks, I'll try it – Chukwu John Nov 26 '19 at 13:27
1 Answers
2
You can define a command like
\newcommand\signature[1]{%
\par\vspace{8ex}\noindent
\begin{tabular}[t]{@{}l@{}}
\makebox[15em]{\dotfill}\\
#1
\end{tabular}
\hfill
\begin{tabular}[t]{@{}c@{}}
\makebox[15em]{\dotfill}\\
Date
\end{tabular}
}
and use it like that:
\documentclass{article}
\newcommand\signature[1]{%
\par\vspace*{8ex}\noindent
\begin{tabular}[t]{@{}l@{}}
\makebox[15em]{\dotfill}\\
#1
\end{tabular}
\hfill
\begin{tabular}[t]{@{}c@{}}
\makebox[15em]{\dotfill}\\
Date
\end{tabular}
}
\usepackage{blindtext} % only needed for the dummy text, remove it
\begin{document}
\blindtext % generates the dummy text, remove it
% Put the text to be signed here.
\signature{Mr~Joe Miller\\Seminar Supervisor}
\signature{Ms~Amy Smith\\Head of Department}
\signature{Ms~Betty Taylor\\External Examiner}
\end{document}
gernot
- 49,614
-
-
-
@chukwujohn Remove
\blindtextand\usepackage{blindtext}, they are there for demo purposes only. – gernot Nov 26 '19 at 17:48 -
-
@ChukwuJohn Remove the lines
\blindtextand\usepackage{blindtext}. Replace\blindtextby the text that has to be signed. – gernot Nov 26 '19 at 19:54 -
