fast-reflexes / better-react-mathjax

MIT License
132 stars 16 forks source link

Unit vector sign does not work(shows) properly #69

Closed CoderKawsar closed 1 month ago

CoderKawsar commented 1 month ago

\hat{i} \widehat{i} \overline{i} \tilde{i}

All of these unit vector signs do not show vector signs correctly. All of these signs break in with the letter tittle(.)

fast-reflexes commented 1 month ago

Looks ok to me ...

  <div style={{ textAlign: "center" }}>
    <MathJax>
      {"$$\\hat{i}$$"}
      {"$$\\widehat{i}$$"}
      {"$$\\overline{i}$$"}
      {"$$\\tilde{i}$$"}
      {"\\(\\hat{i}\\)"}
      {"\\(\\widehat{i}\\)"}
      {"\\(\\overline{i}\\)"}
      {"\\(\\tilde{i}\\)"}
    </MathJax>
  </div>
Skärmavbild 2024-10-02 kl  19 50 21

Could you specify what's wrong and give me both a picture of what it looks like and provide the code?

fast-reflexes commented 1 month ago

@CoderKawsar please provide further input or I can't help you out.

CoderKawsar commented 1 month ago

I'm sorry, man. It's working perfectly now. The font was causing the problem. Changing to a math font resolves the problem.