I was trying to modify this cv by adding the bar indicators i found in this other cv under the skills section but I wasn't able to adapt it. Is there a way to do it?
To be clear I would like to have different bars which I can fill by a percentage with another color and the bars are place in an "aside" environment.
I have an environment aside
\begin{document}
\begin{aside}
\section{Abilities}
\end{aside}
\end{document}
In the abilites section I would like to insert a bar like these

I've tried using this command:
\newcommand\skills[1]{
\renewcommand{\skills}{
\begin{tikzpicture}
\foreach [count=\i] \x/\y in {#1}{
\draw[fill=maingray,maingray] (0,\i) rectangle (6,\i+0.4);
\draw[fill=white,mainblue](0,\i) rectangle (\y,\i+0.4);
\node [above right] at (0,\i+0.4) {\x}; }
\end{tikzpicture}
}
}
But I can't make it work.

\begin{document} \begin{aside} \section{Abilities} \end{aside} \end{document}In the abilites section I would like to insert a bar like these
img
I've tried using this command:
– a.cas Sep 01 '17 at 19:56\newcommand\skills[1]{ \renewcommand{\skills}{ \begin{tikzpicture} \foreach [count=\i] \x/\y in {#1}{ \draw[fill=maingray,maingray] (0,\i) rectangle (6,\i+0.4); \draw[fill=white,mainblue](0,\i) rectangle (\y,\i+0.4); \node [above right] at (0,\i+0.4) {\x}; } \end{tikzpicture} } }But I can't make it work.