Bug 116239 - Equation shows inverted question mark for simple equation
Summary: Equation shows inverted question mark for simple equation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium trivial
Assignee: Not Assigned
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
Reported: 2018-03-06 15:04 UTC by Nguyen Damien
Modified: 2020-07-03 02:48 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

equation display error example (11.39 KB, application/vnd.oasis.opendocument.text)
2018-03-06 15:06 UTC, Nguyen Damien

Note You need to log in before you can comment on or make changes to this bug.
Description Nguyen Damien 2018-03-06 15:04:56 UTC
The equation "M^{+}" does not get displayed properly in LibreOffice 6.0 and 5.4.

Steps to Reproduce:
1.Open new document
2.Create new equation with the following text: "M^{+}"

Actual Results:  
The document displays "M" followed by the superscript "+¿" (ie. + followed by an inverted question mark)

Expected Results:
The display should show "M" followed by the superscript "+"

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
The following equation text displays properly: "M^{+1}"

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Comment 1 Nguyen Damien 2018-03-06 15:06:08 UTC
Created attachment 140391 [details]
equation display error example
Comment 2 Jacques Guilleron 2018-03-07 14:35:50 UTC
I reproduce with
LO Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL
also with
LO Version ID : 235ab8a-3802056-4a8fed3-2d66ea8-e241b80
so probablly inherited from OOo.

Suggestion : M^+{} 
but this is only a workaround.
Comment 3 Julien Nabet 2020-07-01 15:54:41 UTC
The inverted "?" shows LO expects something after the "+".
I don't know the Math syntax but are we sure it's a bug? Is there some official doc?
Comment 4 Michael Warner 2020-07-02 23:32:44 UTC
This help page:


Only shows examples of numbers being used in the exponent,  but it doesn't explicitly list a specific set of allowed or disallowed characters.