From a537f3f00f2ff97a6c26d69f89ffd289920556b7 Mon Sep 17 00:00:00 2001 From: dilippuri Date: Tue, 9 Aug 2016 12:36:37 +0530 Subject: [PATCH] Add lateupdate command to print update date --- awesome-cv.cls | 415 ++++++++++++++++++++++---------------------- examples/resume.tex | 116 +++++++------ 2 files changed, 273 insertions(+), 258 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index c036156..67962e9 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -10,7 +10,7 @@ % % Notes: % 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. % % Class license: @@ -21,7 +21,7 @@ %------------------------------------------------------------------------------- % 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} @@ -36,7 +36,7 @@ \DeclareOption{draft}{\setlength\overfullrule{5pt}} \DeclareOption{final}{\setlength\overfullrule{0pt}} % Inherit options of article -\DeclareOption*{ +\DeclareOption*{% \PassOptionsToClass{\CurrentOption}{article} } \ProcessOptions\relax @@ -67,15 +67,9 @@ % Needed to change line spacing in specific environment \RequirePackage{setspace} % Needed to manage fonts -\ifxetex - \RequirePackage[quiet]{fontspec} - % To support LaTeX quoting style - \defaultfontfeatures{Ligatures=TeX} -\else - \RequirePackage[T1]{fontenc} - % Replace by the encoding you are using - \RequirePackage[utf8]{inputenc} -\fi +\RequirePackage[quiet]{fontspec} +% To support LaTeX quoting style +\defaultfontfeatures{Ligatures=TeX} % Needed to manage math fonts \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math} % Needed to use icons from font-awesome @@ -84,14 +78,12 @@ % Needed to deal a paragraphs \RequirePackage{parskip} % Needed to deal hyperlink -\RequirePackage{hyperref} -\hypersetup{ +\RequirePackage[hidelinks,unicode]{hyperref} +\hypersetup{% pdftitle={}, pdfauthor={}, pdfsubject={}, - pdfkeywords={}, - colorlinks=false, - allbordercolors=white + pdfkeywords={} } @@ -111,7 +103,7 @@ \geometry{left=2.0cm, top=1.5cm, right=2.0cm, bottom=2.0cm, footskip=.5cm} %% Header & Footer -% Set offset to each header and offset +% Set offset to each header and footer \fancyhfoffset{0em} % Remove head rule \renewcommand{\headrulewidth}{0pt} @@ -152,21 +144,13 @@ \definecolor{awesome-darknight}{HTML}{131A28} \colorlet{awesome}{awesome-red} +% Boolean value to switch section color highlighting +\newbool{acvSectionColorHighlight} +\setbool{acvSectionColorHighlight}{true} + % Awesome section color -\newcounter{colorCounter} \def\@sectioncolor#1#2#3{% - {% - \color{% - \ifcase\value{colorCounter}% - awesome\or% - awesome\or% - awesome\or% - awesome\or% - awesome\else% - awesome\fi% - } #1#2#3% - }% - \stepcounter{colorCounter}% + \ifbool{acvSectionColorHighlight}{{\color{awesome}#1#2#3}}{#1#2#3}% } @@ -215,6 +199,15 @@ BoldItalicFont=*-SemiboldIt ]{SourceSansPro} +% Set main font +\setmainfont[ + Path=\@fontdir, + UprightFont=*-Regular, + ItalicFont=*-It, + BoldFont=*-Bold, + BoldItalicFont=*-BoldIt +]{SourceSansPro} + %------------------------------------------------------------------------------- % Configuration for styles @@ -230,6 +223,7 @@ \newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lighttext} #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*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text}} % For elements of entry \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}} % 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*{\recipienttitlestyle}[1]{{\fontsize{11pt}{1em}\bodyfont\bfseries\color{darktext} #1}} \newcommand*{\lettertitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfontlight\bfseries\color{darktext} \underline{#1}}} @@ -269,6 +263,10 @@ %------------------------------------------------------------------------------- % Commands for personal information %------------------------------------------------------------------------------- +% Last update date +% Usage: \address{Last updated on } +\newcommand*{\lastupdate}[1]{\def\@lastupdate{#1}} + % Define writer's name % Usage: \name{}{} % Usage: \firstname{} @@ -304,23 +302,35 @@ % Usage: \github{} \newcommand*{\github}[1]{\def\@github{#1}} -% Defines writer's linked-in (optional) -% Usage: \linkedin{} -\newcommand*{\linkedin}[1]{\def\@linkedin{#1}} - % Defines writer's stackoverflow profile (optional) % Usage: \stackoverflow{}{} % e.g.https://stackoverflow.com/users/123456/sam-smith % would be \stackoverflow{123456}{sam-smith} \newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}} +% Defines writer's linked-in (optional) +% Usage: \linkedin{} +\newcommand*{\linkedin}[1]{\def\@linkedin{#1}} + +% Usage: \twitter{} +\newcommand*{\twitter}[1]{\def\@twitter{#1}} + % Defines writer's skype (optional) % Usage: \skype{} \newcommand*{\skype}[1]{\def\@skype{#1}} +% Defines writer's reddit (optional) +% Usage: \reddit{} +\newcommand*{\reddit}[1]{\def\@reddit{#1}} + +% Defines writer's xing (optional) +% Usage: \xing{} +\newcommand*{\xing}[1]{\def\@xing{#1}} + % Defines writer's twitter (optional) -% Usage: \twitter{} -\newcommand*{\twitter}[1]{\def\@twitter{#1}} +% Defines writer's extra informations (optional) +% Usage: \extrainfo{} +\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}} % Defines writer's quote (optional) % Usage: \quote{} @@ -353,25 +363,30 @@ % Defines an enclosure for letter (cover letter only, optional) % Usage: \letterenclosure[]{} \newcommand*{\letterenclname}[1][Enclosure]{\def\@letterenclname{#1}} -\newcommand*{\letterenclosure}[2][]{ +\newcommand*{\letterenclosure}[2][]{% % if an optional argument is provided, use it to redefine \enclname \ifthenelse{\equal{#1}{}}{}{\def\@letterenclname{#1}} \def\@letterenclosure{#2} } -% Last Date on which resume updated -% Usage: \lastdate{} -\newcommand*{\updatedate}[1]{\def\@updatedate{#1}} - %------------------------------------------------------------------------------- % Commands for extra %------------------------------------------------------------------------------- -% Define separator for social informations in header -% Usage: \headersocialsep{} -% Default: \quad\textbar\quad -\newcommand*{\headersocialsep}[1][\quad\textbar\quad]{\def\@headersocialsep{#1}} -\headersocialsep +%% Define helper macros a user can change easily +% Header +\newcommand{\acvHeaderNameDelim}{\space} +\newcommand{\acvHeaderAfterNameSkip}{.4mm} +\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{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@} % Use to execute conditional statements by checking empty string @@ -394,175 +409,165 @@ %------------------------------------------------------------------------------- % Define a header for CV % Usage: \makecvheader -\newcommand*{\makecvheader}{ - \begin{flushright} - \@updatedate - \end{flushright} +\newcommand*{\makecvheader}{% + \begin{flushright} + \@lastupdate + \end{flushright} \begin{center} - \headerfirstnamestyle{ - \@firstname - } \headerlastnamestyle{ - \@lastname - } - \\ - \vspace{0.4mm} - \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\}} - \vspace{0.4mm} - \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\}} - \vspace{-0.5mm} - \headersocialstyle{ - \newbool{isstart} - \setbool{isstart}{true} - \ifthenelse{\isundefined{\@mobile}} - {} - { - \faMobile\ \@mobile - \setbool{isstart}{false} - } - \ifthenelse{\isundefined{\@email}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{mailto:\@email}{\faEnvelope\ \@email} - } - \ifthenelse{\isundefined{\@homepage}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{http://\@homepage}{\faHome\ \@homepage} - } - \ifthenelse{\isundefined{\@github}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://github.com/\@github}{\faGithubSquare\ \@github} - } - \ifthenelse{\isundefined{\@stackoverflowid}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\ \@stackoverflowname} - } - \ifthenelse{\isundefined{\@linkedin}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@headersocialsep} - \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin} - } - \ifthenelse{\isundefined{\@twitter}} - {} - { - \ifbool{isstart} - { - \setbool{istart}{false} - } - {\@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} + \headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}% + \\[\acvHeaderAfterNameSkip]% + \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}% + \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvHeaderAfterAddressSkip]}}% + \headersocialstyle{% + \newbool{isstart}% + \setbool{isstart}{true}% + \ifthenelse{\isundefined{\@mobile}}% + {}% + {% + \faMobile\acvHeaderIconSep\@mobile% + \setbool{isstart}{false}% + }% + \ifthenelse{\isundefined{\@email}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% + }% + \ifthenelse{\isundefined{\@homepage}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% + }% + \ifthenelse{\isundefined{\@github}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% + }% + \ifthenelse{\isundefined{\@stackoverflowid}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% + }% + \ifthenelse{\isundefined{\@linkedin}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% + }% + \ifthenelse{\isundefined{\@twitter}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% + }% + \ifthenelse{\isundefined{\@skype}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \faSkype\acvHeaderIconSep\@skype% + }% + \ifthenelse{\isundefined{\@reddit}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + }% + \ifthenelse{\isundefined{\@xing}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} + }% + \ifthenelse{\isundefined{\@extrainfo}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \@extrainfo% + }% + } \\[\acvHeaderAfterSocialSkip]% + \ifthenelse{\isundefined{\@quote}}% + {}% + {\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}% + \end{center}% } % Define a footer for CV % Usage: \makecvfooter{}{
}{} -\newcommand*{\makecvfooter}[3]{ +\newcommand*{\makecvfooter}[3]{% \fancyfoot{} - \fancyfoot[L]{ - \footerstyle{#1} - } - \fancyfoot[C]{ - \footerstyle{#2} - } - \fancyfoot[R]{ - \footerstyle{#3} - } + \fancyfoot[L]{\footerstyle{#1}} + \fancyfoot[C]{\footerstyle{#2}} + \fancyfoot[R]{\footerstyle{#3}} } % Define a section for CV % Usage: \cvsection{} -\newcommand{\cvsection}[1]{ - \par\addvspace{1.5ex} - \phantomsection{} +\newcommand{\cvsection}[1]{% + \vspace{\acvSectionTopSkip} \sectionstyle{#1} + \phantomsection \color{gray}\vhrulefill{0.9pt} - \par\nobreak\addvspace{1ex} } % Define a subsection for CV % Usage: \cvsubsection{} -\newcommand{\cvsubsection}[1]{ - \phantomsection{} +\newcommand{\cvsubsection}[1]{% + \vspace{\acvSectionContentTopSkip} + \vspace{-3mm} \subsectionstyle{#1} + \phantomsection +} + +% Define a paragraph for CV +\newenvironment{cvparagraph}{% + \vspace{\acvSectionContentTopSkip} + \vspace{-3mm} + \paragraphstyle +}{% + \par + \vspace{2mm} } % Define an environment for cventry -\newenvironment{cventries}{ +\newenvironment{cventries}{% + \vspace{\acvSectionContentTopSkip} \begin{center} -}{ +}{% \end{center} } % Define an entry of cv information % Usage: \cventry{}{}{<location>}{<date>}{<description>} -\newcommand*{\cventry}[5]{ +\newcommand*{\cventry}[5]{% + \vspace{-2.0mm} \setlength\tabcolsep{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} {\entrypositionstyle{#1} & \entrydatestyle{#4} \\} {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\ \entrypositionstyle{#1} & \entrydatestyle{#4} \\} - \multicolumn{2}{L{17cm}}{\descriptionstyle{#5}} \\ - \end{tabular*} + \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} + \end{tabular*}% } % Define an environment for cvsubentry -\newenvironment{cvsubentries}{ +\newenvironment{cvsubentries}{% \begin{center} -}{ +}{% \end{center} } % Define a subentry of cv information % Usage: \cvsubentry{<position>}{<title>}{<date>}{<description>} -\newcommand*{\cvsubentry}[4]{ +\newcommand*{\cvsubentry}[4]{% \setlength\tabcolsep{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} \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}} - {\subentrydatestyle{#3}}{} + {\subentrydatestyle{#3}}{} \ifthenelse{\equal{#1}{}} {} {\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\} @@ -573,50 +578,52 @@ } % Define an environment for cvhonor -\newenvironment{cvhonors}{ +\newenvironment{cvhonors}{% + \vspace{\acvSectionContentTopSkip} + \vspace{-2mm} \begin{center} \setlength\tabcolsep{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{center} } % Define a line of cv information(honor, award or something else) % Usage: \cvhonor{<position>}{<title>}{<location>}{<date>} -\newcommand*{\cvhonor}[4]{ - \honordatestyle{#4} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} - \\ +\newcommand*{\cvhonor}[4]{% + \honordatestyle{#4} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} \\ } % Define an environment for cvskill -\newenvironment{cvskills}{ +\newenvironment{cvskills}{% + \vspace{\acvSectionContentTopSkip} + \vspace{-2.0mm} \begin{center} \setlength\tabcolsep{1ex} \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{center} } % Define a line of cv information(skill) % Usage: \cvskill{<type>}{<skillset>} -\newcommand*{\cvskill}[2]{ - \skilltypestyle{#1} & \skillsetstyle{#2} - \\ +\newcommand*{\cvskill}[2]{% + \skilltypestyle{#1} & \skillsetstyle{#2} \\ } % Define an environment for cvitems(for cventry) -\newenvironment{cvitems}{ - \vspace{-4mm} +\newenvironment{cvitems}{% + \vspace{-4.0mm} \begin{justify} \begin{itemize}[leftmargin=2ex, nosep, noitemsep] \setlength{\parskip}{0pt} \renewcommand{\labelitemi}{\bullet} -}{ +}{% \end{itemize} \end{justify} - \vspace{-2mm} + \vspace{-4.0mm} } @@ -624,28 +631,28 @@ % Commands for elements of Cover Letter %------------------------------------------------------------------------------- % Define an environment for cvletter -\newenvironment{cvletter}{ +\newenvironment{cvletter}{% \lettertextstyle -}{ +}{% } -% Define a paragraph for cvletter -% Usage: \cvparagraph{<paragraph-title>} -\newcommand{\cvparagraph}[1]{ +% Define a section for the cover letter +% Usage: \lettersection{<section-title>} +\newcommand{\lettersection}[1]{% \par\addvspace{2.5ex} \phantomsection{} - \paragraphstyle{#1} + \lettersectionstyle{#1} \color{gray}\vhrulefill{0.9pt} \par\nobreak\addvspace{0.4ex} } % Define a title of the cover letter % Usage: \makelettertitle -\newcommand*{\makelettertitle}{ +\newcommand*{\makelettertitle}{% \vspace{8.4mm} \setlength\tabcolsep{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} \end{tabular*} \begin{singlespace} @@ -654,19 +661,19 @@ \ifthenelse{\isundefined{\@lettertitle}} {} {\lettertitlestyle{\@lettertitle} \\} - \lettertextstyle{\@letteropening} + \lettertextstyle{\@letteropening} } % Define a closing of the cover letter % Usage: \makeletterclosing -\newcommand*{\makeletterclosing}{ +\newcommand*{\makeletterclosing}{% \vspace{3.4mm} \lettertextstyle{\@letterclosing} \\\\ - \letternamestyle{\@firstname \@lastname} + \letternamestyle{\@firstname\ \@lastname} \ifthenelse{\isundefined{\@letterenclosure}} {\\} - { + {% \\\\\\ - \letterenclosurestyle{\@letterenclname: \@letterenclosure} \\ + \letterenclosurestyle{\@letterenclname: \@letterenclosure} \\ } } diff --git a/examples/resume.tex b/examples/resume.tex index 5198f4c..48f5f93 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -1,6 +1,6 @@ %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode -% Awesome CV LaTeX Template +% Awesome CV LaTeX Template for CV/Resume % % This template has been downloaded from: % https://github.com/posquit0/Awesome-CV @@ -14,81 +14,89 @@ % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Configuration -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%% Themes: Awesome-CV +%------------------------------------------------------------------------------- +% CONFIGURATIONS +%------------------------------------------------------------------------------- +% A4 paper size by default, use 'letterpaper' for US letter \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/] -%%% Configure a directory location for sections -\newcommand*{\sectiondir}{resume/} - -%%% Override color +% Color for highlights % Awesome Colors: awesome-emerald, awesome-skyblue, awesome-red, awesome-pink, awesome-orange % awesome-nephritis, awesome-concrete, awesome-darknight -%% Color for highlight -% Define your custom color if you don't like awesome colors \colorlet{awesome}{awesome-red} -%\definecolor{awesome}{HTML}{CA63A8} -%% Colors for text -%\definecolor{darktext}{HTML}{414141} -%\definecolor{text}{HTML}{414141} -%\definecolor{graytext}{HTML}{414141} -%\definecolor{lighttext}{HTML}{414141} +% Uncomment if you would like to specify your own color +% \definecolor{awesome}{HTML}{CA63A8} -%%% Override a separator for social informations in header(default: ' | ') -%\headersocialsep[\quad\textbar\quad] +% Colors for text +% 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 -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%% Needed to divide into several files -\usepackage{import} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Personal Data -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%% Essentials - +%------------------------------------------------------------------------------- +% PERSONAL INFORMATION +% Comment any of the lines below if they are not required +%------------------------------------------------------------------------------- +\lastupdate{Last updated on \today} \name{Claud D.}{Park} -\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 22738, Rep. of KOREA} -\mobile{(+82) 10-9030-1843} -%%% Social +\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} +\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA} + +\mobile{(+82) 10-9030-1843} \email{posquit0.bj@gmail.com} \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} -%%% Optionals -\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} -\quote{``Make the change that you want to see in the world."} -\updatedate{Last updated on \today} +% \stackoverflow{SO-id}{SO-name} +% \twitter{@twit} +% \skype{skype-id} +% \reddit{reddit-id} +% \extrainfo{extra informations} + +\quote{``Must be the change that you want to see in the world."} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Content -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%% Make a footer for CV with three arguments(<left>, <center>, <right>) +%------------------------------------------------------------------------------- +\begin{document} + +% 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 {\today} {Claud D. Park~~~·~~~Résumé} {\thepage} -\begin{document} -%%% Make a header for CV with personal data -\makecvheader -%%% Import contents -\import{\sectiondir}{education.tex} -\import{\sectiondir}{experience.tex} -\import{\sectiondir}{extracurricular.tex} -\import{\sectiondir}{honors.tex} -\import{\sectiondir}{presentation.tex} -\import{\sectiondir}{writing.tex} -\import{\sectiondir}{committees.tex} +%------------------------------------------------------------------------------- +% CV/RESUME CONTENT +% Each section is imported separately, open each file in turn to modify content +%------------------------------------------------------------------------------- +% \input{resume/summary.tex} +\input{resume/education.tex} +\input{resume/experience.tex} +\input{resume/extracurricular.tex} +\input{resume/honors.tex} +\input{resume/presentation.tex} +\input{resume/writing.tex} +\input{resume/committees.tex} + +%------------------------------------------------------------------------------- \end{document}