[texhax] spacing too large with eqlist in moderncv

cdep.illabout at gmail.com cdep.illabout at gmail.com
Wed Oct 14 02:03:40 CEST 2009


Actually, the problem should be that there is too much space before an
eqlist environment if if comes after a section command.  Here is the
correct minimal example:



\documentclass[12pt,letterpaper,draft]{moderncv}

\moderncvtheme[green]{classic}
\AtBeginDocument{\recomputelengths}                     % required
when changes are made
														% to page layout lengths
% personal data
\firstname{Some}
\familyname{Name}
\address{Address}{More Address}
\phone{Phone number}
\email{email address}


\usepackage{eqlist}

\begin{document}
\maketitle

\section{Perfect amount of space}
\cventry{year--year}{dedree}{college}{place}{GPA}{description}

\section{too much space after this}
\cvline{}{%
\begin{eqlist*}[\setlength{\itemsep}{0em}%
				\setlength{\topsep}{0em}%
				\setlength{\partopsep}{0em}%
				\setlength{\parskip}{0em}%
				\setlength{\parsep}{0em}%
			   ]%
	\item[item 1] some text somdtext some text some text some text some text some%
	\item[item 2] some more text%
\end{eqlist*}%
}

\section{too much space after even this}
\begin{eqlist*}[\setlength{\itemsep}{0em}%
				\setlength{\topsep}{0em}%
				\setlength{\partopsep}{0em}%
				\setlength{\parskip}{0em}%
				\setlength{\parsep}{0em}%
			   ]%
	\item[item 1] some text somdtext some text some text some text some text some%
	\item[item 2] some more text%
\end{eqlist*}%



\end{document}


More information about the texhax mailing list