[Libreoffice-bugs] [Bug 136251] Upright (non-italic) lowercase greek symbols displayed as italic in Math

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 29 13:47:55 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136251

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |rb.henschel at t-online.de

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
It is not a bug.

Math formulas are based on MathML. There one character identifiers are usually
rendered in italic in browsers. To get an upright character you need to set
explicitly the attribute mathvariant="normal". That is attribute 'nitalic' in
LibreOffice.

LibreOffice has the setting 'GreekCharStyle' with modes 0, 1 and 2  to
determine how the character set 'Greek' is used.

Mode 0: all greek characters are upright
Mode 1: all greek characters are italic
Mode 2: uppercase greek characters are upright, lowercase are italic

The default setting is Mode 2. Your expected behavior corresponds to mode 0.

Depending on the mode, LibreOffice adds the attribute mathvariant="normal" in
MathML to force the character to upright, and adds no attribute in case italic.

In case character set 'iGreek' the attribute mathvariant="normal" is never
written, so that all characters are italic.

The character set 'iGreek' was introduced to make it easier for the user to
force italic in case the user has set Mode 0. '%iALPHA' is essentially the same
as 'italic %ALPHA'.

To change the mode go to Tools > Options > LibreOffice Advanced.
There click on button 'Open Expert Configuration'.
Search for 'GreekCharStyle' (without quotations marks).
Double-click the item and enter '0' (without quotation marks) for to get
upright %beta.
OK, OK, OK. Restart LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200829/992180a8/attachment.htm>


More information about the Libreoffice-bugs mailing list