Ask Your Question

Math: How can I change libreoffice math command font?

asked 2018-05-19 14:20:05 +0200

Ibnu Halim Mustofa gravatar image

updated 2018-05-19 19:55:13 +0200

LibreTraining gravatar image

Hi all, need help. The command fonts in my libreoffice math are display not properly. I change the system font (ubuntu OS) but still look not good. I want, it looks normally, better than now. How can I fix this? Thanks in advance

image description

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-05-19 19:54:50 +0200

LibreTraining gravatar image

When asking questions, always state the version of your OS and LibreOffice.
Because you are using Ubuntu I am guessing it is a recent version.
Apparently the Ubuntu 18.04 update messed-up some font metrics.
See: Bug 117411 - Font metrics slightly changed after update OS to Ubuntu 18.04
The way to fix that issue is to go back to the previous version of the fonts before they changed them.

So one option is to replace the font in your system.
The code font used in Math is Liberation Mono.

You can also use the LibreOffice Font Replacement Table to change to a working font.
I changed it to a mono font I have called Gintronic.

Options Font Replacement Table
image description

The result shows the Gintronic font is now in use.
image description

If this solves your issue, please check the checkmark at left.


edit flag offensive delete link more


Oh sorry, I have been used Ubuntu 18.04 and Libreoffice version 6.0. Thanks, I did it and now it's solve. Thanks

Ibnu Halim Mustofa gravatar imageIbnu Halim Mustofa ( 2018-05-21 23:30:43 +0200 )edit

answered 2018-05-19 15:09:25 +0200

ajlittoz gravatar image

updated 2018-05-19 18:13:09 +0200

Math component in LibreOffice does not behave like others. It is a bit outdated and did not really keep up with the others. Amongst others, its integration is questionable. For example, its defaults are not set through Tools>Options but with a bunch of menu items independent from each other (shame).

To customise various Math aspects, consider the Format menu.

  • Fonts controls which fonts are used in various circumstances
  • Font Size defines the relative sizes of formula elements
  • Spacing sets spacing between elements
  • Alignment sets the alignment of elements within the formula (the formula itself is an atomic object when back in Writer)

IPORTANT! Set your preferences before composing a formula. Once again, Math has not been updated for long and it seems to format its formulas from what is current in Format at time of formula creation. Changing things afterwards is quite difficult.

Read the Math Guide for more information.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more


I think the question here is about the font used by the editor, not the resulting formula. In that case, I know of no way to change the monospaced font used by Math, or even its size.

RGB-es gravatar imageRGB-es ( 2018-05-19 17:20:19 +0200 )edit
Login/Signup to Answer

Question Tools



Asked: 2018-05-19 14:20:05 +0200

Seen: 76 times

Last updated: May 19