add paragraph section in cv & rename paragraph of the coverletter(cvparagraph->lettersection)
This commit is contained in:
+15
-5
@@ -228,6 +228,7 @@
|
||||
\newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lighttext} #1}}
|
||||
\newcommand*{\sectionstyle}[1]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}}
|
||||
\newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{text}{#1}}}
|
||||
\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{graytext}}
|
||||
|
||||
% For elements of entry
|
||||
\newcommand*{\entrytitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
||||
@@ -254,7 +255,7 @@
|
||||
\newcommand*{\skillsetstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{text} #1}}
|
||||
|
||||
% For elements of the cover letter
|
||||
\newcommand*{\paragraphstyle}[1]{{\fontsize{14pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}}
|
||||
\newcommand*{\lettersectionstyle}[1]{{\fontsize{14pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}}
|
||||
\newcommand*{\recipientaddressstyle}[1]{{\fontsize{9pt}{1em}\bodyfont\scshape\color{graytext} #1}}
|
||||
\newcommand*{\recipienttitlestyle}[1]{{\fontsize{11pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
||||
\newcommand*{\lettertitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfontlight\bfseries\color{darktext} \underline{#1}}}
|
||||
@@ -519,6 +520,15 @@
|
||||
\subsectionstyle{#1}
|
||||
}
|
||||
|
||||
% Define a paragraph for CV
|
||||
\newenvironment{cvparagraph}{
|
||||
\vspace{-3mm}
|
||||
\paragraphstyle
|
||||
}{
|
||||
\vspace{1mm}
|
||||
}
|
||||
|
||||
|
||||
% Define an environment for cventry
|
||||
\newenvironment{cventries}{
|
||||
\begin{center}
|
||||
@@ -620,12 +630,12 @@
|
||||
}{
|
||||
}
|
||||
|
||||
% Define a paragraph for cvletter
|
||||
% Usage: \cvparagraph{<paragraph-title>}
|
||||
\newcommand{\cvparagraph}[1]{
|
||||
% Define a section for the cover letter
|
||||
% Usage: \lettersection{<section-title>}
|
||||
\newcommand{\lettersection}[1]{
|
||||
\par\addvspace{2.5ex}
|
||||
\phantomsection{}
|
||||
\paragraphstyle{#1}
|
||||
\lettersectionstyle{#1}
|
||||
\color{gray}\vhrulefill{0.9pt}
|
||||
\par\nobreak\addvspace{0.4ex}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user