A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Possible to create style that has different character formatting on multiple lines?



 
 
Thread Tools Display Modes
  #1  
Old December 22nd, 2005, 05:38 PM posted to microsoft.public.word.pagelayout
external usenet poster
 
Posts: n/a
Default Possible to create style that has different character formatting on multiple lines?

Is it possible to create a style such that the first line of the style
has one character formatting, but subsequent lines have a different
character formatting?

The case I am considering is a multiline title header, where only the
bottom line of the header should be underlined (but the whole thing
should be bold). The header is not broken up with paragraph marks, but
rather by wordwrapping or hard-returns line breaks.

This sort of formatting is common in legal documents.

  #2  
Old December 22nd, 2005, 09:15 PM posted to microsoft.public.word.pagelayout
external usenet poster
 
Posts: n/a
Default Possible to create style that has different character formatting on multiple lines?

On 22 Dec 2005 09:38:40 -0800, wrote:

Is it possible to create a style such that the first line of the style
has one character formatting, but subsequent lines have a different
character formatting?

The case I am considering is a multiline title header, where only the
bottom line of the header should be underlined (but the whole thing
should be bold). The header is not broken up with paragraph marks, but
rather by wordwrapping or hard-returns line breaks.

This sort of formatting is common in legal documents.


No, there's no way to define one style with multiple formats.

However, there are ways to accomplish the case you described. The
simplest is to define the underline as a paragraph bottom border. It
doesn't matter how many lines are in the single paragraph, the bottom
border will appear only below the last line. It will, however, always
extend from the left to the right of the text column (that is, the
left margin plus any left paragraph indent, and the right margin plus
any right paragraph indent).

Another possibility is a character style that consists of Default
Paragraph Format + Underline. You could manually apply this character
style to only the last line of the paragraph. However, this isn't
particularly stable, because automatic line breaks can change when you
open the same document on a different computer or print it to a
different printer. Thus you could wind up with one underlined word at
the end of the next-to-last line, or one non-underlined word on the
last line. Also, the underline could show up in a table of contents.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
  #3  
Old December 22nd, 2005, 10:45 PM posted to microsoft.public.word.pagelayout
external usenet poster
 
Posts: n/a
Default Possible to create style that has different character formatting on multiple lines?

Thanks--the paragraph border is one solution I had considered before,
but the appearance with the line extending all the way to the right
(rather than just the width of the text) is not acceptable. It sounds
like I'm going to continue to have to "manually" unapply the underline
for the non-final lines (that solves the TOC problem by having the
default for the style be underlined) and check to make sure the
wordwrap doesn't change when the document is finalized.

  #4  
Old December 23rd, 2005, 12:40 AM posted to microsoft.public.word.pagelayout
external usenet poster
 
Posts: n/a
Default Possible to create style that has different character formatting on multiple lines?

You can still use a bottom border if you adjust the width of the paragraph
using indents. Alternatively, you can apply a border to the text itself
using the EQ \x field. See http://sbarnhill.mvps.org/WordFAQs/Overbar.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"ajkessel" wrote in message
oups.com...
Thanks--the paragraph border is one solution I had considered before,
but the appearance with the line extending all the way to the right
(rather than just the width of the text) is not acceptable. It sounds
like I'm going to continue to have to "manually" unapply the underline
for the non-final lines (that solves the TOC problem by having the
default for the style be underlined) and check to make sure the
wordwrap doesn't change when the document is finalized.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word applies direct format on File open Uriel General Discussion 16 November 27th, 2005 07:22 PM
How do you end or "turn off" a character style while entering text Larry Root General Discussion 3 April 25th, 2005 03:29 PM
Keeping a hyperlink fresh Hari New Users 13 July 20th, 2004 06:34 AM
Problems with Style formatting terrapinie Formatting Long Documents 2 July 7th, 2004 06:18 PM
Changing Attributes of "No Style" Option Michele Formatting Long Documents 14 May 22nd, 2004 11:41 PM


All times are GMT +1. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.