Apply paragraph formatting styles in LibreOffice Writer by accessing the Styles sidebar with F11, right-clicking a style like "Text Body," and selecting Modify. Adjust line spacing, indentation, and numbering under the Indentation or Numbering tabs to ensure consistent document structure for .docx files without manual character-by-character editing.
Accessing the Styles Sidebar
The most efficient way to manage paragraph formatting is through the Styles deck. You can open this panel by pressing F11 on your keyboard or navigating to Format > Styles in the menu bar. Once open, click the fourth icon from the left at the top of the sidebar, which resembles a page with a star, to switch to the Paragraph Styles view. This interface displays all available styles, ranging from default headings to custom definitions you may have created previously.
Instead of manually changing font sizes or line heights for each paragraph, you assign these predefined styles. This approach ensures that if you decide to change the heading size later, every instance of that heading updates automatically. It also maintains compatibility when exporting to Microsoft Word formats, as styles map more reliably than raw character attributes.
Modifying Existing Styles
To adjust an existing style, such as "Text Body" or "Heading 1," locate it in the list. Right-click the desired style name and select Modify from the context menu. This opens the Style Settings dialog box, where you can configure specific parameters. Do not apply formatting directly to selected text using the toolbar buttons alone; instead, modify the underlying style definition. This prevents style inconsistencies and keeps your document clean.
Configuring Line Spacing and Indentation
Line spacing is one of the most critical aspects of professional document layout. In the Modify Style dialog, navigate to the Indents & Spacing tab. Here, you will find the Line Spacing dropdown menu. Select Proportional, At least, Exactly, or Multiple depending on your needs. For standard academic or business documents, setting it to 1.5 lines or Double is common. If you choose Exactly, specify the point value, but be aware this may cut off descenders in larger fonts.
Indentation controls how text aligns relative to the margins. On the same tab, use the Before Text and After Text fields to set horizontal indents. The First Line checkbox allows you to indent only the first paragraph of a block, which is standard for prose. Be careful not to confuse paragraph indentation with character-level tabs. If you need hanging indents for bibliographies, use the Hanging option in the First Line settings rather than manual spacing.
If you require more granular control over vertical space between paragraphs, consider how this interacts with global document settings. For broader adjustments across headers and footers, you might also want to review How to Change Spacing in LibreOffice Header, Page, and Body. However, for individual paragraph blocks, the style modification method remains the most robust solution.
Setting Up Paragraph Numbering
Numbered lists are essential for technical documentation and legal texts. To apply automatic numbering, go to the Numbering tab within the Modify Style dialog. Check the Apply box to enable numbering. You can then choose the Numbering type, such as 1, 2, 3 or A, B, C. Define the Starting at number if the sequence should not begin at one.
For complex structures, such as decimal numbering (1.1, 1.2), you may need to create a new style based on "Text Body" and link it to a specific outline level. Ensure that the Outline Level is set correctly in the Organizer tab if you intend to use this style in a table of contents. Incorrect outline levels will cause numbering to reset unexpectedly or fail to appear in generated indexes.
Applying Styles to Your Document
Once your styles are configured, applying them is straightforward. Place your cursor in the paragraph you wish to format or select multiple paragraphs. Click the desired style name in the Styles sidebar. If you do not see your customized style, ensure the filter in the sidebar is set to show all styles, not just those currently in use. You can toggle this view using the dropdown arrow at the bottom of the sidebar.
For quick application, you can use keyboard shortcuts. Assign custom shortcuts to your frequently used styles via Tools > Customize > Keyboard. This speeds up workflow significantly, especially in long documents. Avoid mixing manual formatting with style-based formatting. If you must override a style temporarily, use Ctrl+Shift+F to clear direct formatting and revert to the style definition.
Exporting to .docx Format
When saving your document as a .docx file, LibreOffice attempts to map its internal styles to Microsoft Word equivalents. Go to File > Save As and select Word 2007-365 (.docx). Before saving, check the Options button in the save dialog. Under the General tab, ensure that Edit settings and View settings are configured appropriately. Some advanced LibreOffice features, like certain shading options, may not translate perfectly. Test the exported file in Word to verify that line spacing and numbering remain intact.
If you encounter issues with text wrapping or spacing after export, refer to guides on managing workspace views, such as Creating a Full-Page Workspace in LibreOffice Writer, to ensure you are viewing the document in Print Layout mode, which reflects final output accurately.
Frequently Asked Questions
Why does my numbering restart at 1 after a page break?
This happens because the paragraph style's outline level or list continuation settings are incorrect. Ensure that the style is linked to the correct outline level in the Organizer tab and that you are not inserting a manual page break that resets the list context. Use continuous section breaks if you need to maintain flow across pages.
Can I copy a style from another document?
Yes, you can import styles using the Styles sidebar. Click the Manage Styles button (the last icon on the right), then select Import. Choose the source document, and select the styles you wish to bring into your current project. This is useful for maintaining brand consistency across multiple projects.
How do I remove direct formatting without losing the style?
Select the formatted text and press Ctrl+Shift+F. This clears all character-level overrides while preserving the paragraph style assignment. Alternatively, right-click the style in the sidebar and choose New based on selection if you want to save the current look as a new style rather than reverting.
What is the difference between proportional and exact line spacing?
Proportional spacing scales with the font size, ensuring readability regardless of text size. Exact spacing forces a fixed distance between baselines, which can clip characters if the font is too large. Use proportional for body text and exact only for precise layouts like forms or tables.
Why are blue squiggly marks appearing in my numbered list?
These are spell-check indicators, often triggered by hyphens or unusual capitalization in list items. You can ignore them by right-clicking and selecting Ignore, or add the term to your dictionary. For persistent issues, see How to Prevent Blue Squiggly Marks Every Dash in LibreOffice Writer? for troubleshooting steps related to grammar checking interference.