Skip to content

Changing the line spacing only for the main body paragraphs (not tables too) #7

Answered by eeholmes
eeholmes asked this question in Q&A
Discussion options

You must be logged in to vote

Add these commands to the header to limit the scope. from this issue #1 from @johnghill

format:
  quarto-thesis-pdf: 
    urlcolor: red
    toclinkcolor: black
    toc-depth: 2
    classoption: [onehalfspacing, oneside]
    header-includes: |
      \usepackage{etoolbox}
      \AtBeginEnvironment{Shaded}{\singlespace}
      \AtBeginEnvironment{tabular}{\singlespacing}
      \AtBeginEnvironment{lltable}{\singlespacing}
      \AtBeginEnvironment{longtable}{\singlespacing}
      \AtBeginEnvironment{tablenotes}{\doublespacing}
      \captionsetup[table]{font={stretch=1.5}}
      \captionsetup[figure]{font={stretch=1.5}}

Replies: 1 comment

Comment options

eeholmes
Jan 20, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by eeholmes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant