Using lettrine to print chapter numbers, I ended up with a chapter number at the end of a paragraph that was printed hanging over the bottom of the left paragraph, and a space in the top of the next paragraph.
I would like to move the chapter number to borrow space from the previous line and paragraph, as shown.
Is this even possible? There are so many simpler ways, but I want to save that blank line, and make the column lengths balance. Yes, I do want to begin chapters on the last line of the page, if it is possible.
Here's the code (or part thereof):
\verse{25\versehskip}{9}If we live in the Spirit, let us also walk in the Spirit.
\verse{26\versehskip}{9}Let us not be desirous of vain glory, provoking one another, envying one another.
\ifdefined\biblendchaptergalatiansv{\biblendchaptergalatiansv}\fi%
\bibldropcapschapter{6}%
\versei{1\versehskip}{9}Brethren, if a man be overtaken in a fault, ye which are spiritual, restore such an one in the spirit of meekness; considering thyself, lest thou also be tempted.
\verseii{2\versehskip}{9}Bear ye one another's burdens, and so fulfil the law of Christ.
And these definitions ...
\newcommand{\bibldropcapschapter}[1]
{\needspace{\mychapterspace}%%
\lettrine[lines=2, lraise=0.05, lhang=0.00, findent=3pt, nindent=0pt, loversize=0.0]{\hspace{2pt}\textbf{\mychapterfont \smash{#1}}}{}}%
\lettrine[lines=2, lraise=0.00, lhang=0.00, findent=\mylettrinefindent, nindent=0pt, loversize=0.0]{\textbf{\mychapterfont #1}}{}%
}%
\newcommand{\verse}[2]{\raisebox{\myverseraise}[0pt]{\myversefont\textbf{#1}}}
And this is all happening within a \begin{multicols}{2} ... \end{multicols} environment that started a few pages back. To complicate matters a little, the grid package is used for register-true printing, i.e. \usepackage[grid]{multicol}
I think that the method to handle this would be in two passes, with a macro inserted into the previous paragraph:
- On the first pass, detect that the lettrine would be placed on the last line on the page (no idea how)
- On the first pass, note in an auxiliary file that the previous paragraph needs to display the lettrine
- On the second pass, in the previous paragraph, indent the last line to accommodate the lettrine (no idea how).
- On the second pass, move the lettrine upward into the space made for it.

provokingand add the lettrine 6 there? – David Carlisle May 26 '23 at 22:37\lettrinecommand, the previous line has already been typeset. Maybe, you can create a minimal working example (MWE) instead of providing single code snippets? – Jasper Habicht May 31 '23 at 11:24