https://bugs.documentfoundation.org/show_bug.cgi?id=104749
V Stuart Foote <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected],
| |[email protected]
Blocks| |39750
Resolution|--- |WORKSFORME
Summary|poor formatting of a very |poor formatting of formula
|simple formula |node using "over" element
--- Comment #3 from V Stuart Foote <[email protected]> ---
(In reply to bruno.binet from comment #2)
> I can reproduce here on LibreOffice 5.1.4, but I have a workaround (not
> elegant, but...). If you add some empty superscripts, you get correctly
> aligned terms:
>
> 1 over {2 %sigma sup{}} + 1 over a sup{} + 1 over %sigma sup{}
>
> By the way, it works also with italic symbol:
>
> 1 over {2 %isigma sup{}} + 1 over a sup{} + 1 over %isigma sup{}
>
No the better way to do this in not with the sup{} superscript syntax which
inserts additional vertical space in all the nodes. Instead, add the spacer "`"
to the %sigma. So formula becomes
1 over {2 %sigma} + 1 over a + 1 over {`%sigma}
This forces layout calculation of the %sigma node onto the same baseline as the
other nodes when used with and over element. And, actually find need for the
spacer to be reasonable, and that this is a WORKSFORME or INVALID.
But I guess there is a case to be made that the logic for nodes using "over"
element should account for baseline.
> I don't know if it is a font problem or not. I agree that this a a high
> priority issue (happens also in roots by the way). I also agree that the
> greek symbols should be italic by default in equations.
It is not a font issue, although there are nicer fonts with more consistent
metrics than our OpenSymbol--personally I like both Styx Two Math and Asana
Math are much cleaner/more complete fonts. Bug
The 5.1, 5.2, and 5.3 builds have corrected handling of the GreekCharStyle
stanza in Expert Configuration so setting that to mode 2 gives the more typical
Greek capitals normal, with Greek lowers Italic.
And, for master/5.4.0 the Greek symbols have been set to mode 2 by default.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=39750
[Bug 39750] [META] General Math formula editor improvements
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs