Block quotes in LaTeX (quote, quotation, displayquote)
The quote environment sets a quotation as an indented block, and quotation does the same for several paragraphs. The csquotes package adds displayquote with a source and \blockquote, which decides by length whether a quotation becomes a block.
Preamble
The snippets on this page need these lines before \begin{document}:
\usepackage{csquotes}Short quotation
quote indents the text on both sides and sets it apart from the paragraphs around it. Its paragraphs are not indented. The environment is part of LaTeX.
The author summarises the result:
\begin{quote}
The quoted sentence stands here, indented on both sides.
\end{quote}Quotation with several paragraphs
quotation indents the first line of every paragraph, as in normal text. Use it for longer passages.
\begin{quotation}
The first paragraph of the quoted passage.
The second paragraph of the quoted passage.
\end{quotation}Quotation with a source
displayquote from csquotes takes the source as an optional argument and prints it in parentheses after the quotation.
\begin{displayquote}[Example, 2024, p.~12]
The quoted sentence stands here.
\end{displayquote}Block or inline by length
\blockquote[source]{text} from csquotes sets a quotation of up to three lines inside the paragraph with quotation marks, and a longer one as a block.
The report states: \blockquote[Example, 2024]{A short quotation stays
inside the paragraph.}Author below the quotation
\par starts a new line inside the block, and \raggedleft moves it to the right edge.
\begin{quote}
The quoted sentence stands here.
\par\raggedleft--- Author Name
\end{quote}Pitfalls
- For poems LaTeX has the
verseenvironment:\\ends a line and an empty line separates two stanzas. - With
biblatex, thecsquotescommand\blockcquote{key}{text}adds the citation itself; see Cite sources in LaTeX. - For quotation marks inside a sentence see Quotation marks in LaTeX.
Compiled with pdfLaTeX from TeX Live 2023.
Related pages
- Package
csquotes - How-to Quotation marks in LaTeX
- How-to Center, left-align and right-align text in LaTeX
- How-to Cite sources in LaTeX
- How-to Draw a box around text in LaTeX