![]() |
|
#1
|
|||
|
|||
![]()
Can anyone show me the way? I have a TOC inserted, 2 levels based on HDG1 and HDG2. They represent Parts and Chapters. So far, it's looking fine, but I have more need if I can do it. I want no page number on HDG1 Part X and -- the big one I think -- I'd like a bookmarked text inserted beside the Part/Chapter. Example: Part 1: the beginning and Chapter 1: it all started here.
All the switch code I can find begins { TOC \b Chapter1 \h \z \u \t ... My toggled code so far is { HYPERLINK \L "_Toc381364723" That makes sense to me, but doesn't square with all the examples of switches I find around. How do I use the switches? And can I insert text alongside with a book mark (or am I only able to type it in with a switch)? Any help is appreciated. |
#2
|
||||
|
||||
![]()
To add text (to the TOC) that isn't present in the main body of the document, you can use a TC field. To exclude the page number for an individual entry, add the \n switch to the TC field. For more, see http://wordfaqs.mvps.org/TOCTips.htm.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
![]()
Thanks for the response. I found that earlier and couldn't make sense of it since my toggled code has "hyperlink" first inside the braces and all those examples start with "TOC." I am really confused. Do I ignore the hyperlink term and the '\l "_Toc...' ?
|
#4
|
|||
|
|||
![]()
None at all. I've pored over TOC Tip and Tricks and cannot make it work.
I have attached a doc showing my need. 1. inhibit the contents line so it doesn't show during update. 2. pull the bookmarked part titles onto the line "Part x." 3. pull the bookmarked titles on the line "Chapter x." 4. inhibit page numbering for the Part x items only. I have been having problems getting switches to work in my field codes. It's my first attempt. My chapters are bookmarked C01,C02, etc. The parts are P01,P02, etc. Seems simple enough. Any help will be appreciated. Attached Images |
#5
|
||||
|
||||
![]()
For the "Part" sections, use a TC field. The text within quotation marks determine what the field displays. You can use \L followed by a number (between 1 and 9) to specify a level in the TOC; by default, level 1 is being used. The \n switch omits page numbers. To the TOC field code, add the \f switch.
I'm attaching a simple example where the chapters have been created with the built-in headings and the Parts are added with TC fields. I'm using a custom style called Part Style to format the text added. To show/hide the TC fields, show/hide hidden text (which you can do by clicking the ¶ button on the Home tab). To show/hide the a large number of other fields, including the TOC field, use Alt+F9.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional Last edited by Stefan Blom; 03-01-2014 at 04:30 PM. |
#6
|
|||
|
|||
![]()
Thanks, Stefan. Here's what I tried:
{TC "Part I: The Beginning" \L 1 \n}Part I I F9 to save it. My TOC toggles to one line (looks like the TOC code) When I toggle it back, either my Part one is as it was or still in code form. I tried toggling to hide code and the whole thing reduces to one coded line again. What am I doing wrong? I cannot see it. I know this should be simple -- it's only code, but something here isn't allowing it's proper use. Thanks, Greg |
#7
|
|||
|
|||
![]()
No joy still. I'm just going to type it in a table. I'll revisit when I have another need.
Thanks so much for the help. It's good to have you guys here. Greg |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Marcebrown | PowerPoint | 5 | 03-02-2014 09:13 AM |
Can't See Bookmarks | bobmayo | Word | 21 | 06-04-2013 07:37 AM |
![]() |
savo | Word | 6 | 04-11-2013 11:04 AM |
![]() |
Niy | Word | 3 | 03-28-2012 12:18 AM |
Bookmarks for a PDF? | Ownaholic | Word | 0 | 10-30-2010 12:27 AM |