MRoth1910 / Vesperale-Romanum

Main repository for the Vesperale Romanum. The Vesperale Romanum is an excerpt of the Antiphonale Romanum, the chant book of the Roman Rite for chanting Vespers and Compline, the evening hours of the Divine Office.
GNU General Public License v3.0
5 stars 2 forks source link

Line breaks failing with hspace applied #3

Open MRoth1910 opened 10 months ago

MRoth1910 commented 10 months ago

LaTeX breaks the kerning if \textitis applied to the second (third etc.) syllable of a word. Fixing the repeated italicization is a necessary start, but it's not sufficient; sǽcu\textit{lum} and sǽ\textit{culum} both collide with the preceding letter (more obviously so in the former case as the u in a serif font is going to protrude. This requires manual kerning, e.g. `\hspace{0.03em} is a good value.

However, that breaks the ability of LaTeX to break the line, so there is no dash, even though the line breaks at an appropriate spot. Normally, manually inserting a hyphen suffices.

But LaTeX apparently does not break the line the same way; the vertical placement on the page might change (top, bottom, what have you), but one would think that the psalm should be the same with respect to horizontal placement. That is not the case. This greatly complicates having one file, e.g. 110_2.tex, for each implementation of the psalm. A soft hyphen \- doesn't lead to hyphen placement as the line already breaks, it just doesn't know that the word unit is still intact from a visual (reader's) POV.

Screenshot 2023-12-30 at 11 57 38
MRoth1910 commented 10 months ago

Also 147_2.tex as on the Circumcision of the Lord (1 Jan), v. 6.

MRoth1910 commented 5 months ago

I should explain this again: if a hyphen doesn't appear, switch to hspace*. The line break should be appropriate, and either a hyphen appears or the words are shifted to allow a line break without a hyphen all while kerning awkward letter pairings.

Second, what I mean is that sometimes, apparently, the psalm did not print identically horizontally, although there is no reason why this should be the case. The number of verses which LaTeX can fit on a page doesn't matter; there's no difference between a line and a page break here. But this may be fixed.