0 votes
412 views

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 (128 points) | 412 views

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 (3.2k 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 (128 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 (670 points)

Related questions

0 votes
1 answer 13 views
Is there a style for the TOC title? I would like to add some blank space before the TOC title, and haven't found a way to do that. Jeff
jeffh 1.4k asked Dec 5, 2025
0 votes
2 answers 25 views
Is there a way to put the TOC at the end of a publication? That is the standard in French publications. Jeff
jeffh 1.4k asked Dec 5, 2025
0 votes
2 answers 300 views
I'm typesetting a single-book Genesis publication. We want to display 7 "Major Section" labels in the TOC, and the ... , adding page numbers to it as the final typesetting step?
KimB 670 asked Jun 26, 2024
0 votes
2 answers 351 views
I would like to create a ToC for a Bible Modules. Ideally I'd like the ToC to be automatically generated for each \s ... 't simply based on \toc1/2/3 entries from different books?
mnjames 1.9k asked Oct 5, 2021
0 votes
2 answers 183 views
With the new version 1.9.3, the generated TOC is now placed first before the included Front Matter PDFs. With 1.9 ... Matter PDFs. How can we get the previous behavior back again?
rickarellanes 167 asked Aug 31, 2021
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