From e0d441c5a73f40cd03ccef4e179d7c29277d4f2f Mon Sep 17 00:00:00 2001 From: Sina Atalay <79940989+sinaatalay@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:26:40 +0000 Subject: [PATCH] classic: don't allow page break in PublicationEntry --- .../themes/classic/PublicationEntry.j2.tex | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/rendercv/themes/classic/PublicationEntry.j2.tex b/rendercv/themes/classic/PublicationEntry.j2.tex index 8f0c0d8..778ba4e 100644 --- a/rendercv/themes/classic/PublicationEntry.j2.tex +++ b/rendercv/themes/classic/PublicationEntry.j2.tex @@ -5,22 +5,23 @@ \begin{twocolentry}{ <> } - \textbf{<>} + \begin{minipage}{\linewidth} + \textbf{<>} - \vspace{<>} + \vspace{<>} - <> - ((* if entry.doi or entry.journal *)) - \vspace{<>} + <> + ((* if entry.doi or entry.journal *)) + \vspace{<>} - ((* endif *)) - ((* if entry.doi -*)) - \href{<>}{<>} - ((*- endif -*)) - ((*- if entry.doi and entry.journal *)) (((* endif -*)) - ((*- if entry.journal -*)) - <> - ((*- endif -*)) - ((*- if entry.doi and entry.journal *)))((* endif -*)) - -\end{twocolentry} + ((* endif *)) + ((* if entry.doi -*)) + \href{<>}{<>} + ((*- endif -*)) + ((*- if entry.doi and entry.journal *)) (((* endif -*)) + ((*- if entry.journal -*)) + <> + ((*- endif -*)) + ((*- if entry.doi and entry.journal *)))((* endif *)) + \end{minipage} +\end{twocolentry} \ No newline at end of file