From e2beaab12fb1339c0c50897b999197d99f993e5b Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Fri, 23 Oct 2020 09:52:24 -0400 Subject: allowed empty fields in resume.tex macros --- hireme/resume.tex | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'hireme') diff --git a/hireme/resume.tex b/hireme/resume.tex index 034ece2..bdfeb9b 100644 --- a/hireme/resume.tex +++ b/hireme/resume.tex @@ -9,8 +9,10 @@ \def\sec#1{\medskip\hrule\medskip{\fourteenbf\noindent\uppercase{#1}}% \smallskip} \newdimen\testwid\testwid=3in -\def\testbox#1{\setbox0\hbox{#1}\ifnum\wd0<\testwid\box0\else\vtop{\hsize\testwid #1}\fi} -\def\li{\relax\ifhmode\hskip2\parindent\else\leftskip\parindent\fi\pre{\bu}} +\def\testbox#1{\setbox0\hbox{#1}\ifnum\wd0<\testwid\box0\else + \vtop{\hsize\testwid #1}\fi} +\def\li{\relax\ifhmode\hskip2\parindent\else\leftskip\parindent\fi + \pre{\bu}} \def\twoside#1{{\offinterlineskip\halign to \hsize{% \strut\testbox{##}\hfil\tabskip0pt plus 1fill&% \hfil\testbox{##}\tabskip0pt\cr @@ -84,7 +86,9 @@ Information Technology \def\makeref{% {\bf \the\refname}\par \the\relation\par - \the\title, \the\company\par + \the\title\edef\cmp{\the\title}\ifx\cmp\empty\else + \edef\cmp{\the\company}\ifx\cmp\empty\else, \fi\fi + \the\company\par \the\refemail\par \the\refphone\par \medskip -- cgit