Paragraphs in a Grid Table PDF output seems to lack vertical spacing (compared to HTML) #3621
-
Can anyone say why paragraphs rendered inside of Grid Tables don't have space after them (as they do outside of Grid Tables, or when rendered to HTML). Here's a MWE: Markdown source: Grid table problem with cells containing paragraphs (HTML vs PDF)
+----------------------------------------+
| Col1 |
+========================================+
| Here's one paragraph |
| |
| Here's a second one in the same cell. |
+----------------------------------------+
| Here's a paragraph followed by a list: |
| |
| - one |
| |
| - two |
| |
| - three |
+----------------------------------------+
: Here's a sample table caption I'm using RStudio's Visual editor for Quarto to make the table. I can correct the PDF by adding hard line breaks (Ctrl-Enter), but then the HTML version has extra lines. I'm wondering if this is a problem with Pandoc and Grid Tables (I quickly searched with Google but didn't find anything). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's a Latex quirk, so you can try some solutions found in Latex forums (searching for \parksip inside tabular). Here's one possible workaround,
(you'd probably want to hide it in a separate file) |
Beta Was this translation helpful? Give feedback.
It's a Latex quirk, so you can try some solutions found in Latex forums (searching for \parksip inside tabular). Here's one possible workaround,