Added starred version of \section and \subsection
This commit is contained in:
11
CHANGELOG
11
CHANGELOG
@ -1,6 +1,11 @@
|
|||||||
|
version 0.16 (dd MMM 2012)
|
||||||
|
- adds 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).
|
||||||
|
|
||||||
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 being
|
- corrected a bug in the classic style causing the address font and color not
|
||||||
carried over newlines, as reported by J. Smith.
|
being carried over newlines, as reported by J. Smith.
|
||||||
|
|
||||||
version 0.15 (19 December 2011)
|
version 0.15 (19 December 2011)
|
||||||
- corrected list spacing.
|
- corrected list spacing.
|
||||||
@ -39,7 +44,7 @@ version 0.13 (06 November 2011)
|
|||||||
- added a "purple" color option, as proposed by B. Ravel.
|
- added a "purple" color option, as proposed by B. Ravel.
|
||||||
- added a 3rd optional argument to the \photo command to control the thickness of
|
- added a 3rd optional argument to the \photo command to control the thickness of
|
||||||
the framebox. Setting it to 0pt will disable the frame around the photo, as
|
the framebox. Setting it to 0pt will disable the frame around the photo, as
|
||||||
requested by T. Krennwallner (launchpad byg #664568).
|
requested by T. Krennwallner (launchpad bug #664568).
|
||||||
|
|
||||||
version 0.12 (03 August 2010)
|
version 0.12 (03 August 2010)
|
||||||
- prevented pagebreaks after sections and subsections (launchpad bug #409902),
|
- prevented pagebreaks after sections and subsections (launchpad bug #409902),
|
||||||
|
|||||||
10
moderncv.cls
10
moderncv.cls
@ -253,17 +253,13 @@
|
|||||||
% usage: \section{<title>}
|
% usage: \section{<title>}
|
||||||
\newcommand*{\section}[1]{}
|
\newcommand*{\section}[1]{}
|
||||||
% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header)
|
% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header)
|
||||||
\AtEndPreamble{%
|
\RequirePackage{suffix}
|
||||||
\@ifpackageloaded{natbib}
|
\AtBeginDocument{\WithSuffix\newcommand\section*{\section}}
|
||||||
{
|
|
||||||
\RequirePackage{suffix}
|
|
||||||
\WithSuffix\newcommand\section*{\section}
|
|
||||||
}{}
|
|
||||||
}
|
|
||||||
|
|
||||||
% makes a cv subsection
|
% makes a cv subsection
|
||||||
% usage: \subsection{title}
|
% usage: \subsection{title}
|
||||||
\newcommand*{\subsection}[1]{}
|
\newcommand*{\subsection}[1]{}
|
||||||
|
\AtBeginDocument{\WithSuffix\newcommand\subsection*{\subsection}}
|
||||||
|
|
||||||
% makes a cv line with a header and a corresponding text
|
% makes a cv line with a header and a corresponding text
|
||||||
% usage: \cvitem[spacing]{header}{text}
|
% usage: \cvitem[spacing]{header}{text}
|
||||||
|
|||||||
Reference in New Issue
Block a user