
In my LaTeX report I want to include a dotted signature line and my name below that line. As in the image. Can someone help me with the LaTeX code for that?
This should get you started.
\documentclass{article}
\newcommand{\sign}[1]{%
\begin{tabular}[t]{@{}l@{}}
\makebox[1.5in]{\dotfill}\\
\strut#1\strut
\end{tabular}%
}
\newcommand{\Date}{%
\begin{tabular}[t]{@{}p{1.5in}@{}}
\\[-2ex]
\strut Date: \dotfill\strut
\end{tabular}%
}
\begin{document}
\noindent
\begin{minipage}[t]{0.4\linewidth}
\raggedright
\sign{Supervisor}
\par
Mr.\,L. L. Silva\par
Department of Computing and Information Systems, \par
Faculty of Applied Sciences, \par
University of Moratuwa
\end{minipage}%
\hfill
\begin{minipage}[t]{0.4\linewidth}
\sign{Signature of the supervisor}
\Date
\end{minipage}
\vspace{1cm}
\noindent
\begin{minipage}[t]{0.4\linewidth}
\raggedright
\sign{Head of the Department}
\par
Mr.\,M. N. Dias\par
Department of Computing and Information Systems, \par
Faculty of Applied Sciences, \par
University of Moratuwa
\end{minipage}%
\hfill
\begin{minipage}[t]{0.4\linewidth}
\sign{Signature of Head}
\Date
\end{minipage}
\end{document}

minipageenvironment to contain each of the four items. Use thedashrulepackage to get your dotted lines. This post might be of some help. You may want to define one or two macros if you want. But I suggest that you do that yourself. Using macros gives you the sweet taste of LaTeX. – Masroor Jun 07 '14 at 16:18