From 7959b45adf5bf456fb0c05600546433d19aac9e5 Mon Sep 17 00:00:00 2001 From: Dalton Luce Date: Fri, 14 Nov 2025 13:12:52 -0500 Subject: [PATCH 1/5] temp: add masters and fix formatting --- src/dalton_luce_cv.tex | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/src/dalton_luce_cv.tex b/src/dalton_luce_cv.tex index 4eaa901..d95d8bd 100644 --- a/src/dalton_luce_cv.tex +++ b/src/dalton_luce_cv.tex @@ -101,23 +101,26 @@ } % Position and date help -\newcommand{\position}[2]{ - \vspace{5pt} - {\normalsize \textbf {#1}} - \hfill - {\normalsize \textit{#2}} - \\ +\newcommand{\position}[2]{% + \vspace{3pt}% + \normalsize \leftRight{\textbf{#1}}{\textit{#2}}% + \par% +} + + +% left-right macro using \hfill +% Protecting the hfill (with a comment) is important to avoid weird spacing issues +% https://tex.stackexchange.com/questions/422444/hfill-alignment-doesn%C2%B4t-work +\newcommand{\leftRight}[2]{% + \leavevmode#1\hfill#2\par% } % Non-experience entry -\newcommand{\resumeEntry}[4]{ - \vspace{5pt} - {\large \textbf{#1}} - \hfill - {\normalsize #2} - \\ - \textit{#3} \hfill \textit{#4} - \vspace{1pt} +\newcommand{\resumeEntry}[4]{% + \vspace{5pt}% + \leftRight{{\large \textbf{#1}}}{{\normalsize #2}}% + \leftRight{{\textit{#3}}}{{\textit{#4}}}% + \vspace{1pt}% } % Bulleted list formatting @@ -155,11 +158,14 @@ \section{Education} %--------Cornell-------- + %-- TODO: fix this formatting \resumeEntry{Cornell University} {Ithaca, NY} {Bachelor of Science in Electrical and Computer Engineering, Minor in CS} - {Expected Winter 2026} - + {Expected Fall 2025} + \leftRight + {\textit{Master of Engineering in Computer Science, Minor in CS}} + {\textit{Expected Fall 2026}} \itemsBegin{} \item 4.048 GPA, Dean's List all semesters \item \textbf{Honors:} Tau Beta Pi Engineering Honor Society, IEEE-HKN Honor Society From 55dce2ed88def2bb83af266ad0f392c54d5a1a80 Mon Sep 17 00:00:00 2001 From: Dalton Luce Date: Fri, 14 Nov 2025 14:18:14 -0500 Subject: [PATCH 2/5] temp: minor tweaks to formatting --- src/dalton_luce_cv.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dalton_luce_cv.tex b/src/dalton_luce_cv.tex index d95d8bd..3f36c39 100644 --- a/src/dalton_luce_cv.tex +++ b/src/dalton_luce_cv.tex @@ -17,7 +17,7 @@ \ifdefined\private{} \address{} \else - Boston, MA + Greater Boston, MA \fi % FIXME: weird spacing here \hspace{10pt} @@ -82,7 +82,7 @@ \titleformat{\section}{ \vspace{-3pt} \titlerule\vspace{1pt}\scshape\raggedright\large -}{}{0em}{\vspace{-10pt}} +}{}{0em}{\vspace{-11pt}} % Use filled circles for bullet points \renewcommand\labelitemi{\small\textbullet} @@ -164,8 +164,9 @@ \section{Education} {Bachelor of Science in Electrical and Computer Engineering, Minor in CS} {Expected Fall 2025} \leftRight - {\textit{Master of Engineering in Computer Science, Minor in CS}} + {\textit{Master of Engineering in Computer Science}} {\textit{Expected Fall 2026}} + \vspace{3pt} \itemsBegin{} \item 4.048 GPA, Dean's List all semesters \item \textbf{Honors:} Tau Beta Pi Engineering Honor Society, IEEE-HKN Honor Society From e7683c4625afa80e88d635e93acd9f9015a283c0 Mon Sep 17 00:00:00 2001 From: Dalton Luce Date: Fri, 14 Nov 2025 14:20:03 -0500 Subject: [PATCH 3/5] temp: use variable names in images --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6d7035c..d6768c6 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,8 @@ cover-letter: $(PDF_DIR) # Generate images from PDFs images: $(IMG_DIR) @if command -v convert >/dev/null 2>&1; then \ - magick -density 300 $(DIST_DIR)/pdfs/dalton_luce_cv.pdf -quality 100 -flatten -sharpen 0x1.0 $(IMG_DIR)/$(CV_NAME).png; \ - magick -density 300 $(DIST_DIR)/pdfs/cover_letter.pdf -quality 100 -flatten -sharpen 0x1.0 $(IMG_DIR)/$(COVER_LETTER_NAME).png; \ + magick -density 300 $(DIST_DIR)/pdfs/$(CV_NAME).pdf -quality 100 -flatten -sharpen 0x1.0 $(IMG_DIR)/$(CV_NAME).png; \ + magick -density 300 $(DIST_DIR)/pdfs/$(COVER_LETTER_NAME).pdf -quality 100 -flatten -sharpen 0x1.0 $(IMG_DIR)/$(COVER_LETTER_NAME).png; \ else \ echo "Imageconvert not found. Please install Imageconvert to generate images."; \ fi From 3508da24df802937e14db3b2715f94a0e2fdf580 Mon Sep 17 00:00:00 2001 From: Dalton Luce Date: Sat, 15 Nov 2025 14:01:35 -0500 Subject: [PATCH 4/5] temp: fix header formatting --- src/dalton_luce_cv.tex | 67 +++++++++++++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 17 deletions(-) diff --git a/src/dalton_luce_cv.tex b/src/dalton_luce_cv.tex index 3f36c39..d29d528 100644 --- a/src/dalton_luce_cv.tex +++ b/src/dalton_luce_cv.tex @@ -13,25 +13,22 @@ \input{./src/.private.tex} \fi -\newcommand{\addressConditional}{ - \ifdefined\private{} - \address{} +\newcommand{\addressConditional}{% + \ifdefined\private + \address \else Greater Boston, MA \fi - % FIXME: weird spacing here - \hspace{10pt} } + \newcommand{\phoneConditional}{ \ifdefined\private{} \phone{} - \hspace{10pt} \fi } \newcommand{\emailConditional}{ \ifdefined\private{} \href{mailto:\email}{\underline{\email}} - \hspace{10pt} \fi } @@ -46,6 +43,8 @@ \usepackage{enumitem} \usepackage{multicol} \usepackage{tabularx} +\usepackage{xparse} +\usepackage{expl3} \usepackage[T1]{fontenc} \input{glyphtounicode} \usepackage[ @@ -107,7 +106,6 @@ \par% } - % left-right macro using \hfill % Protecting the hfill (with a comment) is important to avoid weird spacing issues % https://tex.stackexchange.com/questions/422444/hfill-alignment-doesn%C2%B4t-work @@ -130,6 +128,29 @@ } \newcommand{\itemsEnd}{\end{itemize}} +% Evenly spaced list with separators +\ExplSyntaxOn +\NewDocumentCommand{\evenlyspaced}{m} +{ + % Count items + \int_zero_new:N \l_tmpa_int + \int_set:Nn \l_tmpa_int {0} + \int_set:Nn \l_tmpb_int {\clist_count:n {#1}} + + % Loop over each item + \clist_map_inline:nn {#1} + { + \int_incr:N \l_tmpa_int + ##1 % print item + + % Add separator with extra space if not last + \int_compare:nNnT {\l_tmpa_int} < {\l_tmpb_int} + { \hspace{1em} | \hspace{1em} } + } +} + +\ExplSyntaxOff + %------------------------- % Misc %------------------------- @@ -144,21 +165,33 @@ \textbf{\huge \scshape Dalton Luce} \\ \vspace{2pt} \small -\addressConditional{} % Address -\phoneConditional{} % Phone -\emailConditional{} % Email -\href{https://www.linkedin.com/in/dalton-luce/}{\underline{LinkedIn}} % LinkedIn -\hspace{10pt} -\href{https://github.com/da-luce}{\underline{GitHub}} % GitHub -\hspace{10pt} -\href{https://daltonluce.com/}{\underline{daltonluce.com}} % Website + +% NOTE: parsers have easier time finding links when they begin with www. +% Tested with https://www.open-resume.com/resume-parser +\ifdefined\private{} +\evenlyspaced{ + \address, + \phone, + \href{mailto:\email}{\underline{\email}}, + \href{https://www.linkedin.com/in/dalton-luce/}{\underline{LinkedIn}}, + \href{https://github.com/da-luce}{\underline{GitHub}}, + \href{https://daltonluce.com/}{\underline{www.daltonluce.com}} +} +\else + \evenlyspaced{ + {Greater Boston, MA}, + \href{https://www.linkedin.com/in/dalton-luce/}{\underline{LinkedIn}}, + \href{https://github.com/da-luce}{\underline{GitHub}}, + \href{https://daltonluce.com/}{\underline{www.daltonluce.com}}, + } +\fi + \vspace{-5pt} % EDUCATION -------------------------------------------------------------------- \section{Education} %--------Cornell-------- - %-- TODO: fix this formatting \resumeEntry{Cornell University} {Ithaca, NY} {Bachelor of Science in Electrical and Computer Engineering, Minor in CS} From b324e7275514c51df85cbc90ec344be1a7147134 Mon Sep 17 00:00:00 2001 From: Dalton Luce Date: Sat, 15 Nov 2025 14:04:04 -0500 Subject: [PATCH 5/5] fix: spacing config --- src/dalton_luce_cv.tex | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/dalton_luce_cv.tex b/src/dalton_luce_cv.tex index d29d528..11b8c6c 100644 --- a/src/dalton_luce_cv.tex +++ b/src/dalton_luce_cv.tex @@ -130,25 +130,27 @@ % Evenly spaced list with separators \ExplSyntaxOn -\NewDocumentCommand{\evenlyspaced}{m} +\NewDocumentCommand{\evenlyspaced}{O{0.5em} m} { - % Count items + % #1 = optional spacing (default 0.5em) + % #2 = comma-separated list of items + + % Counter for position \int_zero_new:N \l_tmpa_int \int_set:Nn \l_tmpa_int {0} - \int_set:Nn \l_tmpb_int {\clist_count:n {#1}} + \int_set:Nn \l_tmpb_int {\clist_count:n {#2}} % Loop over each item - \clist_map_inline:nn {#1} + \clist_map_inline:nn {#2} { \int_incr:N \l_tmpa_int ##1 % print item - % Add separator with extra space if not last + % Add separator with configurable space if not last \int_compare:nNnT {\l_tmpa_int} < {\l_tmpb_int} - { \hspace{1em} | \hspace{1em} } + { \hspace{#1} | \hspace{#1} } } } - \ExplSyntaxOff %------------------------- @@ -169,7 +171,7 @@ % NOTE: parsers have easier time finding links when they begin with www. % Tested with https://www.open-resume.com/resume-parser \ifdefined\private{} -\evenlyspaced{ +\evenlyspaced[0.5em]{ \address, \phone, \href{mailto:\email}{\underline{\email}}, @@ -178,7 +180,7 @@ \href{https://daltonluce.com/}{\underline{www.daltonluce.com}} } \else - \evenlyspaced{ + \evenlyspaced[1em]{ {Greater Boston, MA}, \href{https://www.linkedin.com/in/dalton-luce/}{\underline{LinkedIn}}, \href{https://github.com/da-luce}{\underline{GitHub}},