Page LayoutDouble spacing and dropped capitals are not friends

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
spindlycat
Posts: 3
Joined: Tue Feb 08, 2011 6:23 am

Double spacing and dropped capitals are not friends

Post by spindlycat »

The packages lettrine and yfonts have both worked for me for dropping caps, however they mess up when I try to use doublespacing at the same time using the setspace package.

Does anyone know how I can make one of these packages work?

Code: Select all

\documentclass{report}
\usepackage{setspace}
\usepackage{lettrine}
\usepackage{yfonts}

\begin{document}

\begin{doublespacing}
\yinipar{A}n old donkey once said to me, what are you writing about? I replied that it was about nothing. Oh, well then why are you wasting your time on that, why do you not write about something that has meaning? My friend donkey, please take this the best possible way when I say you are starting to get on my nerves. The donkey is miffed and replies, maybe I would stop asking if you gave me a better answer. Well, donkey, my answer is that I am writing merely to fill up a few lines with text to demonstrate the problem I am having to some people on the internet; it does not matter what I write, merely that I write it. That is fine then, and I will leave you alone now.

\lettrine{P}{}resently, the donkey returns, and also a narrator suddenly appears. The donkey bothers our poor writer, the ``I'' in the prior paragraph, poor because he has such nosy friends. The donkey asks him again what he is writing, and he says it is the same thing. Well, if it is the same thing, why do you not just copy and paste your prior paragraph? That is because I am stupid, because that is actually a good solution, donkey. The two part as friends, leaving me, the narrator, alone to eat a sandwich. An old donkey once said to me, why are you writing about? I replied that it was about nothing. Oh, well then why are you wasting your time on that, why do you not write about something that has meaning? My friend donkey, please take this the best possible way when I say you are starting to get on my nerves. Maybe I would stop asking if you gave me a better answer. Well, donkey, my answer is that I am writing merely to fill up a few lines with text to demonstrate the problem I am having to some people on the internet; it does not matter what I write, merely that I write it. That is fine then, and I will leave you alone now.

\end{doublespacing}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply