In the preamble of my document, I'm using \usepackage[parfill]{parskip}
to make a new line between each paragraph. But when I try to write paragraphs inside a table:
\begin{tabular}{l|p{0.85\textwidth}}
aaa & Paragraph 1
Paragraph 2
\end{tabular}
the paragraph skip is ignored, and it doesn't even give me an indentation:
My tables have long texts in them so the paragraph skip is really desirable for reading. Also, this breaks the newline \\
for me.
As far as I understand, \tabular redefines \par to be empty but the solution proposed seemed a bit too advanced for my needs. I tried with \endgraf
after each paragraph without any result.
I'm using xelatex. Any help?
Edit: The above code is my minimum test case. I would like to use the paragraphs in the following environment:
\usepackage{polyglossia}
\setmainlanguage{swedish}
\usepackage{array}
\usepackage{rotating}
\newenvironment{exercise}[1]
{
\begin{tabular}{m{0.05\textwidth}|P{0.85\textwidth}}
\rotatebox{90}{\textbf{Övning}} & \textbf{#1}
}
{\end{tabular}
\bigskip
}
Best Answer
With
array
you could define a new column type which applies the paragraph skip to each cell in the column:The values are taken from the
parskip
package which you are using.