% !Mode:: "TeX:UTF-8"
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
%basic cover letter template
\documentclass[11pt]{article}
\usepackage[a4paper]{geometry}
\usepackage{fancyhdr}
\usepackage{amssymb, amsmath, graphicx}
\usepackage{lipsum} % for Lorem ipsum text
\usepackage{fontspec}
\setmainfont{Arial}
\usepackage[usenames, dvipsnames]{xcolor}
\definecolor{betterblue}{RGB}{0,105,175}
\usepackage[xetex, bookmarks, colorlinks, breaklinks, pdftitle={ANU letter}]{hyperref}
\hypersetup{linkcolor=blue, citecolor=blue, filecolor=black, urlcolor=betterblue}
%Margins and Header/Footer
\geometry{a4paper,
top=0.75in,
bottom=1.5in,
left=1in,
right=1in,
headheight=14.5pt, % the default is too short
heightrounded, % avoids the need of a flexible baselineskip
}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\fancyhf{} % clear all fields
\fancyhead[R]{}
\fancypagestyle{fancy}{%
\renewcommand{\headrulewidth}{0.4pt}%
\renewcommand{\footrulewidth}{0.4pt}%
\fancyhf{}% clear all fields
\fancyhead[R]{}%
\fancyfoot{}
}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[C]{\footnotesize\color{Gray} The Australian National University | Canberra ACT 2601 Australia | CRICOS Provider No. 00120C }
\setlength\parindent{0pt}
\addtolength{\parskip}{\baselineskip}
\begin{document}
\parbox{.5\linewidth}
{
\begin{flushleft}
\includegraphics[height=0.6in]{ANU_logo}\\
\vspace{7em}
\end{flushleft}
}
\parbox{.5\linewidth}
{
\begin{flushright}
{\bf Name Surname}\\
Position\\
\mbox{}\\
School of This and That\\
Australian National University\\
123 This Road, Building~X, Room~X.XX\\
Acton, ACT~2601, Australia\\
+61 2 6125 XXXX\\
\href{mailto:name.surname@anu.edu.au}{name.surname@anu.edu.au}
\end{flushright}
}
\today
\vspace{3em}
\begin{center}\textbf{Subject}\end{center}
Dear Somebody,
\lipsum[1-1]
I appreciate your time and look forward to hearing from you.
\bigskip
Sincerely,\\
\includegraphics[width=6cm]{signature}\\[.25cm]
Name Surname
\end{document}