Ask Your Question

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

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

Sue in MN 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 close merge delete

2 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 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
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 456 times

Last updated: May 02 '17