forked from mirrors/Awesome-CV
bug fix on summary section & add acvSectionContentTopSkip
This commit is contained in:
parent
33d9a27509
commit
6d152ef428
5 changed files with 16 additions and 11 deletions
|
@ -223,7 +223,7 @@
|
||||||
\newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lighttext} #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*{\sectionstyle}[1]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}}
|
||||||
\newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{text}{#1}}}
|
\newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{text}{#1}}}
|
||||||
\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{graytext}}
|
\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text}}
|
||||||
|
|
||||||
% For elements of entry
|
% For elements of entry
|
||||||
\newcommand*{\entrytitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
\newcommand*{\entrytitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
||||||
|
@ -378,7 +378,7 @@
|
||||||
|
|
||||||
% Others
|
% Others
|
||||||
\newcommand{\acvSectionTopSkip}{3mm}
|
\newcommand{\acvSectionTopSkip}{3mm}
|
||||||
\newcommand{\acvEntryTopSkip}{2.5mm}
|
\newcommand{\acvSectionContentTopSkip}{2.5mm}
|
||||||
|
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
|
@ -498,25 +498,25 @@
|
||||||
% Define a subsection for CV
|
% Define a subsection for CV
|
||||||
% Usage: \cvsubsection{<subsection-title>}
|
% Usage: \cvsubsection{<subsection-title>}
|
||||||
\newcommand{\cvsubsection}[1]{%
|
\newcommand{\cvsubsection}[1]{%
|
||||||
|
\vspace{\acvSectionContentTopSkip}
|
||||||
|
\vspace{-3mm}
|
||||||
\subsectionstyle{#1}
|
\subsectionstyle{#1}
|
||||||
\phantomsection
|
\phantomsection
|
||||||
}
|
}
|
||||||
\newcommand{\acvParagraphTopSpace}{\addvspace{0ex}}
|
|
||||||
\newcommand{\acvParagraphBottomSpace}{\addvspace{0ex}}
|
|
||||||
|
|
||||||
% Define a paragraph for CV
|
% Define a paragraph for CV
|
||||||
\newenvironment{cvparagraph}{%
|
\newenvironment{cvparagraph}{%
|
||||||
\par
|
\vspace{\acvSectionContentTopSkip}
|
||||||
\acvParagraphTopSpace
|
\vspace{-3mm}
|
||||||
\paragraphstyle
|
\paragraphstyle
|
||||||
}{%
|
}{%
|
||||||
\par
|
\par
|
||||||
\acvParagraphBottomSpace
|
\vspace{2mm}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
% Define an environment for cventry
|
% Define an environment for cventry
|
||||||
\newenvironment{cventries}{%
|
\newenvironment{cventries}{%
|
||||||
|
\vspace{\acvSectionContentTopSkip}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
}{%
|
}{%
|
||||||
\end{center}
|
\end{center}
|
||||||
|
@ -524,7 +524,6 @@
|
||||||
% Define an entry of cv information
|
% Define an entry of cv information
|
||||||
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
|
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
|
||||||
\newcommand*{\cventry}[5]{%
|
\newcommand*{\cventry}[5]{%
|
||||||
\vspace{\acvEntryTopSkip}
|
|
||||||
\vspace{-2.0mm}
|
\vspace{-2.0mm}
|
||||||
\setlength\tabcolsep{0pt}
|
\setlength\tabcolsep{0pt}
|
||||||
\setlength{\extrarowheight}{0pt}
|
\setlength{\extrarowheight}{0pt}
|
||||||
|
@ -563,6 +562,8 @@
|
||||||
|
|
||||||
% Define an environment for cvhonor
|
% Define an environment for cvhonor
|
||||||
\newenvironment{cvhonors}{%
|
\newenvironment{cvhonors}{%
|
||||||
|
\vspace{\acvSectionContentTopSkip}
|
||||||
|
\vspace{-2mm}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\setlength\tabcolsep{0pt}
|
\setlength\tabcolsep{0pt}
|
||||||
\setlength{\extrarowheight}{0pt}
|
\setlength{\extrarowheight}{0pt}
|
||||||
|
@ -579,6 +580,8 @@
|
||||||
|
|
||||||
% Define an environment for cvskill
|
% Define an environment for cvskill
|
||||||
\newenvironment{cvskills}{%
|
\newenvironment{cvskills}{%
|
||||||
|
\vspace{\acvSectionContentTopSkip}
|
||||||
|
\vspace{-2.0mm}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\setlength\tabcolsep{1ex}
|
\setlength\tabcolsep{1ex}
|
||||||
\setlength{\extrarowheight}{0pt}
|
\setlength{\extrarowheight}{0pt}
|
||||||
|
|
Binary file not shown.
BIN
examples/cv.pdf
BIN
examples/cv.pdf
Binary file not shown.
Binary file not shown.
|
@ -8,5 +8,7 @@
|
||||||
% CONTENT
|
% CONTENT
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
\begin{cvparagraph}
|
\begin{cvparagraph}
|
||||||
|
|
||||||
|
%---------------------------------------------------------
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.
|
||||||
\end{cvparagraph}
|
\end{cvparagraph}
|
||||||
|
|
Loading…
Reference in a new issue