quarto-dev / quarto-gallery

MIT License
36 stars 23 forks source link

Setting papersize to A4 breaks Tufte margin #7

Open ramiromagno opened 3 weeks ago

ramiromagno commented 3 weeks ago

Setting:

format:
    pdf:
      keep-tex: true
      papersize: A4

Results in:

a4

ramiromagno commented 3 weeks ago

Seemingly, with letter this line is added to the tex file:

\usepackage[left=1in,marginparwidth=2.0666666666667in,textwidth=4.1333333333333in,marginparsep=0.3in]{geometry}

but not if:

format:
    pdf:
      keep-tex: true
      papersize: A4

I manually fixed the tex by adding geometry package and it rendered with a nice Tufte margin. :) So this seems like a bug.