mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
* fix issue #69: compensating wrong (sub)section spacing with negative vspace * new approach with minipage: eliminate wrong vspace fancy sections
This commit is contained in:
parent
63945865c2
commit
95a3a7de73
2 changed files with 5 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ version 2.?.? (29 Jun 2023)
|
|||
- casual style: make the head options 'alternate', 'details' and 'nodetails' available to the user. (previously they were hidden).
|
||||
- Setting \listitemsymbolspace allows custom spacing between list symbol and text item (for \cvlistitem and \cvlistdoubleitem).
|
||||
- Introducing \cvtripleitem command for items in three columns. Closing feature request #174.
|
||||
- Fixed wrong cvlistitem vspace caused by multiline section titles in fancy style (#69).
|
||||
|
||||
version 2.3.1 (21 Feb 2022)
|
||||
- Fix duplicate GitLab icon (#105).
|
||||
|
|
|
|||
|
|
@ -77,7 +77,8 @@
|
|||
\addvspace{2.5ex}%
|
||||
\phantomsection{}% reset the anchor for hyperrefs
|
||||
\addcontentsline{toc}{section}{#2}%
|
||||
\noindent\rlap{\@cvitem{\raggedleft\sectionstyle{#2}}{}}%
|
||||
% minipage for correct spacing with multiline sections #69
|
||||
\noindent\rlap{\@cvitem{\begin{minipage}[t][1ex]{\hintscolumnwidth}\raggedleft\sectionstyle{#2}\end{minipage}}{}}%
|
||||
\nobreak\@afterheading\@aftersectiontrue\ignorespaces}
|
||||
|
||||
%\@initializeif{\if@aftersubsection}\@aftersubsectionfalse%
|
||||
|
|
@ -88,7 +89,8 @@
|
|||
\par\ignorespaces\fi%
|
||||
\phantomsection{}% reset the anchor for hyperrefs
|
||||
\addcontentsline{toc}{subsection}{#2}%
|
||||
\noindent\rlap{\@cvitem{\if@aftersection\else\@moderncvstrut{4pt}{24pt}\fi\raggedleft\subsectionstyle{#2}}{}}%
|
||||
% minipage for correct spacing with multiline subsections #69
|
||||
\noindent\rlap{\@cvitem{\begin{minipage}[t][1ex]{\hintscolumnwidth}\if@aftersection\else\@moderncvstrut{4pt}{24pt}\fi\raggedleft\subsectionstyle{#2}\end{minipage}}{}}%
|
||||
\nobreak\@afterheading\@aftersectiontrue\ignorespaces}
|
||||
|
||||
\renewcommand*{\cvitem}[3][.5ex]{%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue