diff --git a/rendercv/themes/engineeringresumes/Header.j2.tex b/rendercv/themes/engineeringresumes/Header.j2.tex index b17b0f3..155e8c9 100644 --- a/rendercv/themes/engineeringresumes/Header.j2.tex +++ b/rendercv/themes/engineeringresumes/Header.j2.tex @@ -1,8 +1,9 @@ -\makeatletter -\newcommand{\test}{% - \@ifnextchar\par{A}{B}% +\newcommand{\AND}{\unskip + \cleaders\copy\ANDbox\hskip\wd\ANDbox + \ignorespaces } -\makeatother +\newsavebox\ANDbox +\sbox\ANDbox{$|$} ((* if design.show_last_updated_date *)) \placelastupdatedtext @@ -15,12 +16,18 @@ \normalsize ((* for connection in cv.connections *)) - \mbox{\href{<>}{<>}} - \hspace*{<>} + \mbox{ + ((* if connection["url"] *)) + \href{<>}{<>} + ((* else *)) + <> + ((* endif *)) + } + \kern <> ((* if not loop.last *)) - $|$ + \AND ((* endif *)) - \hspace*{<>} + \kern <> ((* endfor *)) \end{header}