]> git.donarmstrong.com Git - resume.git/commitdiff
switch resume to be a single-column resume
authorDon Armstrong <don@donarmstrong.com>
Wed, 21 Feb 2018 00:18:36 +0000 (16:18 -0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 21 Feb 2018 00:18:36 +0000 (16:18 -0800)
dlaresume.cls

index 9e6c1b2501ed830679f92dbcb78a12c6abdfd93d..be6cae6115174f6aa082b426c000d95f213ef7c4 100644 (file)
@@ -23,6 +23,7 @@
 \RequirePackage{geometry}
 \RequirePackage{url}
 \RequirePackage{fancyhdr}
+\RequirePackage{lastpage}
 \PassOptionsToPackage{final}{graphicx}
 \RequirePackage{graphicx}
 \PassOptionsToPackage{labelfont=bf,font=sl}{caption}
 \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} 
 \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}
 % 
 % \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