%%%General formatting.%%% \usepackage[left=1.4in,right=1in,top=.5in,bottom=.5in,nohead,nofoot]{geometry} \pagestyle{empty} \parindent 0pt %%%Formatting for section headings.%%% \usepackage{titlesec} \titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule] \titlespacing{\section}{0pt}{3pt}{3pt} %%%New commands for entries.%%% %one-line date \newcommand{\when}[1]{\bigskip\par\strut \hbox to 0pt{\hskip -1in #1 \hss}} %two-line date \newcommand{\whentwo}[2]{\when{\vtop to 0pt{\hbox{#1}\hbox{#2}\vss}}} \newcommand\what[1]{\textbf{#1}} \newcommand\where[1]{\hfill #1\par} \newcommand\why[1]{\textsl{#1}} %%%Title setup.%%% \newcommand*{\email}[1]{\def\@email{#1}} \newcommand*{\mailone}[1]{\def\@mailone{#1}} \newcommand*{\mailtwo}[1]{\def\@mailtwo{#1}} \newcommand*{\mailthree}[1]{\def\@mailthree{#1}} \newcommand*{\phone}[1]{\def\@phone{#1}} \newcommand*{\website}[1]{\def\@website{#1}} \renewcommand{\maketitle}{{\Huge{\@author}}\\ \hrule \vspace{1ex} \@mailone \hfill{\@phone}\\ \@mailtwo \hfill{{\tt \@email}}\\ \@mailthree \hfill{{\tt \@website}}}