Corrected the misalignment of the section rule in styles classic and casual

This commit is contained in:
Xavier Danaux
2012-01-15 01:32:34 +01:00
parent fb2e17c876
commit bb6aee0273
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,9 @@
version 0.16 (dd MMM 2012)
- adds starred versions of \section and \subsection (that are identical to their
- added starred versions of \section and \subsection (that are identical to their
non-starred version, to e.g. enable biblatex support as requested by S. Verberkt
(launchpad bug #913102).
- corrected a misalignment of the colored rule in front of the section titles in
the classic and casual styles, as reported by P. Neidhardt (launchpad bug #915910).
version 0.15.1 (23 December 2011)
- corrected a bug in the classic style causing the address font and color not

View File

@ -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]{%