Replies: 1 comment 2 replies
-
Good question. It seems like the linebreaking stuff could really use some user-definable callbacks… |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Q1. This is both a question and a challenge: Is there a clever way to do this kind of things, where the quotation marks are repeated as the lines are broken? I obviously suspect one could tweak the line breaking algorithm in some way...
(Example taken from a random book. This is a somewhat "old-fashioned" way of quoting text, which tends to disappear, but the ancient typographers had some pretty cool ideas, sometimes... It adds a certain emphasis to the quote. Considering the cost of making "real font" in metal in those times, and the numbers of available
«
blocks they'd need just for this weird fanciness, it's amazing!).Q2. Bonus points if the answer to Q1 also satisfies the following case...
A similar problem occurs in poetry when a verse is over-long and cannot fit the justification space (I am not sure of the English term, "runovers" or "turnovers"). In some books they just be wrapped and indented, but in others the part(s) that cannot fit are right aligned, and even possibly preceded by an opening square bracket:
(so first line is ragged right, extra broken lines are ragged left, with an extra bracket when the line is broken)
Wait, I'm no done... Poetry can get worse than that. Ideally, line-broken part(s) of a verse should be set on the same line as the next verse if possible, or on the preceding verse if it cannot fit, say the manuals... That is:
Or
So here the problem becomes "harder"
Wow! Poetry is pretty hard... a challenge for would-be typographers and programmers!
Beta Was this translation helpful? Give feedback.
All reactions