<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 12 May 2020 at 16:16, Herman Grootaers <<a href="mailto:herman@grootaers-nl.com">herman@grootaers-nl.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 05-05-20 08:34, Herman Grootaers wrote:<br>
> I am flabbergasted with this macro I am setting up. I must miss <br>
> something from reading the documentation.<br>
><br>
><br>
> It is a part of a macro that is much longer, only a conditional <br>
> partially printing of a header, indexing on a parameter and <br>
> color-formatting - just the nice things to do in a macro - , but this <br>
> misbehaves on the typesetting of the main event of the macro.<br>
><br>
><br>
> The output is one page long, there are a number of underfull <br>
> verticals, which are resolved in the final version with all bells and <br>
> whistles.<br>
><br>
><br>
> I hope someone can help me with this strange behaviour.<br>
><br>
><br>
> Thanks,<br>
><br>
> Herman Grootaers<br>
><br>
><br>
> P.S. Please reply to the channel, I do not like it when someone finds <br>
> only the question but not the answer.<br>
><br>
Well, I did not find out what went wrong, but changing the call to <br>
lettrine with a default parameter did the trick I was looking for:<br>
<br>
<br>
\newcommand{\BLAPRNT}[3][4]{\lettrine[lines=#1]{#2}{}#3} in the preamble;<br>
<br>
\blaprint{I}{\blatext} in the main body or<br>
<br>
\blaprint[2]{I}{\blatext} to change the default number of used lines to <br>
2 or the used parameter.<br>
<br>
<br>
It took me a week to dig through google to get the result I wanted. And <br>
also I sometime have to remind that LaTeX sometimes forgets that the <br>
\parshape should be 0 as it sometimes keeps holding the lettrine space <br>
in memory.<br>
<br>
<br>
Thanks.<br>
<br>
Herman Grootaers<br>
<br></blockquote><div>Your original code was calling \lettrine inside a group which you have removed here which accounts for the changed behaviour.</div><div><br></div><div>in</div><div><br></div><div>{Normal call of the package lettrine so 4 lines are used\\<br>                                       \lettrine{#2}{}#3}</div><div><br></div><div>\lettrine is inside the {} group and the paragraph doesn't end until after the  group finishes, by which point the \lettrine settings were lost.</div><div><br></div><div>David</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br> </div></div></div>