<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=114493#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - In Math Formula the spacing around operators, numbers, identifiers etc should be adjustable"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=114493">bug 114493</a>
from <span class="vcard"><a class="email" href="mailto:vi@ut.ee" title="Vladislav Ivanistsev <vi@ut.ee>"> <span class="fn">Vladislav Ivanistsev</span></a>
</span></b>
<pre>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 <a href="https://www.w3.org/TR/mathml-for-css/#mo">https://www.w3.org/TR/mathml-for-css/#mo</a>, 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>