X
Home & Office
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to set the next style in LibreOffice and why you should

If LibreOffice is your office suite of choice, then you should know how easy it is to customize. One option is to define what style comes, which can make you life considerably easier.
Written by Jack Wallen, Contributing Writer
Hands typing on laptop
Aleksei Morozov/Getty Images

I've been using LibreOffice for a very, very long time. The reasons are numerous: it's open source, it works exactly how I want it to, and it's very easy to customize. One of the many customizations I take advantage of is the ability to define what style comes next.

Given that I'm an author of fiction, I tend to use just a bare minimum of styles (those which my publisher requires). In fact, there are only two styles I have to use: Heading 2, and Default Paragraph Style. I've even customized those styles to look exactly as I need them. Beyond the look of the styles, there's another option that I use, which defines which style comes next. 

Also: How to install the latest version of the free LibreOffice office suite

In other words, each chapter begins with a heading that uses the Heading 2 style. When I hit return after using that style, I need the next to be Default Paragraph Style (which I've also customized for a specific indent and justified alignment). 

I don't want to have to always select every style I use when writing a manuscript because my attention needs to be on the words, not the layout. If I had to continually select or adjust the styles, it would not only take me more time, but it would also knock me out of my flow. When I'm tearing through a story, I need as few distractions as possible.

And that's why I define the next style. Let me show you how.

How to define the next style in LibreOffice

What you'll need: The only thing you'll need is a running instance of LibreOffice. You can download and install LibreOffice for free on Linux, macOS, and Windows. I'll demonstrate on version 7.6, running on Ubuntu Budgie, but the process of defining the next style is the same, regardless of what platform you use.

With LibreOffice ready, let's define our next style.

1. Open LibreOffice Writer

This feature works within the LibreOffice Writer tool (which is the tool used to create word documents). If you're using Linux, you can open Writer directly from your desktop menu. 

Also: How to use different languages in LibreOffice

If you're using MacOS or Windows, you'll need to open the main LibreOffice tool and either create a new document or open a previously saved one.

2. Open the Style Editor

Before you open the Style Editor, make sure to select the style you want to edit. In my case, I would open the Heading 2 style, because I want to define Default Paragraph Style as the next style to be used. 

Also: How to customize the LibreOffice UI to best fit your style

Once you've selected the style you need to edit, click the Styles menu, and then click Edit Style. You can also use the keyboard shortcut of Alt-P (or Option-P on MacOS) to open the Style Editor.

The LibreOffice Style menu.

You can either use the menu or the keyboard shortcut to open the Style Editor.

Screenshot by Jack Wallen/ZDNET

3. Change the next style

Click on the Organizer tab and you should see the Next style dropdown. Click that dropdown and select the style you want to be used after the current style. 

Also: How to create a password-protected PDF with LibreOffice

In my case, I would edit Heading 2 and select Default Paragraph Style for the Next style. Once you've done that, click OK and you're done.

The LibreOffice Style Editor.

Changing the next style to be used after Heading 2 in LibreOffice.

Screenshot by Jack Wallen/ZDNET

Now, when I hit Enter on my keyboard, after using the Heading 2 style, Default Paragraph Style (which I have edited to fit my needs) will automatically be the next style.

This trick is a great way to make LibreOffice Writer a bit more efficient, so you're not taken out of your flow when the words are pouring out of you like questions from a curious child.

Editorial standards