I want to list something in my document. Each point in the list has a short heading (one word, for example "Usecase"). This word should be on an own column to the left of the text which gets added under this point. The text is rather long.

Doing this with a table doesn't work, as tables do not support this if the whole stuff goes multipage. I know longtable, but longtable puts the whole text (the right side) into one row. If I do \begin{longtable}{l|p{\textwidth}} or something like that, it kind of sucks, too.

(as you can see in the code snippet above, I want to seperate the "heading"/name of the section with a vertical line from the text)

Adjusting manually the size of the text on the right doesn't seem to be a nice solution. Anyways, if this works, the text for one item isn't able to be a multipage text either.

So, I hope I made clear what my problem is. The point is, I don't even know what to google.

  • 1
    Sorry, but where is you "code snippet above"? Perhaps it would be better to supply us with a minimal working example (MWE) rather...
    – Werner
    Mar 31, 2014 at 20:51
  • Well, I would do, but I have non, as I don't know how to achieve what I want... so I cannot get you a WME...
    – musicmatze
    Mar 31, 2014 at 21:00
  • @musicmatze: Just because you don't know exactly how to do it does not mean that you can't mock up a MWE that clearly shows what you want to specify and how you want the output to look. Basically, set up a MWE including \documentclass and the appropriate packages that illustrates the problem. Its not that people here don't want to help, it's just not clear what it is that you desire, at least not to me. A MWE will make it clear how you want to specify things and what output you want. Mar 31, 2014 at 21:06

2 Answers 2


It seems like you're interested in a parcolumns setting:

enter image description here

    colwidths = {1=3cm},% 2=\dimexpr\linewidth-3cm-2em\relax
    rulebetween = true,
    sloppy = true]{2}
  \heading{Another type of heading}
  • This seems to be exactly what I was looking for. Thank you a lot!
    – musicmatze
    Mar 31, 2014 at 21:21

Output Here's another solution based on mdframed:



% The leftrule environment

% Fix top alignment
    \noindent\makebox[\dimexpr #1\relax][l]{\vtop{\vskip-\ht\strutbox\vskip-\dp\strutbox\relax#2}}%



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .