0
341 次瀏覽

I am trying to adjust the line spacing of the main title in Print Draft in PrintDraft-mods.sty, because some main titles are longer than a line, and single line spacing is too narrow.
According to PT help, this can be done as follows:
\LineSpacing x
where x = 0 (for single space), 1 (1 1/2 space) or 2 (double space)
However, when I enter one of these values, Print Draft gives an error message “Undefined control sequence” and fails. And when I enter a value in custom.sty instead of PrintDraft-mods.sty, the change is applied correctly in PT, but Print Draft fails in the same way.
How can the line spacing be changed?

舊文章 - 以原文顯示
Paratext (517 點) 提出
已重新顯示 | 341 次瀏覽

3 個回答

0
最佳回答

Those of us who use XeTeX directly (not through Paratext Print Draft) usually use a command like this in the setup file:

% make sure multi-line \mt1's have enough space between the lines
\sethook{start}{mt1}{\baselineskip=22\FontSizeUnit\relax}

I imagine if you put this command in your PrintDraft-mods.tex file, that the multi-line spacing in your \mt1 titles will be “different” - maybe not what you want, however. Then you just need to figure out what number to use in the command instead of “22” (which is a multiplier for the FontSizeUnit) to give you the spacing you want.

舊文章 - 以原文顯示
(1.4k 點) 提出

This works! Thank you, I’d never have figured this out myself.

Paulus+Kieviet

舊文章 - 以原文顯示
+1

Most things in XeTeX are in the category of “I’d never have figured this out myself”… :smile:

But there is an email discussion list where you can post your questions and often get help. It is a Google group called tex-typesetting-tools. To subscribe, I think you send an email to:
[Email Removed].org
And then you post a message by sending an email to:
[Email Removed].org

舊文章 - 以原文顯示
(1.4k 點) 提出

Hi, jeffh,

  I tried to subscribe, but got the message below about needing to

be invited. May I invite an invitation from someone?

anon488349

舊文章 - 以原文顯示
0

anon488349 should be added to the list shortly. Other people who are interested in joining the XeTeX list can contact Lorna Evans. Message me privately if you want to contact her but don’t have her address.

舊文章 - 以原文顯示
(1.4k 點) 提出

相關問題

0
1 個回答 55 次瀏覽
上週我們正在授課 Paratext 課程,並教導學員如何使用 PTXprint 這些社群的譯者只需要非常基本的列印功能,以便列印草稿供社群檢查,因此有 Mini View 非常實用,讓他們不會感到不知所措 然而,我想向他們展示如何 ... 「Line Spacing」參數就會變灰(最好是在停用之前,先將 2.5 倍的數值填入欄位中) 感謝考慮 Jeff
jeffh 1.4k 提出 已提問 11月 22, 2024
0
3 個回答 288 次瀏覽
我可以自訂我的回譯(Back Translation)專案的行間距嗎?
Michel 125 提出 已提問 11月 4, 2023
0
3 個回答 365 次瀏覽
當我在專案中將我的聖經術語清單設為預設值,並開啟「聖經術語」工具時,視窗標題正確地顯示為「專案聖經術語:XXX」(從法語翻譯而來)。 如果我選擇了不同的聖經術語清單,這個視窗的標題是否應該變更為反映目前選取的術語清單?似乎許多譯者在很多時候都會混淆自己正在使用哪個清單,以及如何使用這些清單。更新標題可能是朝正確方向邁出的一步嗎?
jeffh 1.4k 提出 已提問 12月 2, 2020
0
1 個回答 204 次瀏覽
我正在尋找一種方法,來製作具有雙倍行距的書籍 PDF。有沒有快速且簡單的方法可以做到這一點?
muckles 116 提出 已提問 10月 5, 2021
0
6 個回答 589 次瀏覽
Hi, in paratext 8, I can see the name of the users who have editing rights on the current chapter and book in the ... , these names are not displayed. Is there a reason for this?
anon251522 150 提出 已提問 4月 6, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
3,045 個問題
6,005 個回答
5,671 則評論
2,026 位使用者