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

This question already has an answer here:

My problem with the following example:

  • If there is text after a list (itemize), everything looks just fine.
  • If there isn't, there is a blank line after the last list item which I would like to remove.

In my document the table has more columns but those are not relevant to the problem I think (in case you wonder why I would use a table at all).

\usepackage[english, ngerman]{babel}


  \item text 
 more text \\ 
  \item text 
 \end{itemize} \\ 

share|improve this question

marked as duplicate by mafp, Andrew Swann, Kurt, Marco Daniel, Claudio Fiandrino Apr 18 '13 at 16:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

this is a hack, and i don't really like it, but you can put an explicit negative space after the \\ that follows the "no text" condition as in the following code:

 \item text 
\end{itemize} \\[-\normalbaselineskip]
share|improve this answer
I left "I only use code I like" a long time ago when it comes to latex... Thank you! – Jens Aug 28 '12 at 13:53
egreg's solution here is much better: try \begin{tabularx}{\textwidth}{|X|}, i.e., with vertical lines, to see why. – mafp Apr 18 '13 at 15:32

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