0

MWE:

\documentclass{article}
\begin{document}
\begin{tabular}{|p{2cm}|}
sdlj lsadfj sdlafjk sdlfj a \\
\end{tabular}
\end{document}

screnshot1

The last line is flushed left. I want it to justify.

Similar can be obtained with \linebreak:

sdlj lsadfj sdlafjk sdlfj a \linebreak\\

screenshot2

But it has an obvious side effect: an excessive line. How to justify it without an excessive line? I found a trick for paragraphs, but it doesn't work for cells.

0 Answers0