Forum Discussion

Malatheon's avatar
Malatheon
Iron Contributor
Mar 22, 2022

Keep with next - if the next text is table does not work anymore

Hi, I ran into an issue, where it does not seem to be possible to keep title (single line of text) with the following table. My table title has a separate style attached to it that uses "Keep with next". This works perfectly if the following is another paragraph. But if what follows is the table, keep with next is not honored anymore. (Microsoft Word version 2202 on Windows x64). Has anybody else ran into this?

 

Also, when using print preview - the layout somewhat breaks as if Word was trying to honor keep with next and it just keeps jumping back and forth. I can provide more info and pics if it could be of any help.

 

Thanks for any hints!

  • Malatheon 

     

    In a quick test, I observed nothing strange here, using a built-in heading style and a table immediately below the heading paragraph. 

     

    Did you make sure that there were no blank paragraphs between the heading and the first table row? Click the ¶ icon on the Home tab to view all nonprinting marks. 

     

    If you want to, you can share a sample document which illustrates what you see.

  • Malatheon 

     

    In a quick test, I observed nothing strange here, using a built-in heading style and a table immediately below the heading paragraph. 

     

    Did you make sure that there were no blank paragraphs between the heading and the first table row? Click the ¶ icon on the Home tab to view all nonprinting marks. 

     

    If you want to, you can share a sample document which illustrates what you see.

    • Malatheon's avatar
      Malatheon
      Iron Contributor
      Hi Stefan, thanks for chipping in. I looked into it again on another machine - somehow it started working with no apparent reason. I will try with Windows 11 later today. At this moment, it started working as expected, go figure.
    • Malatheon's avatar
      Malatheon
      Iron Contributor

      Stefan_Blom OK, so I re-did the test under Windows 11 (22H2 22579.1) and the "keep with next" functionality is indeed broken. Here is a short clip demonstrating the issue. The table sticks together nicely, but the title does not. (on the link the clip is not compressed to heavily like on the gif below).

      https://www.screenpresso.com/=a1Otd

      • Stefan_Blom's avatar
        Stefan_Blom
        MVP

        Malatheon 

         

        I see the issue in your clip. Can you also share a sample document in Word format? You can upload it to OneDrive or Dropbox and post a "share" link in the thread.

Resources