https://www.latextemplates.com/template ... s-resumecv
Here is the resume template I am using. In the skills section, I have moved the text inside the bars rather than above, and now I would like to remove the excess vertical spacing between each bar. (I need to conserve space because my list of programming languages is running off the page). Any help would really be appreciated, as I have spent a while trying to figure it out, but my LaTeX knowledge appears to be lacking.
Thanks
Curricula Vitae / Résumés ⇒ Twenty Seconds Resume/CV - Spacing Question
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Twenty Seconds Resume/CV - Spacing Question
You changed the template and describe the changes. How are we supposed to know what you did? Please provide a minimal working example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Twenty Seconds Resume/CV - Spacing Question
The template itself is a minimal working example.
Information about the changes I made is just motivation for the problem. If you don't like it, ignore it. You don't have to know what I did to answer the question.
Information about the changes I made is just motivation for the problem. If you don't like it, ignore it. You don't have to know what I did to answer the question.
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Twenty Seconds Resume/CV - Spacing Question
Minimal might not be the right word, all you need to describe your problem is:
With any modifications you made of course. Anyways, the height/thickness of the bars is, as you probably can see, defined by the number 0.4, so one method would be to increase that number to e.g. 0.9. The distance between the bottom edge of the bars is 1.
But that doesn't help you of course, since you wanted to use less vertical space. So you need to change the y-coordinates. Try replacing all \i with \i*0.5, for example.
Code: Select all
\documentclass{article}
\usepackage{tikz}
\definecolor{mainblue}{HTML}{0E5484}
\definecolor{maingray}{HTML}{B9B9B9}
\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}
}
}
\begin{document}
\skills{{pursuer of rabbits/5.8},{good manners/4},{outgoing/4.3},{polite/4},{Java/0.01}}
\skills
\end{document}
But that doesn't help you of course, since you wanted to use less vertical space. So you need to change the y-coordinates. Try replacing all \i with \i*0.5, for example.
Re: Twenty Seconds Resume/CV - Spacing Question
Nice, that works perfectly.