Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\bar doesn't work as expected #52

Closed
DenisSalem opened this issue May 18, 2019 · 4 comments · Fixed by #54
Closed

\bar doesn't work as expected #52

DenisSalem opened this issue May 18, 2019 · 4 comments · Fixed by #54

Comments

@DenisSalem
Copy link
Contributor

DenisSalem commented May 18, 2019

Hello there, I'm using the version 2.6.7

I try to use \bar to write complex number related equation.

\bar{z_1} = z_2

should produce something like

<math>
<mrow>
    <mover accent="true">
        <mrow>
            <msub>
                <mi>z</mi>
                <mn>1</mn>
            </msub>
        </mrow>
        <mo>&macr;</mo>
    </mover>
    <mo>=</mo>
    <msub>
        <mi>z</mi>
        <mn>2</mn>
    </msub>
</mrow>
</math>

instead I got

<math>
   <mrow>
       <mi>&#x00304;</mi>
       <mrow>
            <msub>
                <mi>z</mi>
                <mn>1</mn>
            </msub>
       </mrow>
       <mo>&#x0003D;</mo>
       <msub>
           <mi>z</mi>
           <mn>2</mn>
       </msub>
   </mrow>
</math>

Is there something I'm doing wrong?

@roniemartinez
Copy link
Owner

Hi @DenisSalem

The \bar is not implemented yet. It only uses the \bar inside the unimathsymbols.txt. I will look into it.

@DenisSalem
Copy link
Contributor Author

Thank you :)

@roniemartinez
Copy link
Owner

@DenisSalem I will be delaying this for a bit (and other issues) as I will be very busy for the next 2 weeks. I will be teaching high school and college students. Thanks!

@DenisSalem
Copy link
Contributor Author

roniemartinez added a commit that referenced this issue Jun 5, 2019
- Correctly show \bar (#52)
@roniemartinez roniemartinez mentioned this issue Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants