I have a tabular environment, where I want to separate "paragraphs" with empty lines or spaces. The paragraphs have one major title on the left whereas the column on the right has several lines. Here is an example:
\documentclass{article}
\usepackage{tabularx}
\begin{document}
\noindent
\begin{tabularx}{\textwidth}{@{}l<{}@{\ }X@{}}
\textbf{Paragraph 1} &
\textbf{Header 1} \\
& Next line \\
& Third piece of text \\
& Fourth line of text \\
% \medskip
\textbf{Paragraph 2} &
\textbf{Header 2} \\
& Next line \\
& Third piece of text \\
& Fourth line of text
\end{tabularx}
\end{document}
In the middle I have commented out \medskip
command that would insert the space I need. However, that appears unintuitively after the second paragaph header not before it:
I found similar problem here: https://www.reddit.com/r/LaTeX/comments/5om827/vspace_after_newline_in_tabularx/
The solution is to use \vskip
command, but somehow that brings an error message in the table form that I need:
ERROR: Extra alignment tab has been changed to \cr
My guess is that I should tweak the line \begin{tabularx}
but I have no idea how.
Best Answer
or perhaps better