compose-richtext icon indicating copy to clipboard operation
compose-richtext copied to clipboard

Support LaTeX ?

Open phucynwa opened this issue 2 years ago • 3 comments

I've just found this awesome library. I love your attempt.

I hope that compose-richtext will support LaTeX soon.

phucynwa avatar Dec 11 '21 13:12 phucynwa

Rendering LaTeX would be an almost impossible task for any Android library alone. I don't think we will have that kind of ambitious goal anytime soon. If we are talking about a small subset of LaTeX like math equations, that'd be something we can look into. I mean not the parsing of a math syntax but providing necessary builders to write a generic math function.

buildFormula {
  pow(a, 2) + pow(b, 2) eq pow(c,2)
}

would render something like

image

halilozercan avatar Dec 11 '21 17:12 halilozercan

@halilozercan Yes. I wish richtext-commonmark will support LaTeX syntax like Markwon library. I hope I can use this function soon. Thank you.

phucynwa avatar Dec 12 '21 09:12 phucynwa

请问现在支持LaTex了吗

leon2017 avatar May 18 '23 05:05 leon2017