TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to make smaller vertical distance between item bullets in one section only ?

\documentclass[a4paper,10pt]{article}
\usepackage[TextAligned,NoDate]{currvita}
\usepackage{fullpage}
\begin{document}
\begin{cv}{John Doe}

\begin{cvlist}{Sec1}
\item[2000-01--2012-12] x
\item[2000-01--2012-12] y
\item[2000-01--2012-12] z
\end{cvlist}

%how to change vertical distance between items in on section only, leaving other sections unaffected ?
\begin{cvlist}{Section that needs smaller vertical distance}
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\end{cvlist}

\begin{cvlist}{SecN}
\item[2000-01--2012-12] x
\item[2000-01--2012-12] y
\item[2000-01--2012-12] z
\end{cvlist}

\end{cv}
\end{document}
share|improve this question
up vote 6 down vote accepted

You can do so by putting

\setlength{\itemsep}{%
        -0.50\baselineskip plus 1pt minus 1pt%
      }% 

inside the cvlist environment where you want to reduce the spacing

The MWE:

\documentclass[a4paper,10pt]{article}
\usepackage[TextAligned,NoDate]{currvita}
\usepackage{fullpage}
\begin{document}
\begin{cv}{John Doe}

\begin{cvlist}{Sec1}
\item[2000-01--2012-12] x
\item[2000-01--2012-12] y
\item[2000-01--2012-12] z
\end{cvlist}

%change the values in itemsep appropriately
\begin{cvlist}{Section that needs smaller vertical distance}
\setlength{\itemsep}{%
        -0.50\baselineskip plus 1pt minus 1pt%
      }%
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\item[2000-01--2012-12] A
\end{cvlist}


\begin{cvlist}{SecN}
\item[2000-01--2012-12] x
\item[2000-01--2012-12] y
\item[2000-01--2012-12] z
\end{cvlist}

\end{cv}
\end{document}

enter image description here

share|improve this answer
    
great thanks ! You've saved a lot of space on my CV :) – Grzegorz Wierzowiecki May 8 '12 at 10:22
    
@GrzegorzWierzowiecki: Welcome. – Harish Kumar May 8 '12 at 13:40
    
@HarishKumar: How can I set the vertical space between items globally for all cvlist enviroments? – Robinaut Mar 22 at 12:58
    
@Robinaut: Put this after loading currvita package: \usepackage{xpatch} \xpatchcmd{\cvlist}{\setlength{\itemsep}{0ex}}{\setlength{\itemsep}{-0.50\baseli‌​neskip plus 1pt minus 1pt}}{}{} – Harish Kumar Mar 27 at 3:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.