0 votes
341 vues

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?

Ancienne publication - affichée dans sa langue d'origine
Paratext par (517 points)
réaffiché | 341 vues

3 Réponses

0 votes
Meilleure réponse

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.

Ancienne publication - affichée dans sa langue d'origine
par (1,4k points)

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

Paulus+Kieviet

Ancienne publication - affichée dans sa langue d'origine
+1 vote

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

Ancienne publication - affichée dans sa langue d'origine
par (1,4k points)

Hi, jeffh,

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

be invited. May I invite an invitation from someone?

anon488349

Ancienne publication - affichée dans sa langue d'origine
0 votes

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.

Ancienne publication - affichée dans sa langue d'origine
par (1,4k points)

Questions connexes

0 votes
1 réponse 55 vues
Nous donnions un cours sur Paratext la semaine dernière et nous leur apprenions à utiliser PTXprint. Les traducteurs de ces ... Merci d'avoir pris en compte cette demande... Jeff
jeffh 1,4k posée nov. 22, 2024
0 votes
3 réponses 288 vues
Puis-je personnaliser l'interligne de mon projet de rétro-tradition ?
Michel 125 posée nov. 4, 2023
0 votes
3 réponses 365 vues
Lorsque je définis la liste des termes bibliques de mon projet comme liste par défaut dans mon projet et que j'ouvre l ... le titre pourrait être un pas dans la bonne direction ?
jeffh 1,4k posée déc. 2, 2020
0 votes
1 réponse 204 vues
Je cherche à savoir comment créer un PDF d'un livre avec un interligne double. Existe-t-il une méthode rapide et facile pour le faire ?
muckles 116 posée oct. 5, 2021
0 votes
6 réponses 589 vues
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 posée avr. 6, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
3,045 questions
6,005 réponses
5,671 commentaires
2,026 utilisateurs