Skip to content

Can I change the line spacing option only for block quotes when I convert from markdown to PDF? #9841

Answered by jgm
kcho17 asked this question in Q&A
Discussion options

You must be logged in to vote

Alternatively you can add to your metadata:

header-includes:
- |
    ```{=latex}
    \usepackage{setspace}
    \AtBeginEnvironment{quote}{\setstretch{1.2}}
    ```

And then you don't need a special option or file.
This would also work:

header-includes: |
  ```{=latex}
  \usepackage{setspace}
  \AtBeginEnvironment{quote}{\setstretch{1.2}}
  ```

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kcho17
Comment options

Answer selected by kcho17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants