mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-24 23:18:33 +00:00
cvsubentry
This commit is contained in:
parent
0db3500198
commit
0466e36620
1 changed files with 24 additions and 13 deletions
|
@ -188,7 +188,7 @@
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% Configure styles for each CV elements
|
% Configure styles for each CV elements
|
||||||
% For fundamental structures
|
% For fundamental structures
|
||||||
\newcommand*{\headerfirstnamestyle}[1]{{\fontsize{32pt}{1em}\headerfontlight\color{graytext} #1}}
|
\newcommand*{\headerfirstnamestyle}[1]{{\fontsize{32pt}{1em}\headerfontlight\color{awesome} #1}}
|
||||||
\newcommand*{\headerlastnamestyle}[1]{{\fontsize{32pt}{1em}\headerfont\bfseries\color{text} #1}}
|
\newcommand*{\headerlastnamestyle}[1]{{\fontsize{32pt}{1em}\headerfont\bfseries\color{text} #1}}
|
||||||
\newcommand*{\headerpositionstyle}[1]{{\fontsize{7.6pt}{1em}\bodyfont\scshape\color{awesome} #1}}
|
\newcommand*{\headerpositionstyle}[1]{{\fontsize{7.6pt}{1em}\bodyfont\scshape\color{awesome} #1}}
|
||||||
\newcommand*{\headeraddressstyle}[1]{{\fontsize{8pt}{1em}\headerfont\itshape\color{lighttext} #1}}
|
\newcommand*{\headeraddressstyle}[1]{{\fontsize{8pt}{1em}\headerfont\itshape\color{lighttext} #1}}
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
% 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}}
|
||||||
\newcommand*{\entrypositionstyle}[1]{{\fontsize{8pt}{1em}\bodyfont\scshape\color{graytext} #1}}
|
\newcommand*{\entrypositionstyle}[1]{{\fontsize{8pt}{1em}\bodyfont\scshape\color{graytext} #1}}
|
||||||
\newcommand*{\entrydatestyle}[1]{{\fontsize{8pt}{1em}\bodyfontlight\slshape\color{graytext} #1}}
|
\newcommand*{\entrydatestyle}[1]{{\fontsize{8pt}{1em}\bodyfontlight\slshape\color{graytext} #1}}
|
||||||
\newcommand*{\entrylocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
|
\newcommand*{\entrylocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
|
||||||
\newcommand*{\descriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text} #1}}
|
\newcommand*{\descriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text} #1}}
|
||||||
|
|
||||||
|
@ -584,23 +584,21 @@
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
% Define a subentry of cv information
|
% Define a subentry of cv information
|
||||||
% Usage: \cvsubentry{<position>}{<title>}{<date>}{<description>}
|
% Usage: \cvsubentry{<position>}{<date>}{<description>}
|
||||||
\newcommand*{\cvsubentry}[4]{%
|
|
||||||
\setlength\tabcolsep{0pt}
|
\newcommand*{\cvsubentry}[3]{%
|
||||||
|
\vspace{-4.0mm} % AB Added
|
||||||
|
\setlength\tabcolsep{0pt} % was 0
|
||||||
\setlength{\extrarowheight}{0pt}
|
\setlength{\extrarowheight}{0pt}
|
||||||
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
|
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
|
||||||
\setlength\leftskip{0.2cm}
|
\setlength\leftskip{0.2cm}
|
||||||
\subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
|
\subentrypositionstyle{#1} & \subentrydatestyle{#2} \\
|
||||||
{\subentrydatestyle{#3}}{}
|
\multicolumn{2}{L{\textwidth}}{\subdescriptionstyle{#3}}
|
||||||
\ifthenelse{\equal{#1}{}}
|
|
||||||
{}
|
|
||||||
{\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\}
|
|
||||||
\ifthenelse{\equal{#4}{}}
|
|
||||||
{}
|
|
||||||
{\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\}
|
|
||||||
\end{tabular*}
|
\end{tabular*}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
% Define an environment for cvhonor
|
% Define an environment for cvhonor
|
||||||
\newenvironment{cvhonors}{%
|
\newenvironment{cvhonors}{%
|
||||||
\vspace{\acvSectionContentTopSkip}
|
\vspace{\acvSectionContentTopSkip}
|
||||||
|
@ -650,6 +648,19 @@
|
||||||
\vspace{-4.0mm}
|
\vspace{-4.0mm}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% Define an environment for subcvitems(for subcventry)
|
||||||
|
\newenvironment{subcvitems}{%
|
||||||
|
\vspace{-4.0mm}
|
||||||
|
\begin{justify}
|
||||||
|
\begin{itemize}[leftmargin=4ex, nosep, noitemsep] % was 2ex
|
||||||
|
\setlength{\parskip}{0pt}
|
||||||
|
\renewcommand{\labelitemi}{\bullet}
|
||||||
|
}{%
|
||||||
|
\end{itemize}
|
||||||
|
\end{justify}
|
||||||
|
\vspace{-4.0mm}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% Commands for elements of Cover Letter
|
% Commands for elements of Cover Letter
|
||||||
|
|
Loading…
Reference in a new issue