For my CV I'd like to use some skillbars.
But since my layout is fixed I need to adjust the space between the entries.
Here is a MWE:
\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{xcolor}
\definecolor{white}{RGB}{255,255,255}
\definecolor{gray}{HTML}{4D4D4D}
\definecolor{maingray}{HTML}{B9B9B9}
\newcommand\skills[1]{
\begin{tikzpicture}
\foreach [count=\i] \x/\y in {#1}{
\draw[fill=maingray,maingray] (0,\i) rectangle (6,\i+0.4);
\draw[fill=white,gray](0,\i) rectangle (\y,\i+0.4);
\node[above right] at (0,\i+0.4) {\x};
}
\end{tikzpicture}
}
\begin{document}
\skills{{a/1},{b/2}}
\end{document}
How can I change the code to define/decrease the space between the two entries?

skillscommand which can break between pages for large lists of skills: https://tex.stackexchange.com/q/416094/1952 – Ignasi Feb 20 '18 at 10:26