Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • very nice and clean, @Bernard! Commented Jul 4, 2017 at 19:27
  • Ooh, I like this a lot. Redefining the longtable environment with \AtBeginEnvironment is nice and simple. Commented Jul 4, 2017 at 19:33
  • Thanks@Zarko! I had tested >{\compress}p{...} found on this site (it fools LaTeX, making it believe one is at the beginning of a minipage, so the before=vspace*{-1\baselineskip}` is not necessary), but it doesn't seem to work with longtable. Commented Jul 4, 2017 at 19:33
  • @Andrew: Note the ` after=` setting supposes there's nothing else in the cell after \end{itemize}. Commented Jul 4, 2017 at 19:35
  • Ah, good to know. Pandoc supports other paragraphs, etc. inside table cells after itemized lists. I can just rely on \renewcommand\arraystretch{X} to get spacing between rows (since pandoc does allow inline LaTeX) Commented Jul 4, 2017 at 19:39