<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Misalignment of formula with scaled braces in LibreOffice Writer"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113948">113948</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Misalignment of formula with scaled braces in LibreOffice Writer
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.1.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>trivial
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Formula Editor
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>post@adrian-zinke.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When using scalable braces on the left side of an equal sign, then the vertical
alignment of the equal sign is sometimes wrong.
You can workaround it by adding "phantom binom {}{}" to the formula. Then the
equal sign gets vertically centered.

Steps to Reproduce:
1. Create a new formula object in LibreOffice Writer
2. Type "sin left( x `+` %pi over 2 right  ) ~=~ cos( x )" into the formula
editor

Actual Results:  
Equal sign is not vertically centered.

Expected Results:
Equal sign should be vertically centered.



Reproducible: Always


User Profile Reset: No



Additional Info:
If you change the formula into "sin left( x `+` %pi over 2 phantom binom {}{}
right ) ~=~ cos( x )", the equal sign is placed correctly.
I assume, that there is something wrong with the positioning of the equal sign,
if scalable braces are found on the left side of the equal sign?
Locale: de
Module: TextDocument
OS: Windows 10
OS is 64bit: yes


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101
Firefox/57.0</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>