[texhax] Removing vertical space in list in table

Zachary Leung deutsixfive at gmail.com
Fri Apr 25 11:15:52 CEST 2008


Hi everyone,

I'm writing a table, and used the compactenum environment provided by the
paralist package. Unfortunately, the results are slightly dissatisfactory,
as you can see from the pdf output. There's some vertical space between the
beginning of the line and that of the compactenum. Any idea how to get rid
of that space? I tried \setlength{pltopsep}{0mm} but that didn't work. Hmmm.

Thanks!

Zac

----------
\documentclass[a4paper,12pt]{article}

\usepackage{booktabs}
\usepackage{paralist}

\begin{document}

\begin{table}[h]
\footnotesize
\begin{center}
\begin{tabular}{p{2.5cm}p{1.4cm}p{7cm}p{1.2cm}}
  \toprule
    Algorithm(s)
  & Largest molecule (No.\ of atoms)
  & Input data
  & RMSD (\AA) \\
  \midrule
    {
    \raggedright
    EMBED (83), \\ DISGEO (84), \\ DG-II (91), \\ APA (99)
    }
  & 454
  & \begin{compactenum}[(1)]
      \item
        All distance and chirality constraints
        needed to fix covalent structure given exactly.
      \item
         Some or all of the distances between hydrogen atoms
         less than 4 \AA\ apart and in different amino acid residues
         given as bounds.
  \end{compactenum}
  & 2.08 \\
  \bottomrule
\end{tabular}
\end{center}
\end{table}

\end{document}
----------

http://deutsixfive.googlepages.com/2008-04-25-test.pdf

-- 
Blessed is the one who finds wisdom,
and the one who gets understanding,
for the gain from her is better than gain from silver
and her profit better than gold.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20080425/d71d1e49/attachment-0001.html 


More information about the texhax mailing list