Corrected the misalignment of the section rule in styles classic and casual
This commit is contained in:
@ -1,7 +1,9 @@
|
|||||||
version 0.16 (dd MMM 2012)
|
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
|
non-starred version, to e.g. enable biblatex support as requested by S. Verberkt
|
||||||
(launchpad bug #913102).
|
(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)
|
version 0.15.1 (23 December 2011)
|
||||||
- corrected a bug in the classic style causing the address font and color not
|
- corrected a bug in the classic style causing the address font and color not
|
||||||
|
|||||||
@ -127,11 +127,11 @@
|
|||||||
|
|
||||||
\renewcommand*{\section}[1]{%
|
\renewcommand*{\section}[1]{%
|
||||||
\vspace*{2.5ex}%
|
\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
|
\phantomsection{}% reset the anchor for hyperrefs
|
||||||
\addcontentsline{toc}{part}{#1}%
|
\addcontentsline{toc}{part}{#1}%
|
||||||
\hspace{\separatorcolumnwidth}%
|
\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
|
\par\nobreak\vskip 1ex\@afterheading}% to avoid a pagebreak after the heading
|
||||||
|
|
||||||
\renewcommand*{\subsection}[1]{%
|
\renewcommand*{\subsection}[1]{%
|
||||||
|
|||||||
Reference in New Issue
Block a user