I am creating a LaTeX document with a header as follows.
I am however trying to get author slightly closer to the date so that it looks a little better.
Currently the LaTeX equivalent is:
\documentclass{article}
\usepackage[a4paper, portrait, margin=0.3in]{geometry}
\usepackage{setspace}
\begin{document}
\hrule
\begin{flushright}
Author
\end{flushright}
\begin{flushleft}
\huge \textbf{Title}
\hfill
\normalsize Date
\end{flushleft}
\hrule
\end{document}
Best Answer
If you first type the title and then put Author and Date in a table, you can have full control of the vertical distance between then. Here I used
10mm
.In the second case when the title spans more than one row I put it in a
\parbox
to align its bottom baseline with the Date baseline. That can of course be done for the single line case also.