Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adjusting Text Width in TOC

Status
Not open for further replies.

doneirik

Technical User
Nov 23, 2007
30
NL
Hi,

I need to format some text in the TOC (MS Word). (I wanted to attach a file to this but didnt figure out hoe to do it)

Problem: some entries in my TOC span over more than one line, like this one "7.5.2 VALIDATION OF PROCESSES FOR PRODUCTION AND SERVICE PROVISION."

After the line break, the 2nd line is not indented like the first one, i.e. the beginning of my 2nd line lines up with the chapter number. Annoying.

I have been looking at the style TOC1...TOC3 and the different formats but I cannot figure out which parameter to change.

Any suggestions?

best regards
d.
 
Your styles should have a hanging indent.

If you want the page number to show clearly while keeping the text to the left you might as well put a right indent to the paragraph (by the style, of course) and have a right-bound [is this the correct word?] tab push the page number further to the right than the border of the text.
Example: Page margins are 2cm each, ToC paragraph has a right-bound tab of 17cm and a right indent of 3cm.
Then paragraph's text would be from 0 to 14 cm, but page number would sit at 17 cm (due to tab).

Personally I use a style called 'BaseToC' where all ToC-styles depend on. In 'BaseToC' would be what I described above. So if page margins change only this style would have to be changed to have a nice and consistent ToC.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top