Skip to content

Math equation not rendering correctly #20

@amitanshugupta

Description

@amitanshugupta

Rendering some math equations using below code but not able to adjust the width of content as its displaying content out of the screen bounds

<MathJaxSvg fontSize={15} color="#000">
              {`<p>\\(\\frac{1}{2}(x+2)\\sqrt{x^2+4x+6} - 2 \\log |x+2+\\sqrt{x^2+4x+6}| + C\\)</p>`}
</MathJaxSvg>

Image

Can someone help me how can I display content in multiple lines if it exceeds screen size. I tried using font style, view style, binding MathJaxSvg inside a view with bounded width but not able to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions