我一直以為,在「兩端對齊」與「非對齊」之間切換,只是決定是否插入空格來使行尾對齊,除此之外,行長應保持不變,因此整本書的總長度與分頁情況也應維持原狀。但我大錯特錯了。
透過插入寬鬆的右側跳距(rightskip),換行演算法不會像試圖減少行內間距那樣,拼命想把更多文字塞進同一行,結果段落很容易增加 3 到 4 行。我那本 91 頁的書變成了 93 頁,大多數段落都變長了,因此我為了讓段落平衡(在我的雙語版中)以及讓分頁美觀所付出的所有努力都付諸東流。
不幸的是,我找不到解決這個問題的方法。設定右側跳距會增加換行演算法使用的背景跳距(background skip),從而改變換行位置的選擇。如果有人有任何見解可以分享,我很樂意聆聽。
I always thought that switching between justified and unjustified text just left justified the lines over inserting space to justify them, but other than that the line lengths remained the same and so the overall length of the book and page breaking remained the same. I was so wrong.
By inserting a generous rightskip the line breaker doesn't try nearly so hard to get as much on a line as it would if it were trying to reduce the amount of space interspersed along the line and a paragraph can easily grow by 3-4 lines as a result. My 91 page book went up to 93 pages and most paragraphs got longer and so all my beautiful efforts to get paragraphs balanced (in my diglot) and pages broken nicely was for nought.
Unfortunately, I can find no way around this problem. Setting a rightskip increases the background skip that the line breaker uses and so changes the choice of where to break lines. If anyone has any wisdom to share, I would be interested in hearing it.
機器翻譯自 English