[Libreoffice-bugs] [Bug 114493] In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable
https://bugs.documentfoundation.org/show_bug.cgi?id=114493 Jean-Baptiste Faurechanged: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #5 from Jean-Baptiste Faure --- Thank you very much Regina for your answer. So setting as NEW. Best regards. JBF -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114493] In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable
https://bugs.documentfoundation.org/show_bug.cgi?id=114493 --- Comment #4 from Regina Henschel--- This is a valid request. Unfortunately type setting of formulas are not strongly standardized. But the values in the operator dictionary are suitable as default in LibreOffice. https://www.w3.org/TR/MathML3/appendixc.html. There exists some bugs about spacing, e.g. 66279, 107379, 104194. But they are not really duplicate. I think we should keep this issue for the spacing aspects in StarMath and the related UI. Of cause import from and export to MathML has to be implemented at the same time. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114493] In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable
https://bugs.documentfoundation.org/show_bug.cgi?id=114493 Jean-Baptiste Faurechanged: What|Removed |Added CC||rb.hensc...@t-online.de Severity|normal |enhancement --- Comment #3 from Jean-Baptiste Faure --- Hi Regina, I think you are the right person to evaluate this enhancement request :-) What do you think ? Best regards. JBF -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114493] In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable
https://bugs.documentfoundation.org/show_bug.cgi?id=114493 --- Comment #2 from Vladislav Ivanistsev--- Sure, one can use "`" or "~". Yet, take a look on the implementation in mathml. For the mo element there is an "lspace" and "rspace" parameters. Both depend on the form of an element -- prefix (eg "("), infix (eg "+") or postfix (eg ")". Your solution is equivalent of adding manually mspace element in mathml. A more elegant solution rely of the https://www.w3.org/TR/mathml-for-css/#mo, where several types are defined: mi identifier mn number mo operator, fence or separator mtext text mspace space ms string literal Using these types it is possible to define and redefine difference space values in a more flexible way than it is currently done in LO formula editor. Herewith, padding is set only in the following cases: mo[largeop="true"] {font-size:1.3em; vertical-align:-0.1ex;} mo[form="infix"], * + mo {padding:0 0.3ex;} mo[form="prefix"] {padding:0 0 0 0.5ex;} mo[form="postfix"] {padding:0 0.5ex 0 0;} mo[fence="true"], mo[separator="true"] {padding:0;} I propose distinguishing fences and separators from other operators, and allow adjusting space around them in a separate way. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114493] In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable
https://bugs.documentfoundation.org/show_bug.cgi?id=114493 Jean-Baptiste Faurechanged: What|Removed |Added CC||jbfa...@libreoffice.org --- Comment #1 from Jean-Baptiste Faure --- (In reply to Vladislav Ivanistsev from comment #0) [...] > Mark that the spacing around operators + and = too small. It's a matter of taste. You can add small or normal spaces around + and = if you want : code : f(2`+`2) `=` 4 or code : f(2~+~2) ~=~ 4 Best regards. JBF -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs