Setting type in LibreOffice Writer
Typecast
LibreOffice Writer is a serviceable desktop publisher with more typography features than most users imagine.
Years ago, Elizabeth Mathias, an employee of Sun Microsystems, told me a story about StarOffice, the proprietary program that became OpenOffice.org, and later LibreOffice and Apache OpenOffice. According to Mathias, when the Writer module was first developed several decades ago, its programmers were told they would have to use it to document their work. As a result, they made sure that Writer was not simply a word processor, but a layout program as well – to the benefit of free software users ever since. In fact, although not complete, Writer's features are advanced enough that it should hardly be considered a word processor at all.
Admittedly, the features of Writer often go unnoticed. If you format manually, you might be completely unaware of them. Even if you use styles, you might not have noticed them fully. For most purposes, the average user hardly cares about the length of the line that separates the main body of text and a footnote or the spacing between a bullet and a list item. Most of the time, you can trust the code to have a default that is, if not perfect, at least good enough for your purposes.
However, if you want to enhance your document, the tools are waiting. Take, for example, the tools for setting up a header in a page style (Figure 1). Once a header is turned on, you can simply select Same content left/right and Same content on first page, and your header is set up.
If you want more control, you can give the header separate margins from the main text (Left margin and Right margin), adjust the space between the bottom of the heading and the main text, making it fixed (Spacing) or variable (Use dynamic spacing), or make the height of the header fixed (Height) or variable (Autofit height) as well.
What's more, that is just the first tab. Click the More button, and you can surround the header with a border or separate it from the main text with a signal line, while setting the style, thickness, and color, and the distance between the border or box and the header's contents. You can even customize a shadow to add a 3D effect, although I wouldn't recommend that feature unless you want a retro 1990s look (Figure 2).
And so it goes for every feature available in Writer. Page margins, tables, text wraps, tables of contents, superscript and subscript letters – almost every aspect has as much degree of choice as you can imagine. At times you might need some ingenuity to get the exact layout you want, but the actual limitations are few. You cannot, for example, create a list style that counts down from 10, but adding one manually is a rare and minor inconvenience at best.
Line Spacing, Kerning, and Hyphenation
Writers's customization tools include many features found only in layout programs. Like most word processors, Writer gives you default spacing between lines that are single or double spaced and work reasonably well for many fonts. However, for as many as a third of fonts, this default makes the text appear too light or too dark. When that happens, Writer gives you the alternative of clicking Indents & Spacing | Line spacing | Fixed to adjust the line spacing exactly as a professional publisher would (Figure 3).
Similarly, in some fonts, certain letter combinations make for awkward spacing, such as "Va" or duplicate letters such as "ff" or "tt" (Figure 4) A few fonts have ligatures – letter combinations redesigned as a single character – that can be inserted by clicking Insert | Special Character and making a selection. However, in LibreOffice, you can select Position | Pair kerning in a paragraph to have LibreOffice automatically attempt to improve awkward letter spacing.
Better yet, if you want complete control over the adjustments, you can create a character style that uses Format | Character | Position | Spacing to tweak the spacing between characters by increments of one-tenth of a point (i.e., 1/720th of an inch). Perfectionists can even create separate character styles to be used with different combinations of letters.
However, the tool that most separates Writer from its rival is probably its hyphenation controls (Figure 5). On the Text Flow tab of any paragraph style, you can set the number of characters that hyphenation places at the end or start of a line, as well as the number of consecutive hyphens permitted (two is the typographical convention).
Like most word processors, Writer will use these settings to create the best hyphenation it can manage as you type. The only trouble is, by the time you finish editing and revising, the hyphenation is no longer the best possible result. Fortunately, if you have a hyphenation dictionary installed for the language you are using, you can click Tools | Language | Hyphenation to check a document's hyphenation, positioning hyphens so they fall exactly where you want them (Figure 6). If a poor hyphenation break remains, you can either insert a break manually by pressing Ctrl+- (dash) or prevent a break by listing a word as never to be hyphenated in Tools | Options | Language Settings | Writing Aids. Note that neither of these manual tools functions unless a word falls into the hyphenation range for that paragraph style.
The Hyphenation tool is so useful that LibreOffice users should get in the habit of using it immediately after spell checking on every document. However, the Hyphenation tool is especially useful when you choose to have justified lines, on which the characters fill all the space between the left and the right margin. Left uncorrected, justified lines can leave unsightly irregular spaces either between words or characters, which is why many designers prefer left alignment. With the Hyphenation tool, however, you can usually rid your documents of the irregular spacing so long as you are willing to take the time. The only problem you are likely to have is a short final line in a paragraph, and you can adjust its appearance by setting the paragraph style to Alignment | Justified | Last line Left.
Shortcomings and Workarounds
LibreOffice Writers's tools are advanced enough that several publishers I know use it to lay out their books. I can also personally attest to the fact that LibreOffice can successfully replace FrameMaker for technical manuals and brochures.
All the same, from a typographer's viewpoint, Writer does have some shortcomings. For some reason, in the last few versions, you can only set line spacing by whole points, instead of one-tenth points, which may sound adequate but can prevent optimal line spacing. This change is all the more inexplicable because fields such as Font Size still allow the more exact line spacing.
More seriously, Writer does not automatically add many of the finishing details for the absolute highest level of typography, such as the use of ligatures to prevent awkward letter combinations or small capitals instead of uppercase letters, or case fractions instead of built-up fractions (e.g., 1/2 compared with
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.