mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Corrected the misalignment of the section rule in styles classic and casual
This commit is contained in:
parent
fb2e17c876
commit
bb6aee0273
2 changed files with 5 additions and 3 deletions
|
|
@ -127,11 +127,11 @@
|
|||
|
||||
\renewcommand*{\section}[1]{%
|
||||
\vspace*{2.5ex}%
|
||||
\parbox[m]{\hintscolumnwidth}{\raggedleft\hintfont{\color{color1}\rule{\hintscolumnwidth}{1ex}}}%
|
||||
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{.08em}{\hintfont{\color{color1}\rule{\hintscolumnwidth}{1ex}}}}%
|
||||
\phantomsection{}% reset the anchor for hyperrefs
|
||||
\addcontentsline{toc}{part}{#1}%
|
||||
\hspace{\separatorcolumnwidth}%
|
||||
\parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}%
|
||||
\parbox[t]{\maincolumnwidth}{\strut\sectionstyle{#1}}%
|
||||
\par\nobreak\vskip 1ex\@afterheading}% to avoid a pagebreak after the heading
|
||||
|
||||
\renewcommand*{\subsection}[1]{%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue