[Solved] How to insert subchapter name (Heading 2) in header

Writing a book, Automating Document Production - Discuss your special needs here

[Solved] How to insert subchapter name (Heading 2) in header

Postby DavideAndrea » Thu Aug 23, 2018 1:47 am

I am writing a technical book.
On the left side header, I inserted the page number and the chapter name; no problem.
But on the right side header, I need to insert the name of the sub-chapter (Heading 2). How do I do that?

For example, if page 41 contains the "1.3 Resources" subchapter of the "Introduction" chapter, I'd like to see this
Code: Select all   Expand viewCollapse view
(left edge)|40                1 Introduction|(spine)| 1.3 Resources       41|(right edge)


Thanks.
Last edited by robleyd on Fri Aug 24, 2018 2:02 am, edited 2 times in total.
Reason: Tagged [Solved] [robleyd, Moderator]
OpenOffice 4.1.1 on Windows Vista
DavideAndrea
 
Posts: 10
Joined: Thu Aug 23, 2018 1:35 am

Re: How to insert the subchapter name ("Heading 2") in heade

Postby RoryOF » Thu Aug 23, 2018 8:22 am

Try /Insert /Fields /Other : Document tab, Type: "Chapter", Format "Chapter name" and set level to "2"

This may or may not show the value in the header on the actual first page of the Chapter; I cannot remember. In my case I use a special "Chapter Page" Page style, where the Heading 2 line is dominant on the page and does not need to be repeated in a Page Header.

 Edit: Some helpful hints are at
[Tutorial] Page styles and headers/footers 
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29294
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: How to insert the subchapter name ("Heading 2") in heade

Postby DavideAndrea » Thu Aug 23, 2018 4:12 pm

RoryOF wrote:set level to "2"


Ah! That's the part I missed. Thanks! That did it.
OpenOffice 4.1.1 on Windows Vista
DavideAndrea
 
Posts: 10
Joined: Thu Aug 23, 2018 1:35 am


Return to Advanced Uses

Who is online

Users browsing this forum: No registered users and 0 guests