Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm writing the use case documentation for my Software Engineering project. I'm using longtable to get a template that spans over multiple pages.

\usepackage{lipsum} % Used to produce long text
\newcommand\VRule{\vrule width 0.5pt}

        \textbf{ID}                & \texttt{UC\_01\_01}            \\
        \textbf{Name}              & Password recovery              \\
        \textbf{\textit{Macro}-UC} & Registration (\texttt{UC\_01}) \\
        \textbf{Actors}            & \texttt{ACTOR\_02}             \\ \hline
        \textbf{Preconditions}     & \lipsum[2-4]                   \\ \hline
        \textbf{Main flow}         & Some itemize list here!        \\ \hline
        \textbf{Postconditions}    & \lipsum[5-7]                   \\ \hline

The problem is that the table doesn't break within the row. I would need a breakable content to put into a row to have a homogeneous filling on each page.

I tried to wrap this row in a box using the framed package but it doesn't work. I noticed that I can achieve a break page within a box with the mdframed package but I can't use it since I'm working on ScribTeX and I've no version of LaTeX installed on my computer.

I've also tried the usecase package but it doesn't support page breaking.

Could you please suggest me a trick or an alternative to achieve this result? I've been stucking on this matter for two days.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

I don't think that's possible with longtable, or any other tabular environment for that matter, because the material inside the tabular cells are TeX boxes, which by definition cannot be broken.

I suggest you use parcolumns instead, which has been designed to typeset several columns next to each other for multilingual texts. Here's an example:

\usepackage{lipsum} % Used to produce long text



    \colchunk[2]{Password recovery}

    \colchunk[2]{Registration (\texttt{UC\_01})}



    \colchunk[1]{\textbf{Main flow}}
    \colchunk[2]{Some itemize list here!}

share|improve this answer
Thanks @alexraasch! Your example helps me a lot! Just a couple of questions: 1. How can I add a blank line before and after the main flow chunk to make it more readable? 2. Is there an option that allows me to reduce (or remove) the indentation inside the two columns? –  Driu Dec 29 '12 at 18:34
1. \colchunk[1]{~\\\textbf{Main flow}\\} and \colchunk[2]{~\\Some itemize list here!\\}. Can't think of something more elegant right now. :) 2. Put the distance=... option in the square brackets. Default is 2em. –  alexraasch Dec 29 '12 at 21:12

Just to record parallel package:

\usepackage{lipsum} % Used to produce long text


    \ParallelRText{Password recovery}

    \ParallelRText{Registration (\texttt{UC\_01})}



    \ParallelLText{\textbf{Main flow}}
    \ParallelRText{Some itemize list here!}

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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