2

I'm using pandoc to export markdown files to PDF. I'm using OS X Yosemite.

When markdown is exported to pdf (via pandoc) the content of the table columns overlay the content in the next column.

Is there a pandoc command to set the column width? Or, perhaps, a command to standardise column width?

JP McCarthy
  • 130
  • 1
  • 1
  • 9
  • [Duplicate](http://stackoverflow.com/questions/27219629/how-to-control-cell-width-in-pandoc-markdown-table)? – wOxxOm Jul 28 '15 at 18:02

1 Answers1

1

If the contents of your table cells are wide enough to need wrapping, then you need to use pandoc "multiline tables" or "grid tables," not simple or pipe tables. The relative widths will be calculated automatically from the relative widths in the source file, as described in pandoc's User's Guide. You can also set the overall source width using --columns.

John MacFarlane
  • 8,511
  • 39
  • 33