Apache OpenOffice (AOO) Bugzilla – Issue 23698

equations are croped on top

Last modified: 2013-08-07 14:54:45 UTC

The equations are croped on OO.o 1.1. The top of the formulas is not displayed/printed/pdfed. The problem is temporarily solved by moving the formula one line down (pressing Enter) and back up (with backspace), but after doing that through the whole document some formulas get reset to their croped form once again. In the end there is allways a couple of formulas that aren't displayed right You can use this file as an example http://login.com.pt/~gustavo/oo/thesis1_0.sxw Let me know if I should test something else.

Created attachment 12022 [details] an example to ilustrate this bug...

By the way, this bug is as old as Star Office 5.2. I've been reporting it throuh the different versions of OpenOffice.org.

Reproducible with OOo1.1.1 on Win2k. Some formula object anchored "as character" is not displayed completely. Workaround: Adding a top margin of eg. 0.2 cm to all formula objects seems to cure the problem. This can be achieved by changing the value in the frame style "formula".

.

TL->MRU: Please have a look in this how serious it is and if it also affects printing to choose a target accordingly. Thanks!

I can confirm that it affects printing. Formulas are also cropped on the generated postscript.

MRU->TL: not pretty, but I guess that there are no resources available to fix it for OO 2.0... thus "OO later" target

I am sorry to see that this issue is not taken more seriously. Due to this one, OO.o is unusable for engineering/maths/physics/... students, which are not that few.

I just had a look at that document. I would guess that this document was not created with OOo 1.1.x. When you move the formula by click-drawing it down, releasing it, and move it up back to the original position, the cropping is gone. I cannot confirm that printing a page with cropped formulas does show the cropping. I printed page seven, and formulas (2.14) and (2.15), although cropped on screen, look good in the printed page. (OOo 1.1.1 on Windows XP) vq->gach: Please vote for issue 972, that is really a stopper for scientific writing.

vq, This document was written on OO 1.1 on linux (1.0 wasn't even usable for formulas) but the bug is reproducible on windows as well. I think this one is really a stoper. I will vote for it as you suggest.

vq->gach: Yes, I can definitely confirm the cropping when the formulas are displayed on screen, but not when printed. (using OOo 1.1.1 on WindowsXP) I can now also confirm that the pdf output is cropped, this makes the document essentially useless, but moving the formulas down and up, as decribed before cures this problem on screen and in the generated pdf. Possibly there was a problem with OOo 1.1 generating formulas that might be fixed with OOo 1.1.1. Please try 1.1.1, I inserted "sqrt {1-u^2 over c^2} over sqrt {1 -v^2 over c^2}" in a new formula in your document, and it is not cropped.

gach->vq: My experience is that moving the formulas solves the problem _temporarily_ . If you keep on working on the document the problem will come back and once you solve it at a place it appears somewhere else. After a lot of struglling my master thesis still ended up with a couple of cropped formulas. I will post the final document, which is a good test for this bug. (I started with 1.1 and ended with 1.1.1 IIRC, but I'll confirm this later)

vq->gach: I wrote my PhD thesis (also physics) in OOo 1.1.1. Something like 160 pages, hundreds of formulas and lots of pictures/drawings. I had a lot of problems, yes, but never saw a cropped formula. I'm puzzled.

gach->vq: Maybe it's worth mentioning that I wrote the document from scratch on OO.o for linux and only used linux for editing it. Also this may depend on the font one is using. I'll post some more info tonight when I can access the documents. Regards Gustavo

Update: - The document was written on OO.o 1.1.0 on Linux - With this document on 1.1.2 Win32 the problem persists. One can drag the formula down and up again to fix it, but that makes the problem appear on a previoulsy not cropped formula. In the end you can never fix the whole document - The problem appears on the exported PDF file just like it is seen direclty on OO.o Writer Regards Gustavo

This link http://login.com.pt/~gustavo/oo/thesis1_0.sxw is uptodate for an example document. Regards Gustavo

Hi, I may have found a work around for this bug: add ^{stack{~ # ~}} at the top of the equation, exemple you have the equation: R = { v cos(%theta) }^2 over c^2 which get croped on the top, then make it: R = { v cos(%theta) }^2^{stack{~ # ~}} over c^2 It will still be croped. BUT the croped part will be the white stack....(fell free to add as many #~ in the stack as you want!) It is a once per equation to do job... Bruno D.

of course you read: R = { { v cos(%theta) }^2 } ^{stack{~ # ~}} over c^2 ^ ^ my mistake. Bruno D.