If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to apply borders to TOC (on "text" level)?
As the topic says:
I have a TOC with hyperlinks to the headings in my document. If I look at a single TOC entry, then I'll see that such an entry utilizes the standard style "Hyperlink" as text-style, and the standard style "TOC x" as paragraph-style. I'd like to apply a border (box) to the TOC entries on text level (not on paragraph level)! Therefore I applied a red border box to the "Hyperlink" style, which indeed shows the red box in the preview, but non of the TOC entries show the box (also not after F9). If I click a TOC entry and use the style-inspector, I can even see the red box around "Hyperlink", which shows up to be the style used for text; but the box isn't showing up in the document?! What's wrong here? Kind regards, Chris |
#2
|
|||
|
|||
How to apply borders to TOC (on "text" level)?
The Hyperlink character style formatting (blue, underlined) is suppressed in
TOCs (unless you unlink the TOC field), so nothing you add that way will be displayed, and I don't think you can add another character style (it would be removed when you update the field). Why not just add the box to the paragraph formatting? If you include a Horizontal Inside border, you should get a similar effect. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Christian Schratter" wrote in message ... As the topic says: I have a TOC with hyperlinks to the headings in my document. If I look at a single TOC entry, then I'll see that such an entry utilizes the standard style "Hyperlink" as text-style, and the standard style "TOC x" as paragraph-style. I'd like to apply a border (box) to the TOC entries on text level (not on paragraph level)! Therefore I applied a red border box to the "Hyperlink" style, which indeed shows the red box in the preview, but non of the TOC entries show the box (also not after F9). If I click a TOC entry and use the style-inspector, I can even see the red box around "Hyperlink", which shows up to be the style used for text; but the box isn't showing up in the document?! What's wrong here? Kind regards, Chris |
#3
|
|||
|
|||
How to apply borders to TOC (on "text" level)?
Good evening Mrs. Barnhill.
Thank you for your quick reply - I just had some time to give it a try. Sadly the result isn't exactly what I was looking for. The problem is, that if I apply a border paragraph-wise to a style, then the border is affected by both: -) paragraph spacings before and after the paragraph -) line spacings of the style As you can imagine, I of course added some space between my entries in the TOC to make them more readable (= added spacings to the "TOC x" styles). As a result you will end up with very large boxes around the entries. To give you an idea what I'd like to achive, I'll post a link to a document which has said formating: http://ieg.ifs.tuwien.ac.at/~aigner/...s-template.zip In the zip file the document "thesis.pdf" has 2x links on page 3 ("Contents") with said red boxes around. I'd like to reproduce this formating in MS Word. If you (or someone else) would like to add a comment I'd be very grateful since this is the last open issue (otherwise the template looks already very neat ;-)). Kind regards, Chris "Suzanne S. Barnhill" wrote: The Hyperlink character style formatting (blue, underlined) is suppressed in TOCs (unless you unlink the TOC field), so nothing you add that way will be displayed, and I don't think you can add another character style (it would be removed when you update the field). Why not just add the box to the paragraph formatting? If you include a Horizontal Inside border, you should get a similar effect. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org |
#4
|
|||
|
|||
How to apply borders to TOC (on "text" level)?
Space Before/After in bordered text is placed outside the borders; the
"Distance from text" setting defines the distance of the border from the text . -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Christian Schratter" wrote in message ... Good evening Mrs. Barnhill. Thank you for your quick reply - I just had some time to give it a try. Sadly the result isn't exactly what I was looking for. The problem is, that if I apply a border paragraph-wise to a style, then the border is affected by both: -) paragraph spacings before and after the paragraph -) line spacings of the style As you can imagine, I of course added some space between my entries in the TOC to make them more readable (= added spacings to the "TOC x" styles). As a result you will end up with very large boxes around the entries. To give you an idea what I'd like to achive, I'll post a link to a document which has said formating: http://ieg.ifs.tuwien.ac.at/~aigner/...s-template.zip In the zip file the document "thesis.pdf" has 2x links on page 3 ("Contents") with said red boxes around. I'd like to reproduce this formating in MS Word. If you (or someone else) would like to add a comment I'd be very grateful since this is the last open issue (otherwise the template looks already very neat ;-)). Kind regards, Chris "Suzanne S. Barnhill" wrote: The Hyperlink character style formatting (blue, underlined) is suppressed in TOCs (unless you unlink the TOC field), so nothing you add that way will be displayed, and I don't think you can add another character style (it would be removed when you update the field). Why not just add the box to the paragraph formatting? If you include a Horizontal Inside border, you should get a similar effect. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org |
#5
|
|||
|
|||
How to apply borders to TOC (on "text" level)?
I can't agree on that.
If you try to apply to 2 consecutive paragraphs a border on paragraph level, then you'll see that the single horizontal line seperating both paragraphs is affected by the mentioned spacings, regardless of the settings made for the distance of the border from the text. This is to some extend logic, because actually you'd need 2x horizontal lines if you have spacing between 2 paragraphs and want the horizontal line(s) to stick close to the text. In practice you just have one line if you apply the border to a paragraph, that's why you will always have some spacing somewhere. That's why I'd like to apply the border on text-level, but it's unclear to me why this option isn't available for the style? Chris "Suzanne S. Barnhill" wrote: Space Before/After in bordered text is placed outside the borders; the "Distance from text" setting defines the distance of the border from the text . -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org |
Thread Tools | |
Display Modes | |
|
|