Closed johnghill closed 1 year ago
Thanks for the comment and solution(!) The scoping of setspace, I assume is being set with the cls file (MastersDoctoralThesis.cls). While I could add those lines to the cls file, I think taking control of the spacing as you did by adding some lines to the header is a better approach.
I'll add your solution to the FAQs so if others have the same questions they can find a solution.
Moved solution to the discussion forum.
Prerequisites
quarto --version
and report the Quarto version you are using: 1.0.36Having trouble rendering to PDF?
quarto render
tex --version
: TeX 3.141592653 (TeX Live 2022/Arch Linux)Description
Alternative
classoptions
for line spacing have the effect of increasing all spacing, including of front matter, tables and code chunks (see Table 1.1 of the renderedA-doctoral-thesis-title.pdf
file.Steps to Reproduce
./_extensions/quarto-thesis/_extension.yml
classoption
fromsinglespacing
to eitheronehalfspacing
ordoublespacing
quarto render
to render PDFAdditional Information
Shouldn't user alterations to
setspace
be confined in their scope to paragraph text within the main body? Relevant Stack Overflow discussions here, here, and hereAdding the following to
./_quarto.yml
protects single line spacing within code (shaded environment) and tabular environments. I'm not sure if all of these tabular environments are relevant : in my test (withkeep-tex: true
) Table 1.1 was located within a longtable environment.