One column title on two column page style

If I create a two column page style document, and I would like the title (running chapter heading) on the beginning of the document to be one column, how do I do that?
What I am trying to work on is a whole book with number of chapters and subtitles and so on. So this is not going to be needed on the first page of the document only. But I will create more page styles, since I don’t see how else I could have different headers… Anyway, that’s not a problem. Problem is to have the title in one column while the page style is two columns. If I select the title and insert a new section, it still remains in two column not one.

LO version:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@

Format your book in pages which contain only 1 column (full page).
Insert your heading (still full page orientated). After that insert a 2 column section.
Edit the text in the 2 column section.
At the end of the section: Leave the section and use the full page orientation. Insert the following heading. Then insert another 2 column section and so on…

Thank you. But that would be a lots of manual work. But if there is no other way then it is how it is, I guess.

Please improve your question by editing it (= modify it, don’t answer with a comment). For that, click on the icon to reveal the various tool and pick the “pencil” icon.

  • mention OS name, LO version (all 4 numbers) and save format
  • What is your “title”?
    Is it the book title or running chapter heading (the dedicated word for chapter “titles”)?
    If it is the book title, go for First Page page style in 1-column. This page style is perhaps ill-names because it is intended for the very first page of a document which is usually the cover. It automatically switches to *Default Page Style on page break.

    If it is chapter heading, there is no other choice than configuring the chapter page style for 1-column and typing chapter contents in 2-column section. You can’t insert a 1-column section in a 2-column page because sections are constrained inside a column of the page style.

You can select/copy a (numbered) heading and a rudimentary 2 column section and define it as an AutoText. When your 2 column text is finished so leave the section and insert the AutoText.
Probably @ajlittoz has a better how to?

1 Like

No, AutoText is really a nice tool to insert repetitive complex constructs. Unfortunately, it is difficult to export adequately crafted AutoText entries unless you care to save them in a dedicated .bau file. This file can then be installed anywhere, for instance in Templates directory (when OS/desktop provides one, like Linux) and make Tools>Options, LibreOffice>Paths AutoText entry point onto it.

PS: I think I’m going to file filed a bug report because page style section column handling is not the same as section (when a section is embedded in another one: you can have a full width section in the middle of an n-column section).

tdf#159166

1 Like

I didn’t see how AutoText could be helpful here. I tried to select the two column section and one column heading and add it to AutoText, then later to insert that AutoText and the inserted text was all one column. But even if it would be the same (2 column text and 1 column heading), it’s not that useful in my case because the whole book is typed out already. It just needs formatting.

Let me tell you the implementation detail explaining this (I don’t say that it means that it can’t change - just some info). Technically, when you insert a section into another, the outer section gets broken into two pieces, and the inner is (let me emphasize it again: in implementation) the child of the page frame, not of the outer section frame. This means, that outer section geometry does not affect (limit) the inner one; but page geometry still limits both.

1 Like

Thanks @mikekaganski for clarification.

It is not clear what you mean by “running chapter heading”. Do you want that the same title appears on all pages which belong to that title? In that case use a field in the header. The field will automatically adapt, when the next title appears on a page.

No, not that. I know about that. I mean to have each chapter title in single column instead of 2 columns. Text underneath the title should be in 2 columns as I already set it up with Page Style.

In case the title is the first text on the page, you can put the title into a frame, which has the width of the two columns together. You can style the frame to not use border and padding, and use the paragraph style which you would use in the body text area.

OK, would that frame push the rest of the two column text automatically below, and certain number of mm or pt from the border of the frame?

IMO, in case when an upper level element is one-column, and a lower-level element is two-column - as is the case here, where a title is a higher level in the outline than the main text - it is correct to have page 1-column, and sections 2-columns. It is even logical from layout point of view. Consider a short chapter - say, 20 lines of text. In two columns, it should be 10 lines each. A title before it, and a title after it, frame this chapter’s text; in the document, it looks like a title, then its content (formatted however is needed), then the next title. And the chapter text, framed like this, can be automatically balanced to take distribute itself evenly in the section.

Now consider the same situation, but let’s say that the page is 2-column, and the title section is 1-column. There goes a section with a header. Then the text continues without any sections, 20 lines down to the page in a single column, because it didn’t fill it yet. Then goes another section with the next title. But the page height is not complete yet; so why would the text start distributing itself into the other column? It haven’t reached it yet.

IMO, it’s a correct and wanted behavior, as it is now. And as @ajlittoz mentioned, the number of sections is the same anyway.

I tried the frame thing and it seems that could be one way of doing it. And it seems like an easy enough way, because the frame flows with the paragraph. Thank you for the suggestion!

But regarding the suggestion to have the whole text as a section with two columns is in my case a lots of work since the whole book is typed out already. What needs to be done is the layout. Two column layout. So if I set the Page Style in two columns I have it almost all done already. Just to insert the frames (to get a single column) with titles and maybe in some places to insert column breaks and have the last page columns evened out.

That’s how my brain is working because I spent few decades doing layout in professional publishing software. How things work now maybe makes sense in case you are typing the text now and in the same time you are doing the layout. I don’t know if anyone is ever doing it that way to be honest. Especially not the writers. They are thinking about what should they write, not about how that should look like once the book is printed. Everyone is doing his part of the work.

Yes, set the wrap to ‘None’. You can set the spacing to the surrounding text in the ‘Wrap’ tab of the frame properties too or make the frame height enough to contain the distance.

If the frame is not the top content of the page, it will not work. The text from the first column will continue in the second column above the frame. But I guess, that a top-level heading will start at a new page anyway.

I personally would go with one-column page and two-column sections. Such organization fits better to the content and is better usable with the Navigator. The effort of introducing it now is only one-time.

Ok - then what about: put all text into a two-column section first, then put headings into one-column sections?

Of course, a proper support for section style would help a lot…

1 Like

That’s more work too. A lot actually. With Page Style it’s automatic.

I will play with that and see how it goes. The thing is that sometimes the frame won’t be at the top of the page. Or, if no other choice, I’ll have to lay it out that way. Because it’s still way much faster than any other solution I see at the moment.

How’s that? One more step - instead of setting page style, you select all, insert section, and set its columns.

It’s interesting how this could be more work compared to e.g. frames, which are external things…

Because I need to use Page Styles for different headings for each chapter. So it wouldn’t even work I think. Can the section flow over from one Page Style to another?