Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Posts
    117
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Keeping text together (Word 2000)

    I had a pagination issue today that I couldn't figure out. I had a lengthy paragraph at the bottom of the page. At the top of the next page was a one-row table with just two lines of text in it. I needed to keep the table on the same page as the preceding paragraph. However, I wanted to keep only the last two lines of the paragraph with the table so that the gap at the bottom of the page wasn't huge.

    I did the only thing I could think of, which was to insert a hard page break, but it was painful because it will come back to haunt me, plus it messed up the justification. What's a better option?

    Thanks for your help!

    - Linda

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    From the little I know of Word's formatting intricacies, "Keep with next" is an attribute of a (whole) paragraph, so I'd think the only way to achieve what you're after is to place the part of the paragraph you want kept with the table into its own separate paragraph. I guess you could fiddle spacing before in the new paragraph and spacing after in the original to make them look like (almost) a single paragraph when they didn't break apart at the end of a page.

    Alan

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Keeping text together (Word 2000)

    Microsoft has never duplicated WordPerfect's "block protect" feature, so the page break is the "best" (if not only) way to do what you want to do. True, you might have to change it later, but that's about all that's offered.

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    I wrote a little macro to achieve this - i wanted the text prefacing a table to remain with the table.
    The macro applies "keep with next" to the preface paragraph and all but the last row of the table. Works fine. I'll post the code in the VBA forum within an hour.

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Try This post

  6. #6
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Paragould, Arkansas, USA
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    I just tried this, and it seemed to do the trick:

    In the long preceding paragraph, where you feel comfortable with allowing a page break, on the right end of the chosen line, press the [ENTER] key. You do get a new paragraph.

    Now select the new "short" paragraph, and change the properties like this:
    <UL><LI>Indentation (including First Line) to "0"
    <LI>Spacing BEFORE to "0" -- That's the paragraph spacing at the top of the "short" paragraph
    <LI>Remove the blank at the beginning of the short paragraph (was the blank space between words before)
    <LI>Mark this "short" paragraph as "Keep With Next"[/list]Do similar changes to the original "long" paragraph properties:
    <UL><LI>Spacing AFTER to "0" -- That's the paragraph spacing at the bottom of the "long" paragraph
    <LI>Make sure "Keep With Next" is NOT selected.[/list]This sort of makes an invisible paragraph break towards the end of the long paragraph. If the page break is not needed, it should not be noticed, but the paragraph will break with "artificial" orphan lines if it has to. No "Hard" page needed. Your only area to sweat is if the length of the last line of the long paragraph gets changed!

    Errol

  7. #7
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Hi Errol:
    I couldn't follow this (perhaps I'm just not thinking today), not one where it acted like an invisible paragaph mark. Could you post an example?
    Thanks,

  8. #8
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Paragould, Arkansas, USA
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Phil,
    The attached Word doc has that "hidden" paragraph. If your "View" is set to see formatting marks, you'll see the <!post=pilcrow,308143>pilcrow<!/post> , otherwise you shouldn
    Attached Files Attached Files

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Hi Errol:
    I still must be missing something. All I see is that the "short" paragraph is formatted to "keep with next". However, it still appears as another paragraph. Did you mean to format the paragraph mark as hidden? I had tried that before & found it didn't seem to help with the problem.

  10. #10
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Paragould, Arkansas, USA
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Phil,
    I opened this attached Word file on another computer, and found the margin settings may have thrown things off. Could that be the case? I have set this file to default Word margins of 1" on each side. Well, it works on my computer! <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    I have added more explicit comments in the file, too.

    Errol
    Attached Files Attached Files

  11. #11
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Keeping text together (Word 2000)

    The original document worked fine on my computer too, it behaved exactly as you described,

    StuartR

  12. #12
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Thanks, Errol. The second document worked as you described. I don't know why the margin settings were different for the first document on my computer. I tried it with the margins that you had (.7"), 1", & 1.25", but couldn't bring the paragraph mark to the end of the line.
    Attached Images Attached Images

  13. #13
    2 Star Lounger
    Join Date
    Jul 2002
    Location
    Paragould, Arkansas, USA
    Posts
    194
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    There does seem to be a question of default side margins. But when Linda gets back to work from the weekend, we'll see if this will do the trick for her!


    Errol

  14. #14
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Keeping text together (Word 2000)

    Isn't the widows and orphans check box working for you.

    I would have expected that if the big paragraph includes the paragraph options for 'Keep with Next' and 'Widow/Orphan Control' and the document would pull the last two lines onto the next page automagically.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  15. #15
    2 Star Lounger
    Join Date
    Jan 2001
    Posts
    117
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Keeping text together (Word 2000)

    Errol,

    I didn't mean to disappear for so long; I sincerely appreciate the suggestions! I was able to get this to work as you suggested (thank you!), but one issue was not resolved. And that is that my text is justified. So, whether I use your method or insert a page break, that last line on the page before the paragraph mark (or the page break) is not justified when it should be justified like all the other lines. Can you suggest a way to fix that?

    Also, I didn't mention that my long paragraph has outline numbering embedded in the style, so I had to apply a different, unnumbered style in order to use your method.

    I haven't tried the macro suggestion in this thread. That's next....

    Thanks much for all the help!

    - Linda

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •