0 votes
257 views

I learned about controlling width of TOC columns from https://support.bible/12103/formatting-toc. This was helpful for professional-looking Front Matter. I discovered I could size the columns more precisely by setting the Left Indent Factor to a positive number and the First Line Indent Factor to a negative number. I've replied to that topic with details of what I did.

But tweaking the Indent Factors seems only to work for the complex \cat:toc styles. I can't seem to adjust column widths in two static tables in the Front Matter, which list the language's OT and NT book names. 

My tables in the screenshot are centred on the page but off-balance with each other. It would look much better if both tables had the same dimensions, but tweaking the Table Column styles (\tc1...\tc4) Left... and First Line Indent factors has no effect on the column spacing, and the two tables align very differently (whereas the cat:toc styles apply to all TOCs in the publication, I believe.

It would also look much nicer if the "gutter" between the two tables were centred, that is, if columns 1 and 3 were the same width. The long rendering of Revelation causes the NT table to look lopsided. 

Hmm, could I specify the tables as 2-column sections? With the second title as a single-column section? Don't know if this is possible in a Front Matter file.

Sample code for the tables:
\tr \tc1 Uakeken \tc2 Uak \tc3 O Uelhireng Tar Niate Uaia \tc4 OUNU
\tr \tc1 Kale Tapokis \tc2 KT \tc3 No Kereker Solomon \tc4 NKS

    

   

PTXprint by (670 points) | 257 views

2 Answers

0 votes

It seems you may have already found an answer to this question (looking at your other post), but YES, you can do 2-column layout of your contents tables. @mhosken managed to create what you're asking for in a recent typesetting job. Hopefully he can point you in the right direction on how to achieve this (automatically) from the Front Matter tab.

by (3.2k points)
Yes, @mhosken, the TOC here is exactly what I would like to see. Can you describe how to do it, please?

FYI, @Mark+P, the method I described in the "Formatting TOC" post for tweaking column widths in a TOC *does not work* for a static table; it seems only to work with the complex \cat:toc|tcX styles. I tried to add the indent factors to the "normal" \tcX styles but they had no effect. Am I missing something there?
0 votes
Here's how I did the two column table of contents shown by Mark:

\periph Table of Contents|id="contents"
\mt \zvar|contentsheader\*
\is Old Testament
\zgap|-18pt\*
\doublecolumns
\ztoc|ot\*
\singlecolumn
\is ~
\is New Testament
\zgap|-18pt\*
\doublecolumns
\ztoc|nt\*
\b
\ztoc|post\*
\singlecolumn

\periph Alphabetical Contents|id="alphacontents"
\is Alphabetical Order of Books
\zgap|-18pt\*
\doublecolumns
\ztoc|biba\*
\singlecolumn
\nopagenums
by (656 points)
Notice the \zgap|-18pt\* is used to pull up the blank line that is inserted between single and double column material. We do it before we transition so that it applies across the page rather than for just one column.
I'll be honest. I don't know why I needed the \is ~, but I did. That's production for you!

Related questions

0 votes
1 answer 226 views
I need to "span cells" in a table row, as specified in the USFM 3.0 spec document: Example from the USFM ... Local Front Matter file independent of the USFM encoding of a project?
KimB 670 asked Jul 12, 2024
0 votes
1 answer 172 views
My text includes tables. I want the print output to hide the table boundaries (gridlines).
anon421645 102 asked Jan 12, 2024
0 votes
1 answer 103 views
The PTXPrint project in question is constructed in the peripherals section using the following Selected Front Matter PDF(s) ... g. Roman) page numbers to the front matter PDF?
Alastair 102 asked Jan 15, 2025
0 votes
3 answers 191 views
I am using PTXprint to automatically generate the Table of Contents. However, the format is not exactly how we would ... ): Matthew Mat 100 Can this be accomplished in PTXprint?
rickarellanes 167 asked Aug 11, 2021
0 votes
2 answers 50 views
Hey All, Is there a way to make a table within a note? I want to put in a table so the translators can easily ... \ip Kꞌoa̱asꞌìn ꞌya-le̱ nga koanska-nile̱ nó ñokan kao̱ teño kꞌoa̱
Caleb R 186 asked May 16, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
3,037 questions
5,995 answers
5,661 comments
2,022 users