I'am really new to LaTeX and I was using one of the templates provided to create my CV with class altacv
. To represent my language skills you are provided with \cvskill
defined as follows:
\newcommand{\cvskill}[2]{%
\textcolor{emphasis}{\textbf{#1}}\hfill
\foreach \x in {1,...,5}{%
\space{\ifnumgreater{\x}{#2}{\color{body!30}}{\color{accent}}\ratingmarker}}\par%
}
And the result is the following:
I would like to add my english level with a value of 4.5 so that the last circle is half filled. I have found this but I haven't been able to succesfully implement it in my template. Basically what I want is that when I input:
\cvskill{English}{4.5}
I obtain the following:
Thanks in advance 🙂
Best Answer
Well you can merge the command
\cvskill
and the used command\grade
in your linked question for a possibly solution.Based on both you can add the following code into your preamble:
With the following complete code (MWE)
you get the result:
Please next time add the MWE to your question, do not use a link!