Bug 104959 - The plus and minus operators should have the same width
Summary: The plus and minus operators should have the same width
Status: RESOLVED DUPLICATE of bug 103740
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
5.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-28 14:01 UTC by Frédéric Buclin
Modified: 2016-12-28 18:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Buclin 2016-12-28 14:01:14 UTC
When writing equations with the default font used on Linux for formula (Liberation Serif), the + and - operators do not have the same width, making systems such as

3 x + 5 y = 22
8 x - 3 y = 16

to not look well aligned when writing:

left lbrace matrix{
alignr 3 x + 5 y # {} = {} # alignl 22 ##
alignr 8 x - 3 y # {} = {} # alignl 16
} right none


IMHO, the font used by default should have operators +, - and · take the same width, or the formula editor should compensate the width difference.
Comment 1 V Stuart Foote 2016-12-28 16:44:34 UTC
Actually rather than Liberation Serif the font in use is probably OpenSymbol.

Work on bug 103740 will replace OpenSymbol's over weight plus sign.

Meanwhile, if you use another font with Math symbol coverage (e.g. STIX, Asana Math, Noto Sans Symbols, or DejaVu Math TeX Gyre) you would probably have more appealing layout.  Done from Tools -> Options -> Fonts: Apply replacement table check box and setting a replacement for OpenSymbol.  

STIX glyphs offer pretty good alignment.

*** This bug has been marked as a duplicate of bug 103740 ***
Comment 2 Frédéric Buclin 2016-12-28 17:59:29 UTC
I just downloaded and installed the STIX 2.0 fonts from http://stixfonts.org/, and I don't see any improvements if I replace Liberation Serif by STIX Two Math. Maybe am I missing something.
Comment 3 V Stuart Foote 2016-12-28 18:07:12 UTC
No, you'd replace OpenSymbol with STIX--formula editor uses OpenSymbol for all its symbol elements.
Comment 4 Frédéric Buclin 2016-12-28 18:24:24 UTC
Ah ok, now it works. Thanks a lot! :)