toddeTV
toddeTV

Reputation: 1517

wrapping text in a latex table without block

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:

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.

Upvotes: 0

Views: 5207

Answers (1)

Roland Smith
Roland Smith

Reputation: 43533

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

Upvotes: 2

Related Questions