8

Using the lettrine package, big drop caps can sometimes overlap next paragraphs, as show here:

overlap

How can I do it so that following paragraphs are built around the lettrine instead of overlapping it?

raphink
  • 31,894
  • 1
    What does your lettrine definition for this typesetting look like? – Werner Jul 29 '11 at 23:01
  • 5
    Don't start a new paragraph: \\\indent. – egreg Jul 29 '11 at 23:01
  • You can do some tricks with redefining \par using \prevgraf (there is a code somewhere in The TeXbook, but I don't have it at home). Note that this might not be robust with respect to itemize or other atypical things.

    If you don't have access to The TeXbook, just write a comment here and I will post working code tomorrow.

    – mbork Jul 29 '11 at 23:16
  • Ok egreg, your trick does it (although I'd like something cleaner if possible). – raphink Jul 30 '11 at 05:16
  • 3
    @mbork lettrine already uses \parshape, so it's not compatible with list based environments. The code might be something like {\par\xdef\kpd{\the\prevgraf}}\everypar={\prevgraf\kpd\everypar{}, perhaps with some other code to keep the previous contents of \everypar. I'd say that \\\indent is more economic. – egreg Jul 30 '11 at 08:25
  • That's what I was afraid of;). Hopefully wrapping text around figures will work robustly in LaTeX3...

    Solution with \\\indent is very nice, I'll remember it (I need wrapping from time to time, too).

    – mbork Jul 30 '11 at 08:48
  • @Raphink What fonts are you using? They look great. – JohnReed Aug 28 '12 at 17:41
  • @JohnReed: This font is EB Garamond, and yes it's great. See also http://tex.stackexchange.com/a/24719/951 for what this font can achieve (essentially the result of this question). – raphink Aug 28 '12 at 18:00
  • @Raphink That is truly impressive. Also, thanks for the font name. – JohnReed Aug 28 '12 at 18:14
  • @JohnReed: You're welcome. You can find the latest version of EB Garamond on https://github.com/georgd/EB-Garamond. It is best used as OTF with fontspec. – raphink Aug 28 '12 at 18:48

1 Answers1

8

@egreg's suggestion works fine. So since I already had a command to typeset for each paragraph (\bverse), I made a new command (\bversenopar) and didn't skip a line:

\newcounter{verse}                                                              
\newcommand{\bverse}{%                                                          
  \addtocounter{verse}{1}                                                       
  \par\theverse~                                                                
}                                                                               

\newcommand{\bversenopar}{%                                                     
   \addtocounter{verse}{1}\\\indent\theverse~                                   
}        

And it works fine:

no overlap

raphink
  • 31,894