Ask Your Question
0

How can I add a manual column break without adding spacing before paragraph?

asked 2019-12-09 21:41:51 +0200

updated 2019-12-10 16:21:00 +0200

Hi, I have the following text:

Heading 1 - Column 1 title
Some regular content
Heading 1 - Column 2 title
Some regular content

I want to have this in 2 columns, so I set it to 2 columns.

I want the headings to start each column so I add a manual column break before the title for column 2.

I want all my Heading 1 (not only in this multicolumn section but in all my document) to have 0.5 cm of spacing "above paragraph" (top margin) so I set my Heading 1 style to Space before text: 0.5 cm.

This works but the columns are vertically misaligned.

How can I fix this?

Thanks in advance

edit retag flag offensive close merge delete

Comments

I just corrected my question. It was not "space before text" but "spacing above paragraph" in the Indents & Spacing tab from the Paragraph window.

alvarezp gravatar imagealvarezp ( 2019-12-10 16:21:45 +0200 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2019-12-10 07:32:04 +0200

It seems like a bug, that a paragraph that starts the first column in a section has a different actual top spacing compared to another paragraph of the same style starting the second column. Please file it.

In the mean time, if your headings always start a new page/column, you may simply reset the space above of the style to 0; otherwise, you possibly would do that manually for the selected headings, or introduce a child heading paragraph style inheriting from Heading 1, with the spacing above = 0, to use in such places.

edit flag offensive delete link more

Comments

Filed tdf#129304.

Mike Kaganski gravatar imageMike Kaganski ( 2019-12-10 07:48:47 +0200 )edit

I just tested the child header workaround and it works beautifully. Thanks!

Also, thank you for filing the bug. I see that you already did some tests. I will subscribe to it.

alvarezp gravatar imagealvarezp ( 2019-12-10 16:37:12 +0200 )edit
0

answered 2019-12-10 02:08:12 +0200

keme gravatar image

You could try to set the Heading 1 style to insert column break if you always want it to start a new column when you have columns set up. This should yield the same alignment as with manually inserted column break, but perhaps not always. See the text flow tab when you edit paragraph style.

This column break should have no effect when your page style does not use multiple columns.

edit flag offensive delete link more

Comments

That's clever! Considering that column breaks have no effect on non-column sections, always inserting them for certain use cases doesn't sound bad at all! The vertical misalignment still occur, though.

alvarezp gravatar imagealvarezp ( 2019-12-10 16:16:12 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-12-09 21:41:51 +0200

Seen: 84 times

Last updated: Dec 10 '19