Add lateupdate command to print update date

This commit is contained in:
dilippuri 2016-08-09 12:36:37 +05:30
parent 1d35825520
commit a537f3f00f
2 changed files with 273 additions and 258 deletions

View file

@ -10,7 +10,7 @@
% %
% Notes: % Notes:
% 1) This class file defines the structure and layout of the template file (cv.tex, resume.tex). % 1) This class file defines the structure and layout of the template file (cv.tex, resume.tex).
% 2) It has been written in such a way that under most circumstances you % 2) It has been written in such a way that under most circumstances you
% should not need to edit it. % should not need to edit it.
% %
% Class license: % Class license:
@ -21,7 +21,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Identification % Identification
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\ProvidesClass{awesome-cv}[2015/12/14 v1.3 Awesome Curriculum Vitae Class] \ProvidesClass{awesome-cv}[2016/01/30 v1.5 Awesome Curriculum Vitae Class]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
@ -36,7 +36,7 @@
\DeclareOption{draft}{\setlength\overfullrule{5pt}} \DeclareOption{draft}{\setlength\overfullrule{5pt}}
\DeclareOption{final}{\setlength\overfullrule{0pt}} \DeclareOption{final}{\setlength\overfullrule{0pt}}
% Inherit options of article % Inherit options of article
\DeclareOption*{ \DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{article} \PassOptionsToClass{\CurrentOption}{article}
} }
\ProcessOptions\relax \ProcessOptions\relax
@ -67,15 +67,9 @@
% Needed to change line spacing in specific environment % Needed to change line spacing in specific environment
\RequirePackage{setspace} \RequirePackage{setspace}
% Needed to manage fonts % Needed to manage fonts
\ifxetex \RequirePackage[quiet]{fontspec}
\RequirePackage[quiet]{fontspec} % To support LaTeX quoting style
% To support LaTeX quoting style \defaultfontfeatures{Ligatures=TeX}
\defaultfontfeatures{Ligatures=TeX}
\else
\RequirePackage[T1]{fontenc}
% Replace by the encoding you are using
\RequirePackage[utf8]{inputenc}
\fi
% Needed to manage math fonts % Needed to manage math fonts
\RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math} \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}
% Needed to use icons from font-awesome % Needed to use icons from font-awesome
@ -84,14 +78,12 @@
% Needed to deal a paragraphs % Needed to deal a paragraphs
\RequirePackage{parskip} \RequirePackage{parskip}
% Needed to deal hyperlink % Needed to deal hyperlink
\RequirePackage{hyperref} \RequirePackage[hidelinks,unicode]{hyperref}
\hypersetup{ \hypersetup{%
pdftitle={}, pdftitle={},
pdfauthor={}, pdfauthor={},
pdfsubject={}, pdfsubject={},
pdfkeywords={}, pdfkeywords={}
colorlinks=false,
allbordercolors=white
} }
@ -111,7 +103,7 @@
\geometry{left=2.0cm, top=1.5cm, right=2.0cm, bottom=2.0cm, footskip=.5cm} \geometry{left=2.0cm, top=1.5cm, right=2.0cm, bottom=2.0cm, footskip=.5cm}
%% Header & Footer %% Header & Footer
% Set offset to each header and offset % Set offset to each header and footer
\fancyhfoffset{0em} \fancyhfoffset{0em}
% Remove head rule % Remove head rule
\renewcommand{\headrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt}
@ -152,21 +144,13 @@
\definecolor{awesome-darknight}{HTML}{131A28} \definecolor{awesome-darknight}{HTML}{131A28}
\colorlet{awesome}{awesome-red} \colorlet{awesome}{awesome-red}
% Boolean value to switch section color highlighting
\newbool{acvSectionColorHighlight}
\setbool{acvSectionColorHighlight}{true}
% Awesome section color % Awesome section color
\newcounter{colorCounter}
\def\@sectioncolor#1#2#3{% \def\@sectioncolor#1#2#3{%
{% \ifbool{acvSectionColorHighlight}{{\color{awesome}#1#2#3}}{#1#2#3}%
\color{%
\ifcase\value{colorCounter}%
awesome\or%
awesome\or%
awesome\or%
awesome\or%
awesome\else%
awesome\fi%
} #1#2#3%
}%
\stepcounter{colorCounter}%
} }
@ -215,6 +199,15 @@
BoldItalicFont=*-SemiboldIt BoldItalicFont=*-SemiboldIt
]{SourceSansPro} ]{SourceSansPro}
% Set main font
\setmainfont[
Path=\@fontdir,
UprightFont=*-Regular,
ItalicFont=*-It,
BoldFont=*-Bold,
BoldItalicFont=*-BoldIt
]{SourceSansPro}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Configuration for styles % Configuration for styles
@ -230,6 +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{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}}
@ -256,7 +250,7 @@
\newcommand*{\skillsetstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{text} #1}} \newcommand*{\skillsetstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{text} #1}}
% For elements of the cover letter % 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*{\recipientaddressstyle}[1]{{\fontsize{9pt}{1em}\bodyfont\scshape\color{graytext} #1}}
\newcommand*{\recipienttitlestyle}[1]{{\fontsize{11pt}{1em}\bodyfont\bfseries\color{darktext} #1}} \newcommand*{\recipienttitlestyle}[1]{{\fontsize{11pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
\newcommand*{\lettertitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfontlight\bfseries\color{darktext} \underline{#1}}} \newcommand*{\lettertitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfontlight\bfseries\color{darktext} \underline{#1}}}
@ -269,6 +263,10 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Commands for personal information % Commands for personal information
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Last update date
% Usage: \address{Last updated on <date>}
\newcommand*{\lastupdate}[1]{\def\@lastupdate{#1}}
% Define writer's name % Define writer's name
% Usage: \name{<firstname>}{<lastname>} % Usage: \name{<firstname>}{<lastname>}
% Usage: \firstname{<firstname>} % Usage: \firstname{<firstname>}
@ -304,23 +302,35 @@
% Usage: \github{<github-nick>} % Usage: \github{<github-nick>}
\newcommand*{\github}[1]{\def\@github{#1}} \newcommand*{\github}[1]{\def\@github{#1}}
% Defines writer's linked-in (optional)
% Usage: \linkedin{<linked-in-nick>}
\newcommand*{\linkedin}[1]{\def\@linkedin{#1}}
% Defines writer's stackoverflow profile (optional) % Defines writer's stackoverflow profile (optional)
% Usage: \stackoverflow{<so userid>}{<so username>} % Usage: \stackoverflow{<so userid>}{<so username>}
% e.g.https://stackoverflow.com/users/123456/sam-smith % e.g.https://stackoverflow.com/users/123456/sam-smith
% would be \stackoverflow{123456}{sam-smith} % would be \stackoverflow{123456}{sam-smith}
\newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}} \newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}}
% Defines writer's linked-in (optional)
% Usage: \linkedin{<linked-in-nick>}
\newcommand*{\linkedin}[1]{\def\@linkedin{#1}}
% Usage: \twitter{<twitter handle>}
\newcommand*{\twitter}[1]{\def\@twitter{#1}}
% Defines writer's skype (optional) % Defines writer's skype (optional)
% Usage: \skype{<skype account>} % Usage: \skype{<skype account>}
\newcommand*{\skype}[1]{\def\@skype{#1}} \newcommand*{\skype}[1]{\def\@skype{#1}}
% Defines writer's reddit (optional)
% Usage: \reddit{<reddit account>}
\newcommand*{\reddit}[1]{\def\@reddit{#1}}
% Defines writer's xing (optional)
% Usage: \xing{<xing name>}
\newcommand*{\xing}[1]{\def\@xing{#1}}
% Defines writer's twitter (optional) % Defines writer's twitter (optional)
% Usage: \twitter{<twitter handle>} % Defines writer's extra informations (optional)
\newcommand*{\twitter}[1]{\def\@twitter{#1}} % Usage: \extrainfo{<extra informations>}
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
% Defines writer's quote (optional) % Defines writer's quote (optional)
% Usage: \quote{<quote>} % Usage: \quote{<quote>}
@ -353,25 +363,30 @@
% Defines an enclosure for letter (cover letter only, optional) % Defines an enclosure for letter (cover letter only, optional)
% Usage: \letterenclosure[<enclosure name>]{<enclosure>} % Usage: \letterenclosure[<enclosure name>]{<enclosure>}
\newcommand*{\letterenclname}[1][Enclosure]{\def\@letterenclname{#1}} \newcommand*{\letterenclname}[1][Enclosure]{\def\@letterenclname{#1}}
\newcommand*{\letterenclosure}[2][]{ \newcommand*{\letterenclosure}[2][]{%
% if an optional argument is provided, use it to redefine \enclname % if an optional argument is provided, use it to redefine \enclname
\ifthenelse{\equal{#1}{}}{}{\def\@letterenclname{#1}} \ifthenelse{\equal{#1}{}}{}{\def\@letterenclname{#1}}
\def\@letterenclosure{#2} \def\@letterenclosure{#2}
} }
% Last Date on which resume updated
% Usage: \lastdate{<date>}
\newcommand*{\updatedate}[1]{\def\@updatedate{#1}}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Commands for extra % Commands for extra
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Define separator for social informations in header %% Define helper macros a user can change easily
% Usage: \headersocialsep{<separator>} % Header
% Default: \quad\textbar\quad \newcommand{\acvHeaderNameDelim}{\space}
\newcommand*{\headersocialsep}[1][\quad\textbar\quad]{\def\@headersocialsep{#1}} \newcommand{\acvHeaderAfterNameSkip}{.4mm}
\headersocialsep \newcommand{\acvHeaderAfterPositionSkip}{.4mm}
\newcommand{\acvHeaderAfterAddressSkip}{-.5mm}
\newcommand{\acvHeaderIconSep}{\space}
\newcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
\newcommand{\acvHeaderAfterSocialSkip}{6mm}
\newcommand{\acvHeaderAfterQuoteSkip}{5mm}
% Others
\newcommand{\acvSectionTopSkip}{3mm}
\newcommand{\acvSectionContentTopSkip}{2.5mm}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
@ -382,7 +397,7 @@
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% Use to draw horizontal line with specific tickness % Use to draw horizontal line with specific thickness
\def\vhrulefill#1{\leavevmode\leaders\hrule\@height#1\hfill \kern\z@} \def\vhrulefill#1{\leavevmode\leaders\hrule\@height#1\hfill \kern\z@}
% Use to execute conditional statements by checking empty string % Use to execute conditional statements by checking empty string
@ -394,175 +409,165 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Define a header for CV % Define a header for CV
% Usage: \makecvheader % Usage: \makecvheader
\newcommand*{\makecvheader}{ \newcommand*{\makecvheader}{%
\begin{flushright} \begin{flushright}
\@updatedate \@lastupdate
\end{flushright} \end{flushright}
\begin{center} \begin{center}
\headerfirstnamestyle{ \headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}%
\@firstname \\[\acvHeaderAfterNameSkip]%
} \headerlastnamestyle{ \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}%
\@lastname \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvHeaderAfterAddressSkip]}}%
} \headersocialstyle{%
\\ \newbool{isstart}%
\vspace{0.4mm} \setbool{isstart}{true}%
\ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\}} \ifthenelse{\isundefined{\@mobile}}%
\vspace{0.4mm} {}%
\ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\}} {%
\vspace{-0.5mm} \faMobile\acvHeaderIconSep\@mobile%
\headersocialstyle{ \setbool{isstart}{false}%
\newbool{isstart} }%
\setbool{isstart}{true} \ifthenelse{\isundefined{\@email}}%
\ifthenelse{\isundefined{\@mobile}} {}%
{} {%
{ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\faMobile\ \@mobile \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}%
\setbool{isstart}{false} }%
} \ifthenelse{\isundefined{\@homepage}}%
\ifthenelse{\isundefined{\@email}} {}%
{} {%
{ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\ifbool{isstart} \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}%
{ }%
\setbool{istart}{false} \ifthenelse{\isundefined{\@github}}%
} {}%
{\@headersocialsep} {%
\href{mailto:\@email}{\faEnvelope\ \@email} \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
} \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}%
\ifthenelse{\isundefined{\@homepage}} }%
{} \ifthenelse{\isundefined{\@stackoverflowid}}%
{ {}%
\ifbool{isstart} {%
{ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\setbool{istart}{false} \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}%
} }%
{\@headersocialsep} \ifthenelse{\isundefined{\@linkedin}}%
\href{http://\@homepage}{\faHome\ \@homepage} {}%
} {%
\ifthenelse{\isundefined{\@github}} \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
{} \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}%
{ }%
\ifbool{isstart} \ifthenelse{\isundefined{\@twitter}}%
{ {}%
\setbool{istart}{false} {%
} \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
{\@headersocialsep} \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}%
\href{https://github.com/\@github}{\faGithubSquare\ \@github} }%
} \ifthenelse{\isundefined{\@skype}}%
\ifthenelse{\isundefined{\@stackoverflowid}} {}%
{} {%
{ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\ifbool{isstart} \faSkype\acvHeaderIconSep\@skype%
{ }%
\setbool{istart}{false} \ifthenelse{\isundefined{\@reddit}}%
} {}%
{\@headersocialsep} {%
\href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\ \@stackoverflowname} \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
} \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}%
\ifthenelse{\isundefined{\@linkedin}} }%
{} \ifthenelse{\isundefined{\@xing}}%
{ {}%
\ifbool{isstart} {%
{ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\setbool{istart}{false} \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing}
} }%
{\@headersocialsep} \ifthenelse{\isundefined{\@extrainfo}}%
\href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin} {}%
} {%
\ifthenelse{\isundefined{\@twitter}} \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
{} \@extrainfo%
{ }%
\ifbool{isstart} } \\[\acvHeaderAfterSocialSkip]%
{ \ifthenelse{\isundefined{\@quote}}%
\setbool{istart}{false} {}%
} {\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}%
{\@headersocialsep} \end{center}%
\href{https://twitter.com/\@twitter}{\faTwitter\ \@twitter}
}
\ifthenelse{\isundefined{\@skype}}
{}
{
\ifbool{isstart}
{
\setbool{istart}{false}
}
{\@headersocialsep}
\faSkype\ \@skype
}
} \\
\ifthenelse{\isundefined{\@quote}}
{}
{\vspace{6.0mm}\headerquotestyle{\@quote\\}\vspace{5.0mm}}
\end{center}
} }
% Define a footer for CV % Define a footer for CV
% Usage: \makecvfooter{<left>}{<center>}{<right>} % Usage: \makecvfooter{<left>}{<center>}{<right>}
\newcommand*{\makecvfooter}[3]{ \newcommand*{\makecvfooter}[3]{%
\fancyfoot{} \fancyfoot{}
\fancyfoot[L]{ \fancyfoot[L]{\footerstyle{#1}}
\footerstyle{#1} \fancyfoot[C]{\footerstyle{#2}}
} \fancyfoot[R]{\footerstyle{#3}}
\fancyfoot[C]{
\footerstyle{#2}
}
\fancyfoot[R]{
\footerstyle{#3}
}
} }
% Define a section for CV % Define a section for CV
% Usage: \cvsection{<section-title>} % Usage: \cvsection{<section-title>}
\newcommand{\cvsection}[1]{ \newcommand{\cvsection}[1]{%
\par\addvspace{1.5ex} \vspace{\acvSectionTopSkip}
\phantomsection{}
\sectionstyle{#1} \sectionstyle{#1}
\phantomsection
\color{gray}\vhrulefill{0.9pt} \color{gray}\vhrulefill{0.9pt}
\par\nobreak\addvspace{1ex}
} }
% Define a subsection for CV % Define a subsection for CV
% Usage: \cvsubsection{<subsection-title>} % Usage: \cvsubsection{<subsection-title>}
\newcommand{\cvsubsection}[1]{ \newcommand{\cvsubsection}[1]{%
\phantomsection{} \vspace{\acvSectionContentTopSkip}
\vspace{-3mm}
\subsectionstyle{#1} \subsectionstyle{#1}
\phantomsection
}
% Define a paragraph for CV
\newenvironment{cvparagraph}{%
\vspace{\acvSectionContentTopSkip}
\vspace{-3mm}
\paragraphstyle
}{%
\par
\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}
} }
% 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{-2.0mm}
\setlength\tabcolsep{0pt} \setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt} \setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{12.5cm} R{4.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
\ifempty{#2#3} \ifempty{#2#3}
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\} {\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\ {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
\entrypositionstyle{#1} & \entrydatestyle{#4} \\} \entrypositionstyle{#1} & \entrydatestyle{#4} \\}
\multicolumn{2}{L{17cm}}{\descriptionstyle{#5}} \\ \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
\end{tabular*} \end{tabular*}%
} }
% Define an environment for cvsubentry % Define an environment for cvsubentry
\newenvironment{cvsubentries}{ \newenvironment{cvsubentries}{%
\begin{center} \begin{center}
}{ }{%
\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>}{<title>}{<date>}{<description>}
\newcommand*{\cvsubentry}[4]{ \newcommand*{\cvsubentry}[4]{%
\setlength\tabcolsep{0pt} \setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt} \setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{12.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}{}} \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
{\subentrydatestyle{#3}}{} {\subentrydatestyle{#3}}{}
\ifthenelse{\equal{#1}{}} \ifthenelse{\equal{#1}{}}
{} {}
{\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\} {\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\}
@ -573,50 +578,52 @@
} }
% 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}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} C{1.5cm} L{13.0cm} R{2.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} C{1.5cm} L{\textwidth - 4.0cm} R{2.5cm}}
}{ }{%
\end{tabular*} \end{tabular*}
\end{center} \end{center}
} }
% Define a line of cv information(honor, award or something else) % Define a line of cv information(honor, award or something else)
% Usage: \cvhonor{<position>}{<title>}{<location>}{<date>} % Usage: \cvhonor{<position>}{<title>}{<location>}{<date>}
\newcommand*{\cvhonor}[4]{ \newcommand*{\cvhonor}[4]{%
\honordatestyle{#4} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} \honordatestyle{#4} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} \\
\\
} }
% 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}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{15.2cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{\textwidth * \real{0.9}}}
}{ }{%
\end{tabular*} \end{tabular*}
\end{center} \end{center}
} }
% Define a line of cv information(skill) % Define a line of cv information(skill)
% Usage: \cvskill{<type>}{<skillset>} % Usage: \cvskill{<type>}{<skillset>}
\newcommand*{\cvskill}[2]{ \newcommand*{\cvskill}[2]{%
\skilltypestyle{#1} & \skillsetstyle{#2} \skilltypestyle{#1} & \skillsetstyle{#2} \\
\\
} }
% Define an environment for cvitems(for cventry) % Define an environment for cvitems(for cventry)
\newenvironment{cvitems}{ \newenvironment{cvitems}{%
\vspace{-4mm} \vspace{-4.0mm}
\begin{justify} \begin{justify}
\begin{itemize}[leftmargin=2ex, nosep, noitemsep] \begin{itemize}[leftmargin=2ex, nosep, noitemsep]
\setlength{\parskip}{0pt} \setlength{\parskip}{0pt}
\renewcommand{\labelitemi}{\bullet} \renewcommand{\labelitemi}{\bullet}
}{ }{%
\end{itemize} \end{itemize}
\end{justify} \end{justify}
\vspace{-2mm} \vspace{-4.0mm}
} }
@ -624,28 +631,28 @@
% Commands for elements of Cover Letter % Commands for elements of Cover Letter
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Define an environment for cvletter % Define an environment for cvletter
\newenvironment{cvletter}{ \newenvironment{cvletter}{%
\lettertextstyle \lettertextstyle
}{ }{%
} }
% Define a paragraph for cvletter % Define a section for the cover letter
% Usage: \cvparagraph{<paragraph-title>} % Usage: \lettersection{<section-title>}
\newcommand{\cvparagraph}[1]{ \newcommand{\lettersection}[1]{%
\par\addvspace{2.5ex} \par\addvspace{2.5ex}
\phantomsection{} \phantomsection{}
\paragraphstyle{#1} \lettersectionstyle{#1}
\color{gray}\vhrulefill{0.9pt} \color{gray}\vhrulefill{0.9pt}
\par\nobreak\addvspace{0.4ex} \par\nobreak\addvspace{0.4ex}
} }
% Define a title of the cover letter % Define a title of the cover letter
% Usage: \makelettertitle % Usage: \makelettertitle
\newcommand*{\makelettertitle}{ \newcommand*{\makelettertitle}{%
\vspace{8.4mm} \vspace{8.4mm}
\setlength\tabcolsep{0pt} \setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt} \setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{12.5cm} R{4.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
\recipienttitlestyle{\@recipientname} & \letterdatestyle{\@letterdate} \recipienttitlestyle{\@recipientname} & \letterdatestyle{\@letterdate}
\end{tabular*} \end{tabular*}
\begin{singlespace} \begin{singlespace}
@ -654,19 +661,19 @@
\ifthenelse{\isundefined{\@lettertitle}} \ifthenelse{\isundefined{\@lettertitle}}
{} {}
{\lettertitlestyle{\@lettertitle} \\} {\lettertitlestyle{\@lettertitle} \\}
\lettertextstyle{\@letteropening} \lettertextstyle{\@letteropening}
} }
% Define a closing of the cover letter % Define a closing of the cover letter
% Usage: \makeletterclosing % Usage: \makeletterclosing
\newcommand*{\makeletterclosing}{ \newcommand*{\makeletterclosing}{%
\vspace{3.4mm} \vspace{3.4mm}
\lettertextstyle{\@letterclosing} \\\\ \lettertextstyle{\@letterclosing} \\\\
\letternamestyle{\@firstname \@lastname} \letternamestyle{\@firstname\ \@lastname}
\ifthenelse{\isundefined{\@letterenclosure}} \ifthenelse{\isundefined{\@letterenclosure}}
{\\} {\\}
{ {%
\\\\\\ \\\\\\
\letterenclosurestyle{\@letterenclname: \@letterenclosure} \\ \letterenclosurestyle{\@letterenclname: \@letterenclosure} \\
} }
} }

View file

@ -1,6 +1,6 @@
%!TEX TS-program = xelatex %!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode %!TEX encoding = UTF-8 Unicode
% Awesome CV LaTeX Template % Awesome CV LaTeX Template for CV/Resume
% %
% This template has been downloaded from: % This template has been downloaded from:
% https://github.com/posquit0/Awesome-CV % https://github.com/posquit0/Awesome-CV
@ -14,81 +14,89 @@
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %-------------------------------------------------------------------------------
% Configuration % CONFIGURATIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %-------------------------------------------------------------------------------
%%% Themes: Awesome-CV % A4 paper size by default, use 'letterpaper' for US letter
\documentclass[11pt, a4paper]{awesome-cv} \documentclass[11pt, a4paper]{awesome-cv}
%%% Override a directory location for fonts(default: 'fonts/') % Configure page margins with geometry
\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm}
% Specify the location of the included fonts
\fontdir[fonts/] \fontdir[fonts/]
%%% Configure a directory location for sections % Color for highlights
\newcommand*{\sectiondir}{resume/}
%%% Override color
% Awesome Colors: awesome-emerald, awesome-skyblue, awesome-red, awesome-pink, awesome-orange % Awesome Colors: awesome-emerald, awesome-skyblue, awesome-red, awesome-pink, awesome-orange
% awesome-nephritis, awesome-concrete, awesome-darknight % awesome-nephritis, awesome-concrete, awesome-darknight
%% Color for highlight
% Define your custom color if you don't like awesome colors
\colorlet{awesome}{awesome-red} \colorlet{awesome}{awesome-red}
%\definecolor{awesome}{HTML}{CA63A8} % Uncomment if you would like to specify your own color
%% Colors for text % \definecolor{awesome}{HTML}{CA63A8}
%\definecolor{darktext}{HTML}{414141}
%\definecolor{text}{HTML}{414141}
%\definecolor{graytext}{HTML}{414141}
%\definecolor{lighttext}{HTML}{414141}
%%% Override a separator for social informations in header(default: ' | ') % Colors for text
%\headersocialsep[\quad\textbar\quad] % Uncomment if you would like to specify your own color
% \definecolor{darktext}{HTML}{414141}
% \definecolor{text}{HTML}{333333}
% \definecolor{graytext}{HTML}{5D5D5D}
% \definecolor{lighttext}{HTML}{999999}
% Set false if you don't want to highlight section with awesome color
\setbool{acvSectionColorHighlight}{true}
% If you would like to change the social information separator from a pipe (|) to something else
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %-------------------------------------------------------------------------------
% 3rd party packages % PERSONAL INFORMATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Comment any of the lines below if they are not required
%%% Needed to divide into several files %-------------------------------------------------------------------------------
\usepackage{import} \lastupdate{Last updated on \today}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Personal Data
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Essentials
\name{Claud D.}{Park} \name{Claud D.}{Park}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 22738, Rep. of KOREA} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\mobile{(+82) 10-9030-1843} \address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
%%% Social
\mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}
%%% Optionals % \stackoverflow{SO-id}{SO-name}
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} % \twitter{@twit}
\quote{``Make the change that you want to see in the world."} % \skype{skype-id}
\updatedate{Last updated on \today} % \reddit{reddit-id}
% \extrainfo{extra informations}
\quote{``Must be the change that you want to see in the world."}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %-------------------------------------------------------------------------------
% Content \begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make a footer for CV with three arguments(<left>, <center>, <right>) % Print the header with above personal informations
\makecvheader
% Print the footer with 3 arguments(<left>, <center>, <right>)
% Leave any of these blank if they are not needed
\makecvfooter \makecvfooter
{\today} {\today}
{Claud D. Park~~~·~~~Résumé} {Claud D. Park~~~·~~~Résumé}
{\thepage} {\thepage}
\begin{document}
%%% Make a header for CV with personal data
\makecvheader
%%% Import contents %-------------------------------------------------------------------------------
\import{\sectiondir}{education.tex} % CV/RESUME CONTENT
\import{\sectiondir}{experience.tex} % Each section is imported separately, open each file in turn to modify content
\import{\sectiondir}{extracurricular.tex} %-------------------------------------------------------------------------------
\import{\sectiondir}{honors.tex} % \input{resume/summary.tex}
\import{\sectiondir}{presentation.tex} \input{resume/education.tex}
\import{\sectiondir}{writing.tex} \input{resume/experience.tex}
\import{\sectiondir}{committees.tex} \input{resume/extracurricular.tex}
\input{resume/honors.tex}
\input{resume/presentation.tex}
\input{resume/writing.tex}
\input{resume/committees.tex}
%-------------------------------------------------------------------------------
\end{document} \end{document}