+1 vote
145 views

I’m looking to print a book which includes markers showing the beginning of sections of poetry, as shown in the image here.

I’m wondering how to get this to work in ptxprint. In particular, how should I markup the text and what settings should I set in ptxprint?

I’m thinking something like

\zpoetry ؎
\q1 یا خدا تعلےٰ۔۔۔

but obviously there might be some other way to do it. It would be nice if the first line of poetry were labelled with the same marker as other lines, so that any future format adjustments would be easier and more consistent.

It not necessary, but if there is any way to have this display correctly in PT or at least have the poetry marker on the same line, that would be a bonus.

PTXprint by (1.9k points) | 145 views

1 Answer

0 votes

Yes you can do this but it’ll take a snippet. Here’s an example of doing the same thing with a bullet character. The markup is to place the character as the first character on the poetry line as part of the text (after any verse numbers etc.) rather than pulling it out with its own marker. The reason is that it’s easier to treat the text within the paragraph rather than trying to ‘annotate’ the paragraph:

\catcode`\^=7
\def\hangbullet{\leavevmode\llap{\hbox to 0pt{\kern -15pt ^^^^00b7}}}
\DefineActiveChar{^^^^00b7}{\hangbullet}

I didn’t have the fonts, etc. to try switching 00b7 with 060e (note the lower case, that’s important) but I did try this RTL as well as LTR and it works in both cases. Insert in your ptxprint-mods.tex

by (656 points)

Thank you. That worked great.

Related questions

0 votes
2 answers 27 views
I'm typesetting Proverbs (single-column, A5) and running into two related pagination issues I can't figure out how ... before/after a page break? Any pointers appreciated. Thanks!
drwww 448 asked Apr 9
0 votes
2 answers 175 views
A user wants to make an entire section of poetry bold. Is there a way to do this without having to add the bold marker ... cause the end of the bold text (even without the \bd*).
Sara 246 asked Aug 5, 2024
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
0 votes
1 answer 148 views
The Hanging Poetry Verse Numbers' in the Body tab, is a great feature! It moves the verse number out of the ... others would want as well and could be easily added? Iska
Iska 164 asked Jun 7, 2021
0 votes
1 answer 14 views
When I use the following reference in a Bible module: \ref PSA 25:4-5,8-9,10-14 it doesn't include the \q1 that appears ... the \q1 before \v 4. This seems like a bug to me.
jeffh 1.4k asked May 7, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
3,037 questions
5,994 answers
5,661 comments
2,022 users