cvsubentry

This commit is contained in:
Andrea Bonilla 2018-10-10 20:53:23 -07:00
parent 0db3500198
commit 0466e36620

View file

@ -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}}
@ -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