Pandoc:创建表格,Markdown 到 PDF

Pandoc: Creating Tables, Markdown to PDF

我正在尝试使用 pandoc 在 PDF 中创建 table。以下 table 在 markdown 中呈现得很好:

| Type of Policy | Expansionary Policy | Contractionary Policy |
|---|---|----|
| Fiscal Policy | decrease t (increase di, increase C), increase government spending| opposite |
| Monetary Policy |decrease rr, decrease dr, buy securities (increase MS, decrease i, increase I)| opposite |

但是当我使用 pandoc notes.txt -o notes.pdf 进行转换时,我得到以下信息:

table这么小的宽度有什么原因吗?有没有办法轻松改变它?

参见pandoc README,在这种table中可以直观地设置间距。尝试例如

| Type of Policy  | Expansionary Policy                                                            | Contractionary Policy  |
|-----------------|--------------------------------------------------------------------------------|------------------------|
| Fiscal Policy   | decrease t (increase di, increase C), increase government spending             | opposite               |
| Monetary Policy | decrease rr, decrease dr, buy securities (increase MS, decrease i, increase I) | opposite               |