Added section about quotations

This commit is contained in:
Kenneth John Odle 2023-10-29 13:10:46 -04:00
parent 1b053bff7d
commit 366624d264

View File

@ -785,12 +785,33 @@ If you still need even more options, you can try the \texttt{listings} package,
\section{Quotations}
I like using quotations\footnote{And here I'm going to be persnickety and point out that the \textit{noun} is, properly, ``quotation'' and the \textit{verb} is ``quote''. This is a battle which I will eventually lose.} in my work, and \LaTeX{} does indeed provide two different—and often misunderstood—environments for using quotations. \footnote{For much of this information, I am indebted to the \LaTeX{} WikiBook at \kref{https://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting}{https://en.wikibooks.org/\\wiki/LaTeX/Paragraph\_Formatting}}
Both of them are list environments, so they start with a \texttt{begin} command and end with an \texttt{end} command, and use \verb+\item+ to delineate their contents.
\subsection{\texttt{quote}}
The \texttt{quote} environment is meant to be used for a short quotation, or a series of small quotations, separated by blank lines.
\begin{quote}
\item A rose by any other name would smell as sweet. \\ —William Shakespeare
\item \textit{He travels the fastest who travels alone.} \\ —Rudyard Kipling
\end{quote}
\subsection{\texttt{quotation}}
The \texttt{quotation} environment indents the first line of each paragraph, so it is meant for longer quotations of more than one paragraph.
\begin{quotation}
\item You dont know about me without you have read a book by the name of The Adventures of Tom Sawyer; but that aint no matter. That book was made by Mr. Mark Twain, and he told the truth, mainly. There was things which he stretched, but mainly he told the truth. That is nothing. I never seen anybody but lied one time or another, without it was Aunt Polly, or the widow, or maybe Mary. Aunt Polly—Toms Aunt Polly, she is—and Mary, and the Widow Douglas is all told about in that book, which is mostly a true book, with some stretchers, as I said before.
\item Now the way that the book winds up is this: Tom and me found the money that the robbers hid in the cave, and it made us rich. We got six thousand dollars apiece—all gold. It was an awful sight of money when it was piled up. Well, Judge Thatcher he took it and put it out at interest, and it fetched us a dollar a day apiece all the year round—more than a body could tell what to do with. The Widow Douglas she took me for her son, and allowed she would sivilize me; but it was rough living in the house all the time, considering how dismal regular and decent the widow was in all her ways; and so when I couldnt stand it no longer I lit out. I got into my old rags and my sugar-hogshead again, and was free and satisfied. But Tom Sawyer he hunted me up and said he was going to start a band of robbers, and I might join if I would go back to the widow and be respectable. So I went back.
\item —from \textit{The Adventures of Huckleberry Finn} by Mark Twain
\end{quotation}
\subsection{Customizing Quotations with the \texttt{quoting} Package}
As you can see in the above examples, the indentation is not consistent in those environments, and neither of them provide a good means of providing an attribution, which is commonly typeset as right-justified. The \texttt{quoting} package provides a number of options which are not available within the default environments of \LaTeX{}. However, it still does not provide a means of attributing the quotations. The best way may be to do it outside of whichever quotations environment you end up using.
\chapter{Math in \LaTeX{}}