0 votes

I’d like to prevent \toc1 content from wrapping within its column.

  • Can I make TOC to fully fit the page margins, and/or change the column widths within the TOC?
  • I don’t seem to be able to change the font size for the \toc# styles - whatever font size I choose, they seem to be the same size.
PTXprint by (112 points)

4 Answers

0 votes

I realize that this is less than obvious… but to change the styling for the table of contents, you don’t want to change \toc# markers. Instead, you need to change the cat:toc|tr and cat:toc|tc1 markers as seen here:

by (2.6k points)

A final observation on TOC column widths:
I found that he TOC leaders actually made the most difference. I had chosen “None” in the beginning, then changed to dots. These are results (only leaders differ):
ScreenshotsTOCLeaders

0 votes

Thank you for the quick response. That’s very helpful, I was able to change the font and indents.
However I couldn’t see how to change column widths, or the table width - would that be possible somewhere?
This is the TOC as it is now, it seems to me that the first column shouldn’t really have to wrap (the document is a lectionary in a Bible Module):

by (112 points)

(post deleted by author)

I managed to produce this now, using both toc1 and toc2, and by tweaking cat:toc|tr indents, which changed the table width nicely. I’d have liked the font a little bigger, with the columns a little narrower, but this is good enough. Thank you!

0 votes

How can I put the chapter number for center but not in drop cap?
And how to adjust the bottom column of each pages?

Please give me a guideline.

by (106 points)

To not use Drop-Cap chapter numbers, you can turn on a feature (usually used for Psalms or Proverbs) to place the chapter number in the center:

If you don’t want any label at all (e.g. I have a Chaper label of “Psalm” in the image above) then replace the word “Psalm” with \ZWNBSP and it should work fine. Note that this will work on an entire book. If you only want specific chapter numbers to be centered, then look up the \cl marker.

Adjusting the bottom columns is a bit too hard to explain here, but there are some “Finalize Layout…” videos at this link: vimeo.com/showcase/9331905

[BTW: When need to ask a new question in future, it would be helpful if you start a new post, so that your message doesn’t get lost in another person’s thread.]

+1 vote

I discovered that finer control can be achieved by tweaking both Left Indent Factor and First Line Indent Factor for each toc column style. By using a negative number for First Line Indent that is smaller than the Left Indent Factor I could shorten the width of a columnd to tighten the white space around the cell contents. So I finally got my automatic TOC to look good. The Styles values I used are below the screenshot in case they're helpful, but I can not tell you how I came up with these figures... just many tries. My final result:

StyleLeft Indent Factor1st Line Indent F.
cat:toc|tc10.64-0.34
cat:toc|tc20.12-0.06
cat:toc|tc30.04-0.04

by (630 points)

Related questions

0 votes
2 answers
PTXprint Oct 5, 2021 asked by mnjames (1.8k points)
0 votes
2 answers
PTXprint Aug 31, 2021 asked by rickarellanes (166 points)
0 votes
1 answer
0 votes
3 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
2,648 questions
5,396 answers
5,069 comments
1,443 users