Bug 137337 - libreoffice writer sub superscript with error if not number
Summary: libreoffice writer sub superscript with error if not number
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-08 13:56 UTC by fraborak
Modified: 2020-10-08 15:49 UTC (History)
0 users

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 fraborak 2020-10-08 13:56:20 UTC
Description:
when we write an equation with

Na^{+} or with _ or rsup or rsub
there is an error (reverse ?)
but not with
Na^{+1}

equation need a number but in chemistry, we need to write
SO rsup{2-} rsub{4}
without error

the reverse ? is even printed, so it's very painful


Steps to Reproduce:
1.insert equation
2.write Na_{+}

Actual Results:
reverse ?

Expected Results:
nothing, normal equation


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded
Comment 1 [REDACTED] 2020-10-08 14:32:49 UTC
"+" is math operator expecting arguments. Na^{"+"} should be the correct way. I'd assume this is not a bug but usage problem.
Comment 2 [REDACTED] 2020-10-08 14:44:26 UTC
This usage of text for operators (reserved words) is also described in LibreOffice Help - Entering Text at https://help.libreoffice.org/latest/en-US/text/smath/guide/text.html?&DbPAR=MATH

use: 

Na^{"+"} or NA^{{}+{}}
SO rsup{ "2-"} rsub{4} or SO rsup{{} 2- {}} rsub{4}
Comment 3 fraborak 2020-10-08 15:49:43 UTC
Thank you