-
Hi, I have a Markdown file with text, and tables that I would like to convert to PDF. But in one of the tables the columns overlap. How can I fix this issue? This is a MWE with the overlapping table: Markdown file: Content of the markdown file:
Command used for convertion: PDF output: OS: Windows 10
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Pandoc parses the table with relative column widths that are based on the relative widths in the source. (These widths are needed for LaTeX output, as LaTeX doesn't compute them automatically as browsers do.) In your table, the second column is apparently not wide enough for its content. So, you can try making it wider. You would do this by adjusting the line with the For example, setting it to
will give reasonable results. (Note that unless this line is shorter than the 78 characters, absolute widths of the lines don't matter, only relative ones. |
Beta Was this translation helpful? Give feedback.
Pandoc parses the table with relative column widths that are based on the relative widths in the source. (These widths are needed for LaTeX output, as LaTeX doesn't compute them automatically as browsers do.)
In your table, the second column is apparently not wide enough for its content. So, you can try making it wider. You would do this by adjusting the line with the
----
so that it is longer in the second column.For example, setting it to
will give reasonable results. (Note that unless this line is shorter than the 78 characters, absolute widths of the lines don't matter, only relative ones.
pandoc -t native
…