Skip to content

Better \cvskill #7

@rhagenson

Description

@rhagenson

I much prefer the cvskill as used in AltaCV

\usepackage{xcolor}
\newcommand{\cvskill}[2]{%
\textcolor{emphasis}{\textbf{#1}}\hfill
\foreach \x in {1,...,5}{%
  \space{\ifnumgreater{\x}{#2}{\color{body!30}}{\color{accent}}\ratingmarker}}\par%
}
\colorlet{accent}{awesome}
\colorlet{heading}{black}
\colorlet{emphasis}{black}
\colorlet{body}{black!80!white}
\newcommand{\itemmarker}{{\small\textbullet}}
\newcommand{\ratingmarker}{\faCircle}

Usage:

\cvskill{English}{2}

Prints as a bold English followed by as much whitspace as possible (\hfill then 2 circles with same color as awesome (same color used throughout the CV), then 3 gray circles. Allows rating a skill on a Likert scale with 5 levels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions