Awesome-CV icon indicating copy to clipboard operation
Awesome-CV copied to clipboard

Any way to add \cvsections to table of contents?

Open miguelriemoliveira opened this issue 11 months ago • 2 comments

Hi,

thanks for the great work.

Any way to include \cvsection and \cvsubsection into the table of contents?

miguelriemoliveira avatar Jul 23 '23 11:07 miguelriemoliveira

:wave: Welcome! Looks like this is your first issue.

Hey, thanks for your contribution! Please give us a bit of time to review it. 😄

github-actions[bot] avatar Jul 23 '23 11:07 github-actions[bot]

I have done something like this. Add them in the cls file!!

% Define a section for CV
% Usage: \cvsection{<section-title>}
\newcommand{\cvsection}[1]{%
  \vspace{\acvSectionTopSkip}
  \sectionstyle{#1}
  \phantomsection
  \color{sectiondivider}\vhrulefill{0.9pt}
}

% Define a subsection for CV
% Usage: \cvsubsection{<subsection-title>}
\newcommand{\cvsubsection}[1]{%
  \vspace{\acvSectionContentTopSkip}
  \vspace{-3mm}
  \subsectionstyle{#1}
  \phantomsection
}

TheFermi0n avatar Feb 19 '24 01:02 TheFermi0n