What Fractions and Subscript Do in LibreOffice

Fractions are numbers written as one value over another — like ½ or ¾ — and subscript is text or numbers that sit below the baseline of regular text, like the "2" in H₂O. LibreOffice Writer and Calc let you format both of these in your documents and spreadsheets, though the method depends on which one you need and what you are working with.

Fractions are most useful when you are writing recipes, measurements, or technical documents where you need the traditional stacked look. Subscript is common in chemistry formulas, footnote references, or mathematical notation. LibreOffice gives you a few different ways to create each one, and some methods work better than others depending on your situation.

Key Takeaways

  • LibreOffice Writer can auto-format straightforward fractions like 1/2 into ½ if you turn on AutoCorrect in Tools > AutoCorrect Options.
  • You can manually format any text or number as subscript by selecting it, then pressing Ctrl+Shift+B or using Format > Text > Subscript.
  • The Insert > Special Character menu lets you find and insert pre-built fraction symbols for common fractions that do not auto-format.
  • Subscript formatting works the same way in Writer, Calc, and Impress, but fractions behave differently in spreadsheets than in word documents.

Auto-Format Fractions in Writer Using AutoCorrect

The fastest way to get fractions in LibreOffice Writer is to let the program do it for you. When you type 1/2, 1/4, 3/4, or a few other common fractions and then press Space or Enter, Writer can automatically convert them to the proper symbol — ½, ¼, ¾. This only works for a handful of fractions, but it is the easiest method if your document uses those common ones.

To turn this on, open the Tools menu and select AutoCorrect Options. In the window that opens, click the Localized Options tab. Look for the checkbox that says "Replace 1/2 with ½" or similar wording — the exact label varies by language. Check that box, then click OK. Now when you type 1/2 followed by a space, Writer replaces it automatically.

If you type a fraction that is not on the auto-format list — like 5/8 or 7/16 — it will stay as typed text. You will need to use one of the other methods below to format those.

Insert Fractions Using the Special Character Menu

For fractions that AutoCorrect does not handle, use the Insert menu to find the exact symbol you need. Open Insert > Special Character. A window opens showing hundreds of symbols organized by category.

In the Subset dropdown near the top, select "Fractions" or search for the fraction you want by typing it in the search box — try typing "fraction" or the numbers themselves, like "1/8". When you find the one you need, click it once to highlight it, then click Insert. The fraction symbol appears in your document at the cursor position.

This method works for any fraction that exists as a Unicode character, which includes most common ones. Less common fractions may not have a pre-built symbol, in which case you would need to type them as regular text or use a different approach.

Format Text or Numbers as Subscript

Subscript is simpler than fractions because any character can be subscript — you just select it and explore the formatting. Select the text or number you want to make subscript by clicking and dragging across it. Then either press Ctrl+Shift+B or go to the Format menu, select Text, and click Subscript.

The selected text shrinks and drops below the baseline. If you need to undo it, select the text again and press Ctrl+Shift+B a second time, or go back to Format > Text > Subscript to toggle it off.

This works the same way in Writer, Calc, and Impress. In Calc, subscript is useful for labeling columns or rows with chemical formulas or mathematical notation. In Writer, it is common for footnote markers or scientific text.

Create Superscript (the Opposite of Subscript)

While you are working with subscript, you may also need superscript — text that sits above the baseline, like the "2" in x². The process is identical to subscript. Select the text or number, then press Ctrl+Shift+P or go to Format > Text > Superscript.

Superscript is useful for exponents, trademark symbols, footnote numbers, and mathematical notation. You can toggle it on and off the same way you do with subscript — select the text again and press the same keyboard shortcut or menu option to remove the formatting.

Fractions in Spreadsheets (Calc)

In LibreOffice Calc, fractions behave differently than they do in Writer. If you type 1/2 in a cell, Calc usually interprets it as a division formula or a date, not as a fraction symbol. To display a fraction in Calc, you have two options.

First, you can format the cell as a fraction. Right-click the cell, select Format Cells, click the Numbers tab, and choose Fraction from the Category list. Then pick the fraction format you want — "# ?/?" for single-digit fractions, "# ??/??" for two-digit fractions, and so on. When you type 1/2 in that cell, it displays as a fraction.

Second, you can insert the fraction symbol directly using Insert > Special Character, just as you would in Writer. This puts the actual symbol in the cell rather than converting your input.

Keyboard Shortcuts for Quick Formatting

If you format subscript or superscript often, memorizing the keyboard shortcuts saves time. Ctrl+Shift+B toggles subscript on and off. Ctrl+Shift+P toggles superscript on and off. These work in Writer, Calc, and Impress without any setup.

There is no single keyboard shortcut for fractions because the method depends on which fraction you need. AutoCorrect handles common ones automatically, and the Special Character menu is the fallback for anything else. Some users create custom keyboard shortcuts for their most-used fractions through Tools > Customize, but that requires a few extra steps.

Frequently Asked Questions

Why does my fraction look wrong when I print it?

If you used AutoCorrect to create a fraction, it should print correctly. If you typed a fraction as regular text (like 1/2 without converting it), it prints as typed. Check that you are using the actual fraction symbol, not just the typed characters. Use Insert > Special Character to verify you have the right symbol.

Can I make a fraction that is not in the Special Character menu?

No — LibreOffice can only insert fractions that exist as Unicode characters. For uncommon fractions, type them as regular text or use a formula in Calc. In Writer, you can also create a custom fraction by typing the numerator, inserting a horizontal line, and typing the denominator below it, but that is more work than it is worth for most documents.

Does subscript work in all LibreOffice programs?

Yes. Subscript and superscript formatting work the same way in Writer, Calc, Impress, and Draw. Select the text, press Ctrl+Shift+B for subscript or Ctrl+Shift+P for superscript, and the formatting applies. The keyboard shortcuts are identical across all programs.

What if AutoCorrect is turning my fractions into symbols when I do not want it to?

Turn off the AutoCorrect option. Go to Tools > AutoCorrect Options, click the Localized Options tab, and uncheck the box for fraction replacement. You can also undo a single auto-correction by pressing Ctrl+Z when ready after it happens, without changing the setting.

Can I use subscript in cell formulas in Calc?

Subscript formatting does not affect how a formula calculates — it only changes how the text looks. If you want a formula result to display with subscript, format the cell after the formula is entered. Select the cell, explore subscript formatting, and the result displays in subscript without changing the calculation.