0

I'm writing a document where I don't use page breaks before starting a new section. This means that sometimes, a section will start in the middle of the page, while other times it will start at the top of the page. When the latter happens, I use \thispagestyle{plain} to avoid having a header with the section title followed by the section title again right after. I have to do this manually every time a section happens start at the top of a page. Is there a way to automate this process? Just so it's clear what I'm asking for, here's how it looks like with my header done with fancyhdr:

enter image description here

The header with the section title is right next to the... section title. By adding \thispagestyle{plain} for that page, I get the look that I want:

enter image description here

But I have to do this manually every time a section just so happens to begin at the top of the page. If I section begins in the middle of the page, it's fine, like this:

enter image description here

It's not a huge deal to have to manually set a plain page style every time a section starts at the beginning of a page, but I just wanted to know if there's a way to automate this process.

7
  • 2
    Why,why,why? This is an established typographic tradition going back centuries. Just select the running head type, to be distinctly different from the section title and font. Just check any book by a reputable publisher for examples. And no it is not possible to do what ou are asking using LaTeX, not easily in any case.
    – yannisl
    Commented Mar 3 at 17:43
  • I mean, that wouldn't get rid of the redundancy of having the section title written twice. Commented Mar 3 at 17:47
  • 1
    Done, thank you. Commented Mar 3 at 18:11
  • 2
    Echoing @yannisl's comments: I think you may be greatly overestimating the distraction caused by instances of the running header and a section title being adjacent.
    – Mico
    Commented Mar 4 at 3:40
  • 1
    Why do you believe the 'redundancy' to be a problem? Do you find it problematic when reading books yourself?
    – cfr
    Commented Mar 4 at 5:18

0

You must log in to answer this question.

Browse other questions tagged .