mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-02-22 12:55:31 +08:00
Merge 3aa1be8912 into 5e0b6e90be
This commit is contained in:
commit
b3a47fef01
2 changed files with 9 additions and 4 deletions
|
|
@ -197,6 +197,7 @@
|
|||
\newcommand*{\headerquotestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\itshape\color{darktext} #1}}
|
||||
\newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lighttext} #1}}
|
||||
\newcommand*{\sectionstyle}[1]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}}
|
||||
\newcommand*{\sectioniconstyle}[2]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{awesome}{#2} \color{text} \space \@sectioncolor #1}}
|
||||
\newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{text}{#1}}}
|
||||
\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text}}
|
||||
|
||||
|
|
@ -665,10 +666,14 @@
|
|||
}
|
||||
|
||||
% Define a section for CV
|
||||
% Usage: \cvsection{<section-title>}
|
||||
\newcommand{\cvsection}[1]{%
|
||||
% Usage: \cvsection[<section-icon>]{<section-title>}
|
||||
\newcommand{\cvsection}[2][]{%
|
||||
\vspace{\acvSectionTopSkip}
|
||||
\sectionstyle{#1}
|
||||
\ifempty{#1}{
|
||||
\sectionstyle{#2}
|
||||
}{
|
||||
\sectioniconstyle{#2}{#1}
|
||||
}
|
||||
\phantomsection
|
||||
\color{sectiondivider}\vhrulefill{0.9pt}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%-------------------------------------------------------------------------------
|
||||
% SECTION TITLE
|
||||
%-------------------------------------------------------------------------------
|
||||
\cvsection{Education}
|
||||
\cvsection[\faGraduationCap]{Education}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue