Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When inserting a formula into LibreOffice, there is a whole lot of padding between it and other words. How can I modify the formatting of formulas to make the padding much smaller?

LibreOffice 3.3.1

share|improve this question
See Apache OpenOffice FAQ How do I change the spacing around my formula?. – Palec Oct 19 '14 at 23:22
up vote 9 down vote accepted

LibreOffice applies a default frame style named Formula to formula objects. It has AutoSize activated by default, and also a default padding. It should be sufficient to modify that frame style.

To do so, open the stylist using F11 and select the Frame Styles. It's the third button from left:

select frame Styles

Now, select the Formula style, right click and Modify:

modify formula style

Now, you can edit the details applying to every formula object in the current document, for example the space around the formula:

edit style

In addition, you could modify the formula object directly; under Wrap tab, it has some default spacing values.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.