On 19/10/2025 21:29, Ihor Radchenko wrote:
Max Nikulin writes:

-               contents
+               (or contents "\\leavevmode")
                (let ((case-fold-search t)

"\\penalty0" may be safer (perhaps with additional "\\relax " or newline
for a case that next portion of text will be started from a number
without any space).
[...]> What about simply \mbox{}?

It significantly increases vertical space between section titles.

Reply via email to