We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

How to put a chapter number on a different line from the heading [closed]

asked 2017-05-02 23:31:02 +0200

Sue in MN gravatar image

updated 2021-06-11 09:11:01 +0200

Alex Kemp gravatar image

I'm trying to figure out how to use the outline numbering function in Writer to number a chapter and then to put the chapter number on a different line from the heading.

I would like to put the number on the first line of the chapter in a large novelty font. Then I'd put the chapter heading on the second line in the standard heading 1 font. I've figured out how to automatically generate the number using outline numbering. I've also figured out how to make the number a different character style from the chapter heading. What I can't figure out is how to put the number and the heading on different lines.

Can it be done?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2021-06-11 09:11:10.478461

3 Answers

Sort by » oldest newest most voted

answered 2017-05-02 23:54:01 +0200

RGB-es gravatar image

Just put a line break (Shift+Enter) between the number and the text of the heading: on recent versions of LibO (I think it started with 5.0, but I'm not sure) the line break will be ignored by the TOC.

image description

I do this all the time ;)

edit flag offensive delete link more


That did it. Thanks.

Sue in MN gravatar imageSue in MN ( 2017-05-07 23:51:56 +0200 )edit

answered 2019-09-29 23:31:05 +0200

tympan gravatar image

You mean it can't be automated in the stylesheet.

What a ghastly mess of a wordprocessor. After all these years and you can't have 'Chapter 1' separated by vertical whitespace from the chapter title (not just a blank line, I need 17mm of space) — and automate it? I have to type it by hand every chapter? This is 2019, not 1969.

Time to go back to LaTeX.

edit flag offensive delete link more


This no novel answer but a request. Transfer it into a comment after my answer below. I'll then update it. Yes, it is 2019 and a small feature has been added allowing automation.

ajlittoz gravatar imageajlittoz ( 2019-09-30 07:57:44 +0200 )edit

answered 2017-05-02 23:46:43 +0200

ajlittoz gravatar image

The only way I know is rather a workaround than a solution.

You need to insert a newline as the first "character" of your heading. Unfortunately, you can't type a newline (which is shift+return) in the After box of the Tools>Outline Numbering... settings. You must type it explicitly in your title.

This has adverse effects on formatting and you will need to manually tune the left margin and first line indent in Heading x paragraph styles.

Also, the newline will be transferred to the table of contents, creating misalignments there.

If this answer helped you, please accept it by clicking the check mark to the left and, karma permitting, upvote it. If this is what you expected, close the question, that will help other people with the same question.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-05-02 23:31:02 +0200

Seen: 1,412 times

Last updated: Sep 29 '19