Skip to content

Don't use 'margin' page geometry in TOC / Title page of books #5143

Open
@dragonstyle

Description

@dragonstyle

For books, we should use normal page geometry for pages that don't contain margin elements, like the TOC / Title page.

Discussed in #5122

Originally posted by dominicwhite April 7, 2023
I am writing a Quarto book split over multiple chapter files.

I am trying to add margin notes following this guide here: https://quarto.org/docs/blog/posts/2022-02-17-advanced-layout/

If I add

reference-location: margin
citation-location: margin

to the pdf format section my _quarto.yml file for the whole book then I get footnotes correctly rendered in the margins in the individual chapters.

However, it also forces other sections, like the title page and the table of contents, to have that same margin, which I do not want.

I would like to have the margin space added just in the chapters (and not on the title page or table of contents), but when I add the two settings above to the top of individual chapter files instead, either using the recommended style from the blog post:

---
reference-location: margin
citation-location: margin
---

or as something like this:

---
format:
  pdf:
    documentclass: scrreport
    reference-location: margin
    citation-location: margin
---

then I get regular footnotes instead of margin notes.

Is it possible to turn on margin notes only for certain chapters, and if so, what I am doing wrong with my settings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    article-layoutbooksenhancementNew feature or requestlatexLaTeX engines related libraries and technologies

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions