0 votos
341 visualizações

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?

Publicação antiga - exibida no idioma original
Paratext por (517 pontos)
reexibida | 341 visualizações

3 Respostas

0 votos
Melhor resposta

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.

Publicação antiga - exibida no idioma original
por (1,4k pontos)

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

Paulus+Kieviet

Publicação antiga - exibida no idioma original
+1 voto

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

Publicação antiga - exibida no idioma original
por (1,4k pontos)

Hi, jeffh,

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

be invited. May I invite an invitation from someone?

anon488349

Publicação antiga - exibida no idioma original
0 votos

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.

Publicação antiga - exibida no idioma original
por (1,4k pontos)

Perguntas relacionadas

0 votos
1 resposta 55 visualizações
Estávamos ministrando uma aula de Paratext na semana passada e ensinando a usar o PTXprint. Os tradutores nessas ... de ser desativado). Obrigado por considerar... Jeff
jeffh 1,4k perguntada Nov 22, 2024
0 votos
3 respostas 288 visualizações
Posso personalizar a espaçamento entre linhas do meu projeto de Tradução Reversa?
Michel 125 perguntada Nov 4, 2023
0 votos
3 respostas 365 visualizações
Quando defino a lista de termos bíblicos do meu projeto como padrão no meu projeto e abro a ferramenta de Termos ... Atualizar o título poderia ser um passo na direção certa?
jeffh 1,4k perguntada Dez 2, 2020
0 votos
1 resposta 204 visualizações
Estou procurando a maneira de criar um PDF de um livro com espaçamento duplo entre as linhas. Existe uma maneira rápida e fácil de fazer isso?
muckles 116 perguntada Out 5, 2021
0 votos
6 respostas 589 visualizações
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 perguntada Abr 6, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
3,045 perguntas
6,005 respostas
5,671 comentários
2,026 usuários