Add LastUpdate newcommand

This commit is contained in:
dilippuri 2016-08-09 12:22:23 +05:30
parent 8682e5f8ed
commit 1d35825520
2 changed files with 258 additions and 265 deletions

View file

@ -21,7 +21,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Identification % Identification
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\ProvidesClass{awesome-cv}[2016/01/30 v1.5 Awesome Curriculum Vitae Class] \ProvidesClass{awesome-cv}[2015/12/14 v1.3 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,9 +67,15 @@
% 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
\RequirePackage[quiet]{fontspec} \ifxetex
% To support LaTeX quoting style \RequirePackage[quiet]{fontspec}
\defaultfontfeatures{Ligatures=TeX} % To support LaTeX quoting style
\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
@ -78,12 +84,14 @@
% Needed to deal a paragraphs % Needed to deal a paragraphs
\RequirePackage{parskip} \RequirePackage{parskip}
% Needed to deal hyperlink % Needed to deal hyperlink
\RequirePackage[hidelinks]{hyperref} \RequirePackage{hyperref}
\hypersetup{% \hypersetup{
pdftitle={}, pdftitle={},
pdfauthor={}, pdfauthor={},
pdfsubject={}, pdfsubject={},
pdfkeywords={} pdfkeywords={},
colorlinks=false,
allbordercolors=white
} }
@ -103,7 +111,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 footer % Set offset to each header and offset
\fancyhfoffset{0em} \fancyhfoffset{0em}
% Remove head rule % Remove head rule
\renewcommand{\headrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt}
@ -144,13 +152,21 @@
\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}%
} }
@ -199,15 +215,6 @@
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
@ -223,7 +230,6 @@
\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}}
@ -250,7 +256,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*{\lettersectionstyle}[1]{{\fontsize{14pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}} \newcommand*{\paragraphstyle}[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}}}
@ -298,35 +304,23 @@
% 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)
% Defines writer's extra informations (optional) % Usage: \twitter{<twitter handle>}
% Usage: \extrainfo{<extra informations>} \newcommand*{\twitter}[1]{\def\@twitter{#1}}
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
% Defines writer's quote (optional) % Defines writer's quote (optional)
% Usage: \quote{<quote>} % Usage: \quote{<quote>}
@ -359,30 +353,25 @@
% 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 helper macros a user can change easily % Define separator for social informations in header
% Header % Usage: \headersocialsep{<separator>}
\newcommand{\acvHeaderNameDelim}{\space} % Default: \quad\textbar\quad
\newcommand{\acvHeaderAfterNameSkip}{.4mm} \newcommand*{\headersocialsep}[1][\quad\textbar\quad]{\def\@headersocialsep{#1}}
\newcommand{\acvHeaderAfterPositionSkip}{.4mm} \headersocialsep
\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}
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
@ -393,7 +382,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 thickness % Use to draw horizontal line with specific tickness
\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
@ -405,159 +394,172 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Define a header for CV % Define a header for CV
% Usage: \makecvheader % Usage: \makecvheader
\newcommand*{\makecvheader}{% \newcommand*{\makecvheader}{
\begin{flushright}
\@updatedate
\end{flushright}
\begin{center} \begin{center}
\headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}% \headerfirstnamestyle{
\\[\acvHeaderAfterNameSkip]% \@firstname
\ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}% } \headerlastnamestyle{
\ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvHeaderAfterAddressSkip]}}% \@lastname
\headersocialstyle{% }
\newbool{isstart}% \\
\setbool{isstart}{true}% \vspace{0.4mm}
\ifthenelse{\isundefined{\@mobile}}% \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\}}
{}% \vspace{0.4mm}
{% \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\}}
\faMobile\acvHeaderIconSep\@mobile% \vspace{-0.5mm}
\setbool{isstart}{false}% \headersocialstyle{
}% \newbool{isstart}
\ifthenelse{\isundefined{\@email}}% \setbool{isstart}{true}
{}% \ifthenelse{\isundefined{\@mobile}}
{% {}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% {
\href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% \faMobile\ \@mobile
}% \setbool{isstart}{false}
\ifthenelse{\isundefined{\@homepage}}% }
{}% \ifthenelse{\isundefined{\@email}}
{% {}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% {
\href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% \ifbool{isstart}
}% {
\ifthenelse{\isundefined{\@github}}% \setbool{istart}{false}
{}% }
{% {\@headersocialsep}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{mailto:\@email}{\faEnvelope\ \@email}
\href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% }
}% \ifthenelse{\isundefined{\@homepage}}
\ifthenelse{\isundefined{\@stackoverflowid}}% {}
{}% {
{% \ifbool{isstart}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% {
\href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% \setbool{istart}{false}
}% }
\ifthenelse{\isundefined{\@linkedin}}% {\@headersocialsep}
{}% \href{http://\@homepage}{\faHome\ \@homepage}
{% }
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifthenelse{\isundefined{\@github}}
\href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% {}
}% {
\ifthenelse{\isundefined{\@twitter}}% \ifbool{isstart}
{}% {
{% \setbool{istart}{false}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% }
\href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% {\@headersocialsep}
}% \href{https://github.com/\@github}{\faGithubSquare\ \@github}
\ifthenelse{\isundefined{\@skype}}% }
{}% \ifthenelse{\isundefined{\@stackoverflowid}}
{% {}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% {
\faSkype\acvHeaderIconSep\@skype% \ifbool{isstart}
}% {
\ifthenelse{\isundefined{\@reddit}}% \setbool{istart}{false}
{}% }
{% {\@headersocialsep}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\ \@stackoverflowname}
\href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% }
}% \ifthenelse{\isundefined{\@linkedin}}
\ifthenelse{\isundefined{\@xing}}% {}
{}% {
{% \ifbool{isstart}
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% {
\href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} \setbool{istart}{false}
}% }
\ifthenelse{\isundefined{\@extrainfo}}% {\@headersocialsep}
{}% \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin}
{% }
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifthenelse{\isundefined{\@twitter}}
\@extrainfo% {}
}% {
} \\[\acvHeaderAfterSocialSkip]% \ifbool{isstart}
\ifthenelse{\isundefined{\@quote}}% {
{}% \setbool{istart}{false}
{\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}% }
\end{center}% {\@headersocialsep}
\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]{\footerstyle{#1}} \fancyfoot[L]{
\fancyfoot[C]{\footerstyle{#2}} \footerstyle{#1}
\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]{
\vspace{\acvSectionTopSkip} \par\addvspace{1.5ex}
\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]{
\vspace{\acvSectionContentTopSkip} \phantomsection{}
\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{\textwidth - 4.5cm} R{4.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{12.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{\textwidth}}{\descriptionstyle{#5}} \multicolumn{2}{L{17cm}}{\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{\textwidth - 4.5cm} R{4.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{12.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}}{}
@ -571,52 +573,50 @@
} }
% 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{\textwidth - 4.0cm} R{2.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} C{1.5cm} L{13.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{\textwidth * \real{0.9}}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{15.2cm}}
}{% }{
\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{-4.0mm} \vspace{-4mm}
\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{-4.0mm} \vspace{-2mm}
} }
@ -624,28 +624,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 section for the cover letter % Define a paragraph for cvletter
% Usage: \lettersection{<section-title>} % Usage: \cvparagraph{<paragraph-title>}
\newcommand{\lettersection}[1]{% \newcommand{\cvparagraph}[1]{
\par\addvspace{2.5ex} \par\addvspace{2.5ex}
\phantomsection{} \phantomsection{}
\lettersectionstyle{#1} \paragraphstyle{#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{\textwidth - 4.5cm} R{4.5cm}} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{12.5cm} R{4.5cm}}
\recipienttitlestyle{\@recipientname} & \letterdatestyle{\@letterdate} \recipienttitlestyle{\@recipientname} & \letterdatestyle{\@letterdate}
\end{tabular*} \end{tabular*}
\begin{singlespace} \begin{singlespace}
@ -659,14 +659,14 @@
% 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 for CV/Resume % Awesome CV LaTeX Template
% %
% 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,88 +14,81 @@
% %
%------------------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CONFIGURATIONS % Configuration
%------------------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A4 paper size by default, use 'letterpaper' for US letter %%% Themes: Awesome-CV
\documentclass[11pt, a4paper]{awesome-cv} \documentclass[11pt, a4paper]{awesome-cv}
% Configure page margins with geometry %%% Override a directory location for fonts(default: 'fonts/')
\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/]
% Color for highlights %%% Configure a directory location for sections
\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}
% Uncomment if you would like to specify your own color %\definecolor{awesome}{HTML}{CA63A8}
% \definecolor{awesome}{HTML}{CA63A8} %% Colors for text
%\definecolor{darktext}{HTML}{414141}
%\definecolor{text}{HTML}{414141}
%\definecolor{graytext}{HTML}{414141}
%\definecolor{lighttext}{HTML}{414141}
% Colors for text %%% Override a separator for social informations in header(default: ' | ')
% Uncomment if you would like to specify your own color %\headersocialsep[\quad\textbar\quad]
% \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}
%------------------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PERSONAL INFORMATION % 3rd party packages
% Comment any of the lines below if they are not required %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%------------------------------------------------------------------------------- %%% Needed to divide into several files
\usepackage{import}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Personal Data
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Essentials
\name{Claud D.}{Park} \name{Claud D.}{Park}
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} \address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 22738, Rep. of KOREA}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
\mobile{(+82) 10-9030-1843} \mobile{(+82) 10-9030-1843}
%%% Social
\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}
% \stackoverflow{SO-id}{SO-name} %%% Optionals
% \twitter{@twit} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
% \skype{skype-id} \quote{``Make the change that you want to see in the world."}
% \reddit{reddit-id} \updatedate{Last updated on \today}
% \extrainfo{extra informations}
\quote{``Must be the change that you want to see in the world."}
%------------------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} % Content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Print the header with above personal informations %%% Make a footer for CV with three arguments(<left>, <center>, <right>)
\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
% CV/RESUME CONTENT \import{\sectiondir}{education.tex}
% Each section is imported separately, open each file in turn to modify content \import{\sectiondir}{experience.tex}
%------------------------------------------------------------------------------- \import{\sectiondir}{extracurricular.tex}
% \input{resume/summary.tex} \import{\sectiondir}{honors.tex}
\input{resume/education.tex} \import{\sectiondir}{presentation.tex}
\input{resume/experience.tex} \import{\sectiondir}{writing.tex}
\input{resume/extracurricular.tex} \import{\sectiondir}{committees.tex}
\input{resume/honors.tex}
\input{resume/presentation.tex}
\input{resume/writing.tex}
\input{resume/committees.tex}
%-------------------------------------------------------------------------------
\end{document} \end{document}