mirror of https://github.com/eyhc1/rendercv.git
engineeringresumes: update Header.j2.tex to make connection seperator disappear at the line breaks
This commit is contained in:
parent
94f433b0d2
commit
b68f4b863b
|
@ -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"] *))
|
||||||
((* if not loop.last *))
|
\href{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||||
$|$
|
((* else *))
|
||||||
|
<<connection["placeholder"]>>
|
||||||
((* endif *))
|
((* endif *))
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections|divide_length_by(2)>>}
|
}
|
||||||
|
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
|
||||||
|
((* if not loop.last *))
|
||||||
|
\AND
|
||||||
|
((* endif *))
|
||||||
|
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
\end{header}
|
\end{header}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue