Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

latext math error #191

Open
3 tasks
buzai opened this issue May 28, 2021 · 0 comments
Open
3 tasks

latext math error #191

buzai opened this issue May 28, 2021 · 0 comments

Comments

@buzai
Copy link

buzai commented May 28, 2021

What is the purpose of your issue?

  • Bug
  • Question
  • Other

Description

Provide as much information possible about the issue below

Bug Report

To Reproduce
Steps to reproduce the behavior:

      let richTextView = RichTextView(
            input: "[math]f ( x ) = \\left\\{ \\begin{array} { c } \\frac { e ^ { x } - 1 } { x } , x \\neq 0 \\\\ 1 , x = 0 \\end{array} \\right[/math]",
            latexParser: LatexParser(),
            font: UIFont.systemFont(ofSize: UIFont.systemFontSize),
            textColor: UIColor.black,
            isSelectable: true,
            isEditable: false,
            latexTextBaselineOffset: 0,
            interactiveTextColor: UIColor.blue,
            textViewDelegate: nil,
            frame: CGRect.zero,
            completion: nil
        )
        
        richTextView.frame = CGRect(x: 0, y: 100, width: 100, height: 100);
        self.view.addSubview(richTextView)

this math can right display

Expected behavior
A clear and concise description of what you expected to happen.

Version:

  • OS w/ Version: 14.5
  • RichTextView Version latest

Additional context, screenshots, screencasts
Add any other context about the problem here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant