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
|
|
@ -160,18 +160,18 @@
|
|||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}}
|
||||
|
||||
\renewcommand*{\section}[1]{%
|
||||
\RenewDocumentCommand{\section}{sm}{%
|
||||
\par\addvspace{2.5ex}%
|
||||
\phantomsection{}% reset the anchor for hyperrefs
|
||||
\addcontentsline{toc}{section}{#1}%
|
||||
\strut\sectionstyle{#1}%
|
||||
\addcontentsline{toc}{section}{#2}%
|
||||
\strut\sectionstyle{#2}%
|
||||
\par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading
|
||||
|
||||
\renewcommand*{\subsection}[1]{%
|
||||
\RenewDocumentCommand{\subsection}{sm}{%
|
||||
\par\addvspace{1ex}%
|
||||
\phantomsection{}% reset the anchor for hyperrefs
|
||||
\addcontentsline{toc}{subsection}{#1}%
|
||||
\strut\subsectionstyle{#1}%
|
||||
\addcontentsline{toc}{subsection}{#2}%
|
||||
\strut\subsectionstyle{#2}%
|
||||
\par\nobreak\addvspace{0.5ex}\@afterheading}% to avoid a pagebreak after the heading
|
||||
|
||||
\renewcommand*{\cvitem}[3][.25em]{%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue