Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line breaks failing with hspace applied #3

Open
MRoth1910 opened this issue Dec 30, 2023 · 2 comments
Open

Line breaks failing with hspace applied #3

MRoth1910 opened this issue Dec 30, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@MRoth1910
Copy link
Owner

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 MRoth1910 added the help wanted Extra attention is needed label Dec 30, 2023
@MRoth1910
Copy link
Owner Author

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

@MRoth1910
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant