currvita - 斗牛犬之间的垂直距离

currvita - 斗牛犬之间的垂直距离

如何仅在一个部分中缩小项目项目符号之间的垂直距离?

\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}

答案1

您可以通过以下方式进行操作:

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

cvlist在想要减少间距的环境中

妇女权利委员会:

\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}

在此处输入图片描述

相关内容