mirror of https://github.com/eyhc1/rendercv.git
themes: fix horizontal spacing between connections in the header
This commit is contained in:
parent
9e8cc5e4c2
commit
0240efe427
|
@ -10,14 +10,12 @@
|
|||
|
||||
\normalsize
|
||||
((* for connection in cv.connections *))
|
||||
\mbox{
|
||||
((* if connection["url"] *))
|
||||
\hrefWithoutArrow{<<connection["url"]>>}{{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
|
||||
((* else *))
|
||||
{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>
|
||||
((* endif *))
|
||||
}
|
||||
\kern <<design.margins.header.horizontal_between_connections>>
|
||||
\mbox{((*- if connection["url"] -*))
|
||||
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||
((*- else -*))
|
||||
<<connection["placeholder"]>>
|
||||
((*- endif -*))}%
|
||||
\kern <<design.margins.header.horizontal_between_connections>>%
|
||||
((* endfor *))
|
||||
\end{header}
|
||||
|
||||
|
|
|
@ -16,18 +16,16 @@
|
|||
|
||||
\normalsize
|
||||
((* for connection in cv.connections *))
|
||||
\mbox{
|
||||
((* if connection["url"] *))
|
||||
\mbox{((*- if connection["url"] -*))
|
||||
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||
((* else *))
|
||||
((*- else -*))
|
||||
<<connection["placeholder"]>>
|
||||
((* endif *))
|
||||
}
|
||||
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
|
||||
((*- endif -*))}%
|
||||
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
|
||||
((* if not loop.last *))
|
||||
\AND
|
||||
\AND%
|
||||
((* endif *))
|
||||
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>
|
||||
\kern <<design.margins.header.horizontal_between_connections|divide_length_by(2)>>%
|
||||
((* endfor *))
|
||||
\end{header}
|
||||
|
||||
|
|
|
@ -9,14 +9,12 @@
|
|||
|
||||
\normalsize
|
||||
((* for connection in cv.connections *))
|
||||
\mbox{
|
||||
((* if connection["url"] *))
|
||||
\hrefWithoutArrow{<<connection["url"]>>}{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
|
||||
((* else *))
|
||||
{\color{black}{\footnotesize<<connection["latex_icon"]>>}\hspace*{0.13cm}<<connection["placeholder"]>>}
|
||||
((* endif *))
|
||||
}
|
||||
\kern <<design.margins.header.horizontal_between_connections>>
|
||||
\mbox{((*- if connection["url"] -*))
|
||||
\hrefWithoutArrow{<<connection["url"]>>}{<<connection["clean_url"]>>}
|
||||
((*- else -*))
|
||||
<<connection["placeholder"]>>
|
||||
((*- endif -*))}%
|
||||
\kern <<design.margins.header.horizontal_between_connections>>%
|
||||
((* endfor *))
|
||||
\end{header}
|
||||
|
||||
|
|
Loading…
Reference in New Issue