diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..08ca6e0 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -88,6 +88,8 @@ pdfsubject={}, pdfkeywords={} } +% Needed to draw skills circle +\RequirePackage{tikz} %------------------------------------------------------------------------------- @@ -222,6 +224,7 @@ % For elements of skill \newcommand*{\skilltypestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}} \newcommand*{\skillsetstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{text} #1}} +\newcommand*{\languagestyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\bfseries\color{text} #1}} % For elements of the cover letter \newcommand*{\lettersectionstyle}[1]{{\fontsize{14pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}} @@ -394,6 +397,17 @@ % Use to execute conditional statements by checking empty string \newcommand*{\ifempty}[3]{\ifthenelse{\isempty{#1}}{#2}{#3}} +% Circle for skills +\newcommand{\fullcircle}{\tikz\draw[awesome,fill=awesome] (0,0) circle (.5ex);\enskip} +\newcommand{\emptycircle}{\tikz\draw[awesome,fill=white] (0,0) circle (.5ex);\enskip} + +\newcommand{\zerooverfive}{\emptycircle \emptycircle \emptycircle \emptycircle \emptycircle} +\newcommand{\oneoverfive}{\fullcircle \emptycircle \emptycircle \emptycircle \emptycircle} +\newcommand{\twooverfive}{\fullcircle \fullcircle \emptycircle \emptycircle \emptycircle} +\newcommand{\threeoverfive}{\fullcircle \fullcircle \fullcircle \emptycircle \emptycircle} +\newcommand{\fouroverfive}{\fullcircle \fullcircle \fullcircle \fullcircle \emptycircle} +\newcommand{\fiveoverfive}{\fullcircle \fullcircle \fullcircle \fullcircle \fullcircle} + %------------------------------------------------------------------------------- % Commands for elements of CV structure @@ -637,6 +651,21 @@ \skilltypestyle{#1} & \skillsetstyle{#2} \\ } +% Define a small-circle language skills line +% Up to four languages can be defined +% Usage: {}{}{}{}... +\newcommand*{\cvlanguages}[8]{ +\vspace{-2.0mm} +\setlength\tabcolsep{0pt} +\setlength{\extrarowheight}{0pt} +\begin{tabular*}{\textwidth}[t]{@{\extracolsep{\fill}} L{0.25\textwidth} C{0.25\textwidth} C{0.25\textwidth} R{0.25\textwidth}} + \descriptionstyle{\textbf{#1} \enskip #2} + & \descriptionstyle{\textbf{#3} \enskip #4} + &\descriptionstyle{\textbf{#5} \enskip #6} + & \descriptionstyle{\textbf{#7} \enskip #8} +\end{tabular*}% +} + % Define an environment for cvitems(for cventry) \newenvironment{cvitems}{% \vspace{-4.0mm} diff --git a/examples/resume-1.png b/examples/resume-1.png index 7884e03..abfb0d6 100644 Binary files a/examples/resume-1.png and b/examples/resume-1.png differ diff --git a/examples/resume.pdf b/examples/resume.pdf index 8ec04ae..f068940 100644 Binary files a/examples/resume.pdf and b/examples/resume.pdf differ diff --git a/examples/resume.tex b/examples/resume.tex index ecc9a90..dea17f4 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -99,6 +99,7 @@ \input{resume/committees.tex} \input{resume/education.tex} \input{resume/extracurricular.tex} +\input{resume/languages.tex} %------------------------------------------------------------------------------- diff --git a/examples/resume/languages.tex b/examples/resume/languages.tex new file mode 100644 index 0000000..0fc2245 --- /dev/null +++ b/examples/resume/languages.tex @@ -0,0 +1,21 @@ +%------------------------------------------------------------------------------- +% SECTION TITLE +%------------------------------------------------------------------------------- +\cvsection{Languages} + + +%------------------------------------------------------------------------------- +% CONTENT +%------------------------------------------------------------------------------- +\begin{cvskills} + +% Left supernumerary fields empty +% or add \cvlanguages frame to match you need +\cvlanguages +{English}{ \fiveoverfive } +{Korean}{ \fiveoverfive } +{French}{ \fouroverfive } +{German}{ \zerooverfive } + +%--------------------------------------------------------- +\end{cvskills}