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 发布 提问于 十一月 22, 2024
0
3 个回答 288 次浏览
我可以自定义回译项目的行距吗?
Michel 125 发布 提问于 十一月 4, 2023
0
3 个回答 365 次浏览
当我在项目中将我的项目圣经术语列表设为默认,并打开 Biblical Terms 工具时,窗口标题正确地显示为 Project Biblical Terms: XXX(从法语翻译而来) 如果我选择不同的圣经术语列表,这个窗口的标题不应该更改以反映当前选 ... 员经常对当前处于哪个列表以及如何正确使用这些列表感到困惑 更新标题可能是朝着正确方向迈出的一步?
jeffh 1.4k 发布 提问于 十二月 2, 2020
0
1 个回答 204 次浏览
我想找到一种方法来创建具有双倍行距的书籍 PDF。有没有快速简便的方法可以做到这一点?
muckles 116 发布 提问于 十月 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 发布 提问于 四月 6, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
3,045 个问题
6,005 个回答
5,671 条评论
2,026 位用户