From d33932ff3605fc918cdd7ac89d97f48a5f2df1d9 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 14 Oct 2023 17:53:02 +0200 Subject: [PATCH] fix entry macros --- rendercv/templates/components/classic/entry.tex.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rendercv/templates/components/classic/entry.tex.j2 b/rendercv/templates/components/classic/entry.tex.j2 index 3a7ce8d..4cd8a29 100644 --- a/rendercv/templates/components/classic/entry.tex.j2 +++ b/rendercv/templates/components/classic/entry.tex.j2 @@ -61,7 +61,7 @@ ((# preamble: first column, second column #)) ((# first column:: K{<>}; variable width, ragged left column #)) ((# second column: R{<>}; constant width ragged right column #)) -\begin{tabularx}{\textwidth}{K{<>} R{2 cm}} +\begin{tabularx}{\textwidth}{K{<>} R{<>}} \textbf{<>} <<authors|join(", ")|make_it_italic(cv.name)>> @@ -73,7 +73,8 @@ ((* endmacro *)) ((* macro one_line(name, details, markdown_url=none, link_text=none)*)) - \setlength{\leftskip}{0.2cm} + \setlength{\leftskip}{<<theme_options.margins.entry_area.left>>} + \setlength{\rightskip}{<<theme_options.margins.entry_area.right>>} ((* if markdown_url is not none *)) ((* if link_text is not none *)) @@ -87,4 +88,5 @@ ((* endif *)) \setlength{\leftskip}{0cm} + \setlength{\rightskip}{0cm} ((* endmacro *)) \ No newline at end of file