Hi guys, I was thinking. What is the most viable way of drawing math symbols (fractions, vector arro...
l
Hi guys, I was thinking. What is the most viable way of drawing math symbols (fractions, vector arrows, powers, root symbols etc) on Android preferably in Compose? I’m aware of LaTeX but I want to be able to use custom font + have it performant a bit. For context, I have a math test app and I want to give it a fresh look and looking for a way to write questions in some other way instead of LaTeX
😶 3
c
You can use custom fonts with LaTeX… AFAIK it's quite fast? Why do you not want to use it
l
Because of Jetpack Compose. I may not found a good library for that but the one I have creates a drawable which I have to set in an imageview.
Hmm I found this library: https://noties.io/Markwon/ and maybe I’ll use it and wrap in an AndroidView()
i
Markwon seems to be using https://github.com/noties/jlatexmath-android under the hood, maybe you can even use it directly