mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-22 14:08:36 +00:00
Fix cvsubentry not compiling while description had any content.
First, I simplified the `\cvsubentry` command to only take three arguments: the position you held, the dates you held it, and the description. Then I simplified its implementation and made it compile
This commit is contained in:
parent
e6efa6be7b
commit
60af788701
3 changed files with 22 additions and 19 deletions
|
@ -660,7 +660,7 @@
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
% Define an entry of cv information
|
% Define an entry of cv information
|
||||||
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
|
% Usage: \cventry{<position>}{<organization>}{<location>}{<date>}{<description>}
|
||||||
\newcommand*{\cventry}[5]{%
|
\newcommand*{\cventry}[5]{%
|
||||||
\vspace{-2.0mm}
|
\vspace{-2.0mm}
|
||||||
\setlength\tabcolsep{0pt}
|
\setlength\tabcolsep{0pt}
|
||||||
|
@ -683,20 +683,15 @@
|
||||||
\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]{%
|
\newcommand*{\cvsubentry}[3]{%
|
||||||
\setlength\tabcolsep{0pt}
|
\setlength\tabcolsep{0pt}
|
||||||
\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}
|
\subentrytitlestyle{#1} & \subentrydatestyle{#2} \\
|
||||||
\subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
|
\ifstrempty{#3}
|
||||||
{\subentrydatestyle{#3}}{}
|
|
||||||
\ifthenelse{\equal{#1}{}}
|
|
||||||
{}
|
{}
|
||||||
{\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\}
|
{\multicolumn{2}{L{\textwidth}}{\subdescriptionstyle{#3}} \\}
|
||||||
\ifthenelse{\equal{#4}{}}
|
|
||||||
{}
|
|
||||||
{\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\}
|
|
||||||
\end{tabular*}
|
\end{tabular*}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
examples/cv.pdf
BIN
examples/cv.pdf
Binary file not shown.
|
@ -172,14 +172,22 @@
|
||||||
{S.Korea} % Location
|
{S.Korea} % Location
|
||||||
{Sep. 2013, Mar. 2011 - Oct. 2011} % Date(s)
|
{Sep. 2013, Mar. 2011 - Oct. 2011} % Date(s)
|
||||||
{
|
{
|
||||||
\begin{cvitems} % Description(s) of tasks/responsibilities
|
% \begin{cvitems} % Description(s) of tasks/responsibilities
|
||||||
\item {Conducted penetration testing on SAMSUNG KNOX, which is solution for enterprise mobile security.}
|
% \item {Conducted penetration testing on SAMSUNG KNOX, which is solution for enterprise mobile security.}
|
||||||
\item {Conducted penetration testing on SAMSUNG Smart TV.}
|
% \item {Conducted penetration testing on SAMSUNG Smart TV.}
|
||||||
\end{cvitems}
|
% \end{cvitems}
|
||||||
%\begin{cvsubentries}
|
\begin{cvsubentries}
|
||||||
% \cvsubentry{}{KNOX(Solution for Enterprise Mobile Security) Penetration Testing}{Sep. 2013}{}
|
\cvsubentry{KNOX(Solution for Enterprise Mobile Security) Penetration Testing}{Sep. 2013}
|
||||||
% \cvsubentry{}{Smart TV Penetration Testing}{Mar. 2011 - Oct. 2011}{}
|
{
|
||||||
%\end{cvsubentries}
|
% These are dummy descriptions of work, since previously the subentry would not compile
|
||||||
|
% if you added any description to the subentry.
|
||||||
|
\begin{cvitems}
|
||||||
|
\item One Thing I did at KNOX
|
||||||
|
\item Another thing I did at KNOX
|
||||||
|
\end{cvitems}
|
||||||
|
}
|
||||||
|
\cvsubentry{Smart TV Penetration Testing}{Mar. 2011 - Oct. 2011}{}
|
||||||
|
\end{cvsubentries}
|
||||||
}
|
}
|
||||||
|
|
||||||
%---------------------------------------------------------
|
%---------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue