mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Removed the use of the suffix package
This commit is contained in:
parent
5e01c8cec9
commit
6bfc2a032b
13 changed files with 26 additions and 28 deletions
|
|
@ -357,15 +357,12 @@
|
|||
|
||||
% makes a resume section
|
||||
% usage: \section{<title>}
|
||||
\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)
|
||||
\RequirePackage{suffix}
|
||||
\AtBeginDocument{\WithSuffix\newcommand\section*{\section}}
|
||||
% identical starred and non-starred variants should be defined for compatibility with other packages (e.g. with natbib, that uses \section*{} for the bibliography header)
|
||||
\NewDocumentCommand{\section}{sm}{}
|
||||
|
||||
% makes a resume subsection
|
||||
% usage: \subsection{title}
|
||||
\newcommand*{\subsection}[1]{}
|
||||
\AtBeginDocument{\WithSuffix\newcommand\subsection*{\subsection}}
|
||||
\NewDocumentCommand{\subsection}{sm}{}
|
||||
|
||||
% makes a resume line with a header and a corresponding text
|
||||
% usage: \cvitem[spacing]{header}{text}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue