I would like to restructure my "knowledge" part in the resume (skill level). From the structure I would like to make it similar to this one, only with "flat" rectangles: In-line graphics in text to represent a loading
Unfortunately, I didn't manage to adjust the points to a flat rectangle.
Secondly, I'm still a bit undecided which variant it should be (I need to see it in the finished resume first - but guess it will be variant 2):
Variant 1:
Variant 2:
I would have tried to define the individual rectangles by means of coordinates, i.e. to predefine them "fixed".
For example by means of:
\begin{tikzpicture}
\coordinate (Level1_Start) at (0,2.3);
\coordinate (Level1_14) at (0.5,2.3); %Level 1 - 1/4
\coordinate (Level1_12) at (1,2.3); %Level 1 - 1/2
\coordinate (Level1_34) at (1.5,2.3); %Level 1 - 3/4
\coordinate (Level1_End) at (2,2.3);
\coordinate (Level2_Start) at (2.5,2.3);
\coordinate (Level2_14) at (3,2.3); %Level 2 - 1/4
\coordinate (Level2_12) at (3.5,2.3); %Level 2 - 1/2
\coordinate (Level2_34) at (4,2.3); %Level 2 - 3/4
\coordinate (Level2_End) at (4.5,2.3);
\coordinate (A) at (Level1_Start);
\coordinate (B) at (Level1_14);
\coordinate (C) at (Level1_12);
\coordinate (D) at (Level1_34);
\coordinate (E) at (Level1_End);
\draw[red!50, line width=6pt] (A) -- (E); %Draw Level 1 from start to end (6pt red)
\coordinate (A) at (Level2_Start);
\coordinate (B) at (Level2_14);
\coordinate (C) at (Level2_12);
\coordinate (D) at (Level2_34);
\coordinate (E) at (Level2_End);
\draw[red!50, line width=6pt] (A) -- (B); %Draw Level 2 from start to 1/4 (6pt red)
\draw[gray!50, line width=4pt] (B) -- (E); %Draw Level 2 from 1/4 to end (4pt gray)
%and so on
\end{tikzpicture}
With the skills/names etc. I would have done it similarly.
Is there a nicer, more elegant solution for this?