engineeringresumes: update Header.j2.tex to make connection seperator disappear at the line breaks

This commit is contained in:
Sina Atalay 2024-04-15 01:01:34 +03:00
parent 94f433b0d2
commit b68f4b863b
1 changed files with 15 additions and 8 deletions

View File

@ -1,8 +1,9 @@
\makeatletter \newcommand{\AND}{\unskip
\newcommand{\test}{% \cleaders\copy\ANDbox\hskip\wd\ANDbox
\@ifnextchar\par{A}{B}% \ignorespaces
} }
\makeatother \newsavebox\ANDbox
\sbox\ANDbox{$|$}
((* if design.show_last_updated_date *)) ((* if design.show_last_updated_date *))
\placelastupdatedtext \placelastupdatedtext
@ -15,12 +16,18 @@
\normalsize \normalsize
((* for connection in cv.connections *)) ((* for connection in cv.connections *))
\mbox{\href{<<connection["url"]>>}{<<connection["clean_url"]>>}} \mbox{
\hspace*{<<design.margins.header.horizontal_between_connections|divide_length_by(2)>>} ((* if connection["url"] *))
\href{<<connection["url"]>>}{<<connection["clean_url"]>>}
((* else *))
<<connection["placeholder"]>>
((* endif *))
}
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
((* if not loop.last *)) ((* if not loop.last *))
$|$ \AND
((* endif *)) ((* endif *))
\hspace*{<<design.margins.header.horizontal_between_connections|divide_length_by(2)>>} \kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
((* endfor *)) ((* endfor *))
\end{header} \end{header}