Mahamadou Kanté

Quoting in LaTeX

24 Jan 2019

[ latex  quote  quotation  tex  ]

Quotation: What and why?

For each writer or, in any case, serious author (i. e. bloggers, academicians, authors, etc.) it’s elementary to possess a decent quoting tool. A quoting tool permits to spotlight text in dedicated environments separated from standard context. It may be a fraction from a book, an article, a speech, a poetry or each alternative source to pur in evidence.

Quoting effectively is vital as a result of the correct quotation given properly will add spice, interest, thought, effectivenes, support, and relevance your writing. Further reading here, an exellent piece by Prof Ruth Finnegan I recommend.

Quoting environments in Latex

As you may imagine, in LaTeX there is not only one quoting environment. There are several environments for different purposes and different outputs. However, in this post we will focus on the fundamental classes for quoting.

| Env | When? | | ————- |:————-:| | Quote | quote for a short quotation, or a series of small quotes,|
| | separated by blank lines. |
| Quotation | quotation for use with longer quotations, of more than one| | | paragraph, because it indents the first line of each paragraph. |

Quote, e.g.

 \documentclass{article}
 \usepackage{lipsum}

 \begin{document}

  [...] Before quote 
     \begin{quote}
         \lipsum[1]
     \end{quote}
  After quote [...]
  
  \end{document}

Output

alt text

Quotation, e.g.

\documentclass{article}
 \usepackage{lipsum}

\begin{document}

[...] Before quotation
    \begin{quotation}
        \lipsum[1-2]
    \end{quotation}
After quotation [...]
\end{document}

Output

alt text

For further environments, you can chexk out packages like dirtytalk, csquotes or epigraph. They are all available on the Comprehensive TeX Archives Network CTAN.

Thanks for stopping by, I might write about some of the packages cited above in the future. Feel free to use the comment box!

comments powered by Disqus