Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting papersize to A4 breaks Tufte margin #7

Open
ramiromagno opened this issue Jun 17, 2024 · 1 comment
Open

Setting papersize to A4 breaks Tufte margin #7

ramiromagno opened this issue Jun 17, 2024 · 1 comment

Comments

@ramiromagno
Copy link

ramiromagno commented Jun 17, 2024

Setting:

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

Results in:

a4

@ramiromagno
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant