0 suara
341 tampilan

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?

Postingan lama - ditampilkan dalam bahasa aslinya
Paratext oleh (517 poin)
ditampilkan kembali | 341 tampilan

3 Jawaban

0 suara
Jawaban terbaik

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.

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (1,4k poin)

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

Paulus+Kieviet

Postingan lama - ditampilkan dalam bahasa aslinya
+1 suara

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (1,4k poin)

Hi, jeffh,

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

be invited. May I invite an invitation from someone?

anon488349

Postingan lama - ditampilkan dalam bahasa aslinya
0 suara

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.

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (1,4k poin)

Pertanyaan terkait

0 suara
1 jawaban 55 tampilan
Kami sedang mengajar kelas Paratext minggu lalu, dan mengajarkan mereka cara menggunakan PTXprint. Penerjemah di ... dinonaktifkan). Terima kasih telah mempertimbangkannya... Jeff
jeffh 1,4k bertanya Nov 22, 2024
0 suara
3 jawaban 288 tampilan
Bisakah saya menyesuaikan spasi baris pada proyek Terjemahan Balik saya?
Michel 125 bertanya Nov 4, 2023
0 suara
3 jawaban 365 tampilan
Saat saya mengatur daftar istilah alkitabiah proyek saya sebagai bawaan di proyek saya dan saya membuka alat Istilah ... Memperbarui judul mungkin bisa menjadi langkah yang tepat?
jeffh 1,4k bertanya Des 2, 2020
0 suara
1 jawaban 204 tampilan
Saya mencari cara untuk membuat PDF buku dengan spasi baris ganda. Apakah ada cara cepat dan mudah untuk melakukan ini?
muckles 116 bertanya Okt 5, 2021
0 suara
6 jawaban 589 tampilan
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 bertanya Apr 6, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
So Peter was kept in prison, but the church was earnestly praying to God for him.
Acts 12:5
3,045 pertanyaan
6,005 jawaban
5,671 komentar
2,026 pengguna