From: Don Armstrong Date: Wed, 21 Feb 2018 00:18:36 +0000 (-0800) Subject: switch resume to be a single-column resume X-Git-Url: https://git.donarmstrong.com/?p=resume.git;a=commitdiff_plain;h=ec9e7c9a392754a236e0b80600a55e9d588c6bd6 switch resume to be a single-column resume --- diff --git a/dlaresume.cls b/dlaresume.cls index 9e6c1b2..be6cae6 100644 --- a/dlaresume.cls +++ b/dlaresume.cls @@ -23,6 +23,7 @@ \RequirePackage{geometry} \RequirePackage{url} \RequirePackage{fancyhdr} +\RequirePackage{lastpage} \PassOptionsToPackage{final}{graphicx} \RequirePackage{graphicx} \PassOptionsToPackage{labelfont=bf,font=sl}{caption} @@ -57,33 +58,33 @@ \setlength{\parindent}{0em} \setlength{\parskip}{0em} %} -\makeatletter -\newif\if@aftersec -\newcommand\setsubskip{% - \global\@aftersectrue - \everypar{% - \global\@aftersecfalse - \if@noskipsec - \global\@noskipsecfalse - \clubpenalty\@M - \hskip-\parindent - \begingroup - \@svsechd\unskip{\hspace{\@tempskipb}}% - \endgroup - \else - \clubpenalty\@clubpenalty\everypar{}% - \fi}} - -\newcommand\subskip{% - \if@aftersec - \removelastskip% EDIT 2 - \vspace{-\baselineskip}% EDIT 2 ?????????????? - \else - \removelastskip% - \vspace{0.0em} - \fi - \global\@aftersecfalse} -\makeatother +% \makeatletter +% \newif\if@aftersec +% \newcommand\setsubskip{% +% \global\@aftersectrue +% \everypar{% +% \global\@aftersecfalse +% \if@noskipsec +% \global\@noskipsecfalse +% \clubpenalty\@M +% \hskip-\parindent +% \begingroup +% \@svsechd\unskip{\hspace{\@tempskipb}}% +% \endgroup +% \else +% \clubpenalty\@clubpenalty\everypar{}% +% \fi}} +% +% \newcommand\subskip{% +% \if@aftersec +% \removelastskip% EDIT 2 +% \vspace{-\baselineskip}% EDIT 2 ?????????????? +% \else +% \removelastskip% +% \vspace{0.0em} +% \fi +% \global\@aftersecfalse} +% \makeatother \definecolor{date}{HTML}{666666} \definecolor{primary}{HTML}{0b0b0b} @@ -91,13 +92,13 @@ \definecolor{subheadings}{HTML}{3A3A3A} \titleformat{\section}{% -\color{headings}\fontsize{18pt}{18pt}\selectfont% - \raggedright\scshape}{}{0pt}{}[{\titleline{\titlerule[1.5pt]}}] +\color{headings}\fontsize{14pt}{14pt}\selectfont% + \scshape}{}{0pt}{}[{\titleline{\titlerule[1pt]}}] \titlespacing*{\section}{0pt}{0.5em}{4pt} -\titleformat{\subsection}{% -\color{subheadings}\fontsize{14pt}{14pt}\selectfont% +\titleformat{\subsection}[runin]{% +\color{subheadings}\fontsize{12pt}{12pt}\selectfont% \raggedright}{}{0pt}{} -\titlespacing*{\subsection}{0pt}{0.5em}{0em} +\titlespacing*{\subsection}{0pt}{0.25em}{0em} \def\myauthor{Don Armstrong} \def\mytitle{Resume} @@ -139,13 +140,37 @@ % % \renewenvironment{enumerate}{\begin{cvlistenum}}{\end{cvlistenum}} % no title -\renewcommand{\maketitle}{} +\renewcommand{\maketitle}{ +\begin{minipage}{0.5\textwidth} + {\color{headings}\fontsize{18pt}{24pt}\selectfont {\textsc{\textbf{\myauthor}}}} + \vfill +\end{minipage} +% \hfill +% \begin{minipage}[t]{0.0in} +% % dummy (needed here) +% \end{minipage} +\begin{minipage}[t]{0.5\textwidth} + {\footnotesize + \href{mailto:\myemail}{\myemail} \hfill + +1~714-813-8531\\ + \href{\myweb}{\myweb} + \hfill + \href{https://dla2.us/res}{https://dla2.us/res} + } + \vfill +\end{minipage} +} % Page layout \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyhead{} \fancyfoot{} -% \makeatletter -% \fancyfoot[C]{{\scriptsize \@title \ of \@author \ -- Page \thepage\ of\ \pageref{LastPage}}} -% \makeatother \ No newline at end of file +\makeatletter + \fancyfoot[C]{{\scriptsize \@author\ -- \@title \ -- Page \thepage\ of\ \pageref{LastPage}}} +\makeatother + +% suppress hyphenation for resumes; we do this because of automated +% keyword scanning systems which may miss appropriate keywords +\righthyphenmin=62 +\lefthyphenmin=62 \ No newline at end of file