I am trying, loosely based on this answer to make a template for my Statement of Purpose. How could I remove the empty extra line between the horizontal rule and the text? Moreover, how could be the first letter be of larger font in the title?
Any other suggestion is more than welcomed.
\documentclass{article}
\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\newcommand{\Hrule}{\rule{\linewidth}{0.3mm}}
\makeatletter% since there's an at-sign (@) in the command name
\renewcommand{\@maketitle}{
\parindent=0pt% don't indent paragraphs in the title block
\begin{center}
\MakeUppercase{\Large \bf \@title}
\HRule%
\end{center}%
\textit{\@author \hfill \@date}
\par
}
\makeatother% resets the meaning of the at-sign (@)
\title{Statement of Purpose}
\author{name}
\date{Ph.D. Applicant}
\begin{document}
\maketitle% prints the title block
Emergency medicine has always been a passion of mine\ldots
\end{document}
Best Answer
Replace the
center
environment with the\centering
switch to avoid additional vertical space. For the second issue simply use small capitals for the title. See code below for the modifications.