How to use latex's csquotes
?
#11673
Replies: 2 comments 11 replies
-
That's not Markdown. Why do you expect |
Beta Was this translation helpful? Give feedback.
-
Pandoc has support for ---
title: "Your Document"
format:
pdf:
keep-tex: true
csquotes: true
---
Here is an inline quote: "This is quoted text"
> This is a block quote. It will use package quarto-cli/src/resources/formats/pdf/pandoc/latex.template Lines 479 to 481 in 83a3b5a and result in Here is an inline quote: \enquote{This is quoted text} Though it seems they don't replace
The Lua filter route for a Quarto extension handling of csquote would be the way, by adding support for Note that there is already https://github.com/quarto-ext/latex-environment that give generic support for LaTeX command and environment. ---
title: "Your Document"
format:
pdf:
keep-tex: true
include-in-header:
text: \usepackage{csquotes}
filters:
- latex-environment
environments: [displayquote]
commands: [enquote]
---
Here is an inline quote: [This is quoted text]{.enquote}
::: {.displayquote}
This is a block quote.
:::
gives Here is an inline quote: \enquote{This is quoted text}
\begin{displayquote}
This is a block quote.
\end{displayquote} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi there,
I'm starting to write an academic paper using quarto. I'm stuck at how to properly create quotes. I.e., how can I use the
csquotes
package?I created this minimal document:
Running quarto didn't yield the result I hoped for:
This render run gave me the following latex source code which is was used to create the PDF.
This makes me wonder:
q
tags?displayquote
environment instead of a regularquote
environment?Thank you in advance for taking the time to read an answer.
Beta Was this translation helpful? Give feedback.
All reactions