I am trying to create a very compact element with latex because I want to put it in a table without spaces.
What I need:
- No spaces before the list
- No spaces after the list
- No spaces between lines
- Less indent to labels
I tried a lot of packages (paralist, mdwlist, enumitem), but cannot fully accomplish this.
I tried this myself (with the help of a paralist) and could get rid of everything except the spaces after the list. This is my current solution:
\makeatletter \newcommand*{\compress}{\@minipagetrue} \makeatother \newenvironment{ilist}% { %from parlist package, reduces indent before bulletpoints \setdefaultleftmargin{1em}{1em}{}{}{}{} \compress %places itemize into minipage, removing whitespace before \begin{itemize}% \setlength{\itemsep}{0pt}% \setlength{\topsep}{0pt} \setlength{\partopsep}{0pt} \setlength{\parsep}{0pt} \setlength{\parskip}{0pt}}% {\end{itemize}}
However, I cannot get rid of the space after the list. I can do it with negative vspace, but this:
- Nasty
- Does not work for tables: the rule after the line in which the list is located will still contain one line below.
Can someone tell me how to do this? I searched so much, but it seems to me that I'm the first person who ever tried to insert an element into a table: D
early
latex
gex Feb 11 '11 at 11:39 2011-02-11 11:39
source share