0 votes
186 views

Greetings all,

We are trying to get the poetry word "Selah" to be right aligned even though it is on the same line at the end of a phrase that is left aligned or justified. It is within the Paratext marker \qs \qs* (poetry text - Selah)... As shown below:

Test text with "\qs Selah \qs*"

We thought that setting the alignment to right (droite) would/should do the trick. But to no avail.

Right alignment of \qs style

We still see the following...

PTXprint Publication result

Is there something we are missing?

Thanks,

GY

PTXprint by (109 points)
edited by | 186 views

2 Answers

0 votes
Best answer

Here's a better answer:

- In the advanced tab, select "Apply Customized Settings (ptxprint-mods.tex)" and then click the edit button next to it

- On the right of the text editor is a column of buttons, press the Tweaks button and choose "Move the qr word up to the previous line (if space permits)" and PTXprint will add text to the text edit window.

- Given you are using qs over qr, change qs to qr in the 2 places it occurs in the text

- hit print and rejoice :)

(Thanks Mark)

by (656 points)
selected by
Ahh, OK great! So, I changed qr to qs for my needs... From the Tweak description, I didn't automatically interpret that to mean right aligning the qr text.
Thanks Mark!
GY
0 votes
The short answer is to add the following snippet to your ptxprint-mods.tex (See the Advanced tab):

\sethook{start}{qs}{\unskip\nobreak\hfill\penalty50\hskip0.3em\hbox{}\nobreak\hfill\hbox\bgroup}
\sethook{end}{qs}{\egroup}

For details of how this works, etc. see the file [https://github.com/sillsdev/ptx2pdf/blob/master/docs/documentation/snippets.md#move-the-qr-word-up-to-the-end-of-previous-line-if-space-permits]
by (656 points)
Note that snippet is two lines long. Each line starts with a \, everything else is linewrapping from this site.

Related questions

0 votes
1 answer 13 views
I am using PTXprint 3.0.11 but haven't used it for a while so there are new features. I want to print select verses using the configuration I used previously. thanks!
MnKN 134 asked Feb 21
0 votes
1 answer 212 views
image886 319 13.9 KB That is what the text looks like. I want the program to print the book name and the chapter ... putting the Hebrew aleph on the same line as the main title.
muckles 116 asked Aug 8, 2021
0 votes
1 answer 207 views
Following migration of our project to PT8, the work I had previously done in an interlinear back-translation into NT Greek appears ... . What do I need to do to fix these problems?
anon084127 105 asked Oct 27, 2017
0 votes
1 answer 23 views
I have created an auxiliary project for a new MTT to work in. As part of his training, I want him to check the first draft ... there a better way to do what I want to do? Thanks.
Kirk 123 asked May 8, 2025
0 votes
1 answer 24 views
Our poetry is all in sfm \q1 and most of the lines are short enough to be within the margin. However a few times when the ... when a \q1 line runs more than one line on the page.
debbodaneejo 118 asked Feb 4
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,037 questions
5,994 answers
5,661 comments
2,022 users