0
votes

I have a table on a page in a LaTeX document like this on it:

\begin{tabularx}{\linewidth}{X | p{4.6cm} | p{3cm}}
    & & \\
    & drop variable \syntaxConcept{}; & some very long content in order to produce a high box \\
    & & \\
\end{tabularx}

The cell in the middle produces the following output:
wrong output

Now I tried two things:

  • Getting the content in all cells to a vertical align top and
  • Getting the text not wrapped like a block text

So the result should be like this:
correct output

But I am not able to get this kind of result. The p{width} always produces a wrapping block text and a normal l has no width parameter.

1
What is this construct supposed to do when the cell's content is too wide?Roland Smith
creating a second line that is left aligned. No block text. So like in the example from above: The line drop variable (nt|ct|rt).<concept>; is too long and the variable should not be on the right end of the cell.christopher2007

1 Answers

2
votes

Try using \raggedright. And have a look at the answer to this related question on tex.stackexchange.com.