Bug 110445 - Need to write single ended bracketsd
Summary: Need to write single ended bracketsd
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
5.3.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-30 23:33 UTC by Mark
Modified: 2017-07-31 04:43 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 Mark 2017-07-30 23:33:08 UTC
Description:
It is frequently required to use a single ended bracket such as a brace or line, but the formula editor requires you to use brackets in pairs, which changes the meaning. For example to indicate a function evaluated at a point use a single line to the right followed by the point variable in subscript. Currently this is not possible. Doing anything in bra-ket notation is not possible. 

Steps to Reproduce:
1. Open formula editor
2. Try to create a single ended bracket such as ...  partial over { partial x^i } right lline _p
3. Drop head to desk

Actual Results:  
The entire formula gets messed up if you dont include both brackets.

Expected Results:
We need a single sided bracket, any type of bracket, any side, anywhere. The insistence on brackets appearing in pairs makes an invalid assumption that they should (notationally) always be paired (try doing anything in bra-ket notation for example).


Reproducible: Always

User Profile Reset: No

Additional Info:
Although only one bracket will want to be displayed, the interpreter still needs to pair these off as they are required to scale. A couple of options for this could be

1. Begin with the declaration of the bracket that should appear to the right
single right lline { partial over { partial x^i }} _p

2. Another might be to write them both but hide the first
hidden left lline partial over { partial x^i } right lline  _p

3. Bra-ket notation is common enough to be given special treatment i.e. have special constructs for these items




User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063
Comment 1 Jean-Baptiste Faure 2017-07-31 04:43:30 UTC
You can already do that, add left none at the beinning of your formula:

left none partial over { partial x^i } right lline _p 

You can use "right none" if you need only the left side. It works for other types of brackets.

Closing as WorksForMe.

Best regards. JBF