mirror of
https://github.com/moderncv/moderncv.git
synced 2026-07-12 18:44:36 +02:00
remove tabular and replace it with mbox: idea for making banking compatible with newer TeXLive >= 2026
This commit is contained in:
parent
a1aac59a6f
commit
d8598820e8
1 changed files with 7 additions and 9 deletions
|
|
@ -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}%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue