Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2018, 12:41 PM
zloebhouston zloebhouston is offline Is it possible to set styles to NOT have a page break when following certain styles? Mac OS X Is it possible to set styles to NOT have a page break when following certain styles? Office 2016
Novice
Is it possible to set styles to NOT have a page break when following certain styles?
 
Join Date: Feb 2018
Posts: 1
zloebhouston is on a distinguished road
Default Is it possible to set styles to NOT have a page break when following certain styles?

Hi there,



I'm hoping someone can explain to me how to handle the following scenario using Microsoft Word.

I have three paragraph styles set up, as follows:

- Chapter (H1)
- Section (H2)
- Body

I want each *Chapter* to start a new page, so I've set the style to automatically insert page break before. I also want each *Section* to start a new page, so I've also set that style to automatically insert page break before.

However, at the beginning of each chapter, I don't want the first section header to insert a page break, otherwise the "chapter" header would be on a page by itself.

For an example of what I mean, see linked photo below (lines denote page breaks)

Thanks in advance!


Last edited by Charles Kenyon; 02-25-2018 at 02:05 PM. Reason: Mark as solved
Reply With Quote
  #2  
Old 02-24-2018, 06:41 AM
slaycock slaycock is offline Is it possible to set styles to NOT have a page break when following certain styles? Windows 7 64bit Is it possible to set styles to NOT have a page break when following certain styles? Office 2016
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

This is not possible by using any of the settings available for styles. In fact, its probably best not to use the page break before property at all if you can help it.

You can achieve what you want to do by inserting next page section breaks at appropriate points.

<next page section break>
H1
H2

<next page Section break
H2

<Next page Section break>
H2

<Next page section break>
H1
H2

<Next page section break>

etc
Reply With Quote
  #3  
Old 02-24-2018, 09:40 AM
Charles Kenyon Charles Kenyon is offline Is it possible to set styles to NOT have a page break when following certain styles? Windows 10 Is it possible to set styles to NOT have a page break when following certain styles? Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Do NOT insert section breaks for this! This will incredibly complicate your document.

Do use the page break before setting for H1. Set the style for following paragraph to be H2 which does not have page break before.

Set up a second level 2 heading, say H2a, which does have page-break-before set. If you want, set a keyboard shortcut for that. The default keyboard shortcut for H2 is Ctrl+Alt+2. Since the only time you would be using H2 is when it follows H1, you could use that keyboard shortcut for H2A.

Understanding Styles in Microsoft Word
Why use Microsoft Word’s built-in heading styles? by Shauna Kelly
Reply With Quote
  #4  
Old 02-24-2018, 09:59 AM
Charles Kenyon Charles Kenyon is offline Is it possible to set styles to NOT have a page break when following certain styles? Windows 10 Is it possible to set styles to NOT have a page break when following certain styles? Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by slaycock View Post
This is not possible by using any of the settings available for styles. In fact, its probably best not to use the page break before property at all if you can help it.***
I'm sure you are trying to help.
That is appreciated.

Wrong, wrong, wrong.

In my response, I showed how to do it with styles.

The page-break-before setting is the best way to insert a page break in most instances. Manual page breaks (Ctrl+Enter) are not that great.

Quote:
Originally Posted by slaycock View Post
***

You can achieve what you want to do by inserting next page section breaks at appropriate points. ***
Section breaks are very useful, but they carry a boatload of formatting with them. Using them when not needed makes documents much harder to edit. They are never needed to just create a page break. If a page break needs to be done manually (not a good idea) Ctrl+Enter will do it.

Each section break carries with it:
  • three headers
  • three footers
  • page number formatting
  • landscape/portait orientation
  • margins
Most of the time there is no reason to be adding that to your document. Many of the formatting, header/footer and page numbering problems seen here are caused by unneeded section breaks.

If your solution isn't causing you problems, you have been lucky, so far.

Sections / Headers and Footers in Microsoft Word (Ribbon Versions)

I do not want to discourage you from posting here and sharing your ideas and experience. That is what these forums are about. Many of your posts here have been very helpful to people. Again, I recognize that you are trying to help and appreciate that.

There are a number of good reasons to use a Section break:
  • Use an even- or odd-page section break to set text up for duplex printing.
  • Restart page numbering
  • Change page numbering from Roman numerals to Arabic
  • Change column layout within the document (done automatically)
  • Change the headers and footers in ways not allowed by the other header and footer settings or use of a StyleRef Field.
    Header/Footer Settings Recap
  • Change page orientation (automatic)
  • Change page margins when a change of paragraph indents will not do
    Margins and Indents in Word
  • Insert multiple watermark images (related to headers and footers)
See also Numbering Front Matter (Ribbon).
Reply With Quote
  #5  
Old 02-24-2018, 10:01 AM
slaycock slaycock is offline Is it possible to set styles to NOT have a page break when following certain styles? Windows 7 64bit Is it possible to set styles to NOT have a page break when following certain styles? Office 2016
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

Quote:
Do NOT insert section breaks for this! This will incredibly complicate your document.
I use them extensively. I find they add useful structure to a document.

The solution provided by Charles will also work well but if you plan to use an automatically generated TOC you will need to be aware that H2 and H2A will need to be assigned the same outline level and that you may need to specifically include the H2A style using the \t switch if the TOC field.
Reply With Quote
  #6  
Old 02-24-2018, 10:29 AM
slaycock slaycock is offline Is it possible to set styles to NOT have a page break when following certain styles? Windows 7 64bit Is it possible to set styles to NOT have a page break when following certain styles? Office 2016
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

Hi Charles.

Some context for you.

The current document I'm working on is 200+ pages long. I produce this type of document on a routine basis.

Within the document there are 6 chapters with 20+ sections in each chapter with lots of tabulated data and figures.

There is an overall TOC in the first chapter and each module has its own TOC, List of Tables and List of Figures.

To comply with requirements each page must show the chapter and section so we use stylerefs in the heading (In fact the headers and footers are comprosed entirely of style ref or other ref fields.

The document has to be rendered to pdf for its final use. When you do this you will find that stylerefs in the heading of the pdf do not render correctly if you do not strictly segment the document using section beaks which do not link to the previous section. This is a 'feature' that is acknowledged in the Micreosof help for the style ref field.

I accept and understand that it is wise to advise caution about the potential issues/advantages that section breaks may bring if you choose to use them. But to say that using them is wrong, is in itself wrong.

I use them extensively. They are incredibly useful precisely because

Quote:

Each section break carries with it:
three headers
three footers
page number formatting
landscape/portait orientation
margins
Reply With Quote
  #7  
Old 02-24-2018, 02:00 PM
Charles Kenyon Charles Kenyon is offline Is it possible to set styles to NOT have a page break when following certain styles? Windows 10 Is it possible to set styles to NOT have a page break when following certain styles? Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Thank you for providing the context.
At some point, I expect you will need the following:
Word Toolkit for Advanced Management of Headers and Footers

Quote:
The document has to be rendered to pdf for its final use. When you do this you will find that stylerefs in the heading of the pdf do not render correctly if you do not strictly segment the document using section beaks which do not link to the previous section. This is a 'feature' that is acknowledged in the Micreosof help for the style ref field.
I would be very interested in seeing the documentation on the StyleRef field of which you speak.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two much blank space between names of styles in the Styles Pane PereCasanellas Word 0 10-06-2017 03:47 AM
Question about spacing between multi-level bullet styles (and other styles) SDwriter Word 0 09-26-2017 09:39 AM
Is it possible to set styles to NOT have a page break when following certain styles? different hyperlink-styles in two superior styles -SLIME- Word 1 04-09-2016 08:51 AM
Is it possible to set styles to NOT have a page break when following certain styles? How to Restore Page Margin Page Number Styles in Word 2010 cheech1981 Word 5 11-15-2011 04:16 AM
Is it possible to set styles to NOT have a page break when following certain styles? Quick Styles Set saved but it doesnt appear at the styles list! Pedro77 Word 3 10-15-2011 05:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft