From d8598820e8a81453efcbe3174e04fcc2bdd28595 Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Wed, 10 Jun 2026 17:02:40 +0200 Subject: [PATCH] remove tabular and replace it with mbox: idea for making banking compatible with newer TeXLive >= 2026 --- moderncvbodyiii.sty | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/moderncvbodyiii.sty b/moderncvbodyiii.sty index 4cc1676..f298e25 100644 --- a/moderncvbodyiii.sty +++ b/moderncvbodyiii.sty @@ -180,16 +180,14 @@ {\listitemsymbol\hspace{\listitemsymbolspace}\begin{minipage}[t]{\listdoubleitemcolumnwidth-\listitemsymbolspace}#3\end{minipage}}}} \renewcommand*{\cventry}[7][.25em]{ - \begin{tabular*}{\maincolumnwidth}{l@{\extracolsep{\fill}}r}% + \ifboolexpr{% % skip the company name and location line if both are empty, allowing one to show multiple roles within the same company without repeating it - \ifboolexpr{% - test {\ifstrempty{#4}} - and - test {\ifstrempty{#5}}}% - {}% - {{\bfseries #4} & {\bfseries #5}\\}% - {\itshape #3\ifstrempty{#6}{}{, #6}} & {\itshape #2}\\% - \end{tabular*}% + test {\ifstrempty{#4}} + and + test {\ifstrempty{#5}}}% + {}% + {\makebox[\maincolumnwidth][l]{\textbf{#4}\hfill\textbf{#5}}\\}% + \makebox[\maincolumnwidth][l]{\textit{#3\ifstrempty{#6}{}{, #6}}\hfill\textit{#2}}\\% \ifx&% \else{\\% \begin{minipage}{\maincolumnwidth}%