Reputation: 53
I am trying to create a table in a PDF using pandoc. The following table renders nicely in 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 |
But when I convert using pandoc notes.txt -o notes.pdf
, I get the following:
Is there a reason why the table is such a small width? And is there a way to easily change this?
Upvotes: 3
Views: 7006
Reputation: 39546
See the pandoc README, in this kind of table you can set the spacing visually. Try e.g.
| 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 |
Upvotes: 1