0 votes
212 vues

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 par (109 points)
modifié par | 212 vues

2 Réponses

0 votes
Meilleure réponse

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)

par (656 points)
sélectionné par
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]
par (656 points)
Note that snippet is two lines long. Each line starts with a \, everything else is linewrapping from this site.

Questions connexes

0 votes
1 réponse 20 vues
J'utilise PTXprint 3.0.11, mais je ne l'ai pas utilisé depuis un certain temps, il y a donc de ... en utilisant la configuration que j'avais utilisée précédemment. Merci !
MnKN 134 posée févr. 21
0 votes
1 réponse 250 vues
image886 319 13.9 KB C'est ainsi que le texte s'affiche. Je veux que le programme imprime le nom du livre et la ... place l'aleph hébreu sur la même ligne que le titre principal.
muckles 116 posée août 8, 2021
0 votes
1 réponse 221 vues
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 posée oct. 27, 2017
0 votes
1 réponse 52 vues
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 posée mai 8, 2025
0 votes
1 réponse 35 vues
Notre poésie est entièrement en sfm \q1 et la plupart des lignes sont assez courtes pour rester dans la marge. Cependant, à ... 'une ligne \q1 occupe plus d'une ligne sur la page.
debbodaneejo 118 posée févr. 4
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs