Expected behavior of line and box formatting

This section lists the expected behavior of line and box formatting for some common cases.

Between these sections

Start

End

  • RH to PH

  • RH to RF

  • RH to PF

  • PH to RF

  • PH to PF

  • RH to PH

In the top section, or if that section is suppressed, at the top of the next visible section before the bottom section (including the bottom section).

In the bottom section, or if that section is suppressed, at the top of the next visible section.

  • RH to GH/D/GF

  • PH to GH/D/GF

In the top section, or if that section is suppressed, at the top of the next visible header section (RH or PH). If these sections are suppressed, the first visible GH/D/GF section.

In the last instance of the GH/D/GF on a page, or if these sections are suppressed, before the first footer section.

  • GH/D/GF to RF

  • GH/D/GF to PF

In the first instance of a GH/D/GF section on a page, or if these sections are suppressed, at the top of the first visible footer section (RF or PF)—provided that the section is not after the bottom section.

In the bottom section, or if that section is suppressed, at the top of the next visible section.

  • GH2 to GH3

In every instance of the GH2 section, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the first instance of the GH3 section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.

  • GH2 to D

In every instance of the GH2 section, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the first instance of the D section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.

  • GH2 to GF3

In every instance of the GH2 section, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the first instance of the GF3 section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.

  • GH2 to GF2

In every instance of the GH2 section, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the GF2 section that corresponds to the GH2 section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.

  • GH2 to GF1

In the first instance of the GH2 section in group one, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the end section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.

  • D to GF2

In the first instance of the D section in group two, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the end section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.

  • GF2 to GF1

In the first instance of the GH2 section in group one, or if that section is suppressed, at the top of any GH/D/GF section before the end section.

In the end section, or if that section is suppressed, at the top of the next visible GH/D/GF section. If these sections are suppressed, at the top of the first RH/PH/RF/PF.