0 votes
153 views

I need to enlarge some \mt1 text in the FRT, but I don’t want to enlarge the \mt1 text for the rest of the PDF.

How would I do that?

Thanks, Mike

PTXprint by (1.2k points) | 153 views

2 Answers

+1 vote

Sorry that there isn’t an easy way to do this [yet]. But there are at least a couple of ways to do it, both of which involve creating new styles (easy enough to do in the Style editor tab):

Option A) Copy the \mt1 style to create a new one (like \zmt1) and then modify the size of that style and use that for the Front matter book.

Option B) Create a \cat category \cat* for the FRT matter (something like \cat FRT-s and FRT-e) and then set up a style which allows \mt1 within those milestones to be formatted differently. This is a bit more complex to pull off, but would be very useful if there were several markers within FRT that needed to be tweaked.

[Note that you don’t necessarily need to modify the USFM text itself to do either of these, as you can use changes.txt rules to make on-the-fly changes. However, if you’re using PTXprint’s internal Front matter, then there’s little point; just edit the markers there.]

by (3.2k points)
0 votes

I spot a typo / thinko, the FRT-s and FRT-e look like milestones. They work similarly to cat, in that they let you get complicated styling, but the usfm is different and the way to style them are different. Ranged milestones (mostly) behave more like character styles that persist across paragraph boundaries. The format for using a ranged milestone would be:

\FRT-s\*
\mt1 Title
...
\FRT-e\*

To style this, you’d need to define a ranged milestone (FRT-s … FRT-e) and then you can specify character-style options to that, or for the complex style FRT-s+mt1 (safer). If you need to apply paragraph styling (e.g. line spacing), then I think you still need to do that another way (ms:FRT-s|mt1, if I remember correctly). The USFM standard is silent about whether milestones ought to be able to change paragraph styles.

A newer option (and another one that’s not explicitly mentioned within the USFM standard), is to use a categorized paragraph style. but this will also work:
\mt1 \cat big\cat* Big version of title

Styling for this would be applied to a paragraph style for cat:big|mt1
If you use a local style file, you can just include:

\Marker cat:big|mt1
\FontSize 36

All other properties will be inherited from the normal mt1 style.

by (1.1k points)

Related questions

0 votes
1 answer 5 views
We have traditionally NOT allowed lines to break in-word hyphens. But for this Jonah book we want to experiment with ... code snippet be tweaked for a narrower scope or something?
KimB 670 asked May 30
0 votes
2 answers 333 views
A vernacular translator wants to show a Hebrew letter at the beginning of each section in Psalm 119. The font they use ... want to have the first section heading be: א Alep John
anon084052 157 asked May 12, 2020
0 votes
2 answers 180 views
On scripture books the Two Column Layout' behaves as expected and indeed in the GLO of all other projects. But in this ... Export draft PDF ' in Pt works as expected. Any ideas?
anon095293 129 asked Feb 22, 2023
0 votes
2 answers 342 views
What's the syntax to print a range of verses from a chapter? The pop-up help covers a contiguous range, but not ... ,20-21 in the PTXprint output, no matter what I do
Paul 642 asked Jul 11, 2022
0 votes
1 answer 33 views
This is my problem: In the footnote, the translator provides the Hebrew word in source text and its range of meaning. The ... the size of the main font. How to solve this problem?
Y Mdu Niê 124 asked Mar 10
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,995 answers
5,661 comments
2,022 users