Skip to content

math rendering problem with \bar, \vec and possibly others #174

Description

@tosione

Describe the bug
When using math equations with \bar or \vec with subscripts, the equations are not rendered correctly in some situations.

To Reproduce
Type at least two variables with \bar or \vec and subscripts that have letters embraced by { }, and the rendering will fail.
In order to render correctly, only the first one could use subscript with { }.
If a space is used in front of the first subscript with { } it seems to render correctly.

Expected behavior
I expect all the formulas to be rendered correctly.

Screenshots
An array of examples of what works and what doesn't is shown in the following picture:

Image

Device

  • OS: Windows 11
  • Version 25H2
  • App Version 2.6.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions