Margin notes only in book chapter #5122
-
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
to the pdf format section my 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:
or as something like this:
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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Right, geometry is defined globally (include for the TOC and other 'meta' type pages). You could experiment with trying to override this directly with included LaTeX that sets page geometry globally: geometry:
- top=30mm
- left=20mm which sets geometry for the There are ways to set per page geometry using Latex, so it might be possible to define a global geometry that affects all the pages, then override that for the chapters, though you'd definitely be doing something a bit more advanced with LaTeX and something I don't really have experience with... I'm going to convert this to an issue as well to consider whether we should just automatically set default page geometry for the title page and TOC (it seems to be we should be doing this). |
Beta Was this translation helpful? Give feedback.
Right, geometry is defined globally (include for the TOC and other 'meta' type pages). You could experiment with trying to override this directly with included LaTeX that sets page geometry globally:
which sets geometry for the
geometry
package https://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/geometry/geometry.pdf. When you define this, we should stop trying to adjust the dependency and allow you to control things.There are ways to set per page geometry using Latex, so it might be possible to define a global geometry that affects all the pages, then override that for the chapters, though you'd definitely be doing something a bit more a…