mirror of
https://github.com/moderncv/moderncv.git
synced 2026-10-26 02:07:04 +01:00
The description (#7) was tested with \ifx&, so a description holding only whitespace, such as the line break left when its content is commented out, counted as non-empty and added an empty description line. Test it with etoolbox's \ifblank in all body styles instead. Claude-Session: https://claude.ai/code/session_01Ay3NRtLtypuStJdysepuJU Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e8fc8b1f0a
commit
cf48a1a3a5
6 changed files with 6 additions and 5 deletions
|
|
@ -4,6 +4,7 @@ version next
|
|||
rules by adding \hss glue as in \dotfill (#307)
|
||||
- Update "circle" option to allow for half-filled circles in skill matrix (#309)
|
||||
- Fix "Arithmetic overflow" in cvcolumns when every column sets a width (#311)
|
||||
- Treat a \cventry description containing only whitespace as empty (#312)
|
||||
|
||||
version 2.6.1 (24 Jun 2026)
|
||||
- Allow the customisation of the contemporary style (#297)
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
\ifthenelse{\equal{#5}{}}{}{, #5}%
|
||||
\ifthenelse{\equal{#6}{}}{}{, #6}%
|
||||
\strut%
|
||||
\ifx&%
|
||||
\ifblank{#7}{\@tempswatrue}{\@tempswafalse}\if@tempswa%
|
||||
\else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}\fi}}
|
||||
|
||||
\@initializebox{\cvitemwithcommentbox}
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@
|
|||
{{\bfseries #4} & {\bfseries #5}\\}%
|
||||
{\itshape #3\ifstrempty{#6}{}{, #6}} & {\itshape #2}\\%
|
||||
\end{tabular*}%
|
||||
\ifx&%
|
||||
\ifblank{#7}{\@tempswatrue}{\@tempswafalse}\if@tempswa%
|
||||
\else{\\%
|
||||
\begin{minipage}{\maincolumnwidth}%
|
||||
\small#7%
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
.\strut}%
|
||||
\usebox{\cventryyearbox}%
|
||||
\end{minipage}\strut%
|
||||
\ifx&%
|
||||
\ifblank{#7}{\@tempswatrue}{\@tempswafalse}\if@tempswa%
|
||||
\else{%
|
||||
\newline{}%
|
||||
\strut%
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@
|
|||
\ifthenelse{\equal{#6}{}}{}{, #6}%
|
||||
.\strut}%
|
||||
\usebox{\cventryyearbox}}%
|
||||
\ifx&%
|
||||
\ifblank{#7}{\@tempswatrue}{\@tempswafalse}\if@tempswa%
|
||||
\else%
|
||||
\vspace*{-4pt}%
|
||||
\cvitem[#1]{}{\small#7}\fi}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@
|
|||
\ifthenelse{\equal{#5}{}}{}{, #5}%
|
||||
\ifthenelse{\equal{#6}{}}{}{, #6}%
|
||||
\strut%
|
||||
\ifx&%
|
||||
\ifblank{#7}{\@tempswatrue}{\@tempswafalse}\if@tempswa%
|
||||
\else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}\fi}}
|
||||
|
||||
\@initializebox{\cvitemwithcommentbox}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue