MathView
One stop for all Math formula and Chemical equation rendering in Android
Install / Use
/learn @Nishant-Pathak/MathViewREADME
MathView
:heavy_check_mark: Support all types of math encoding ( MathML, TeX or AsciiMath etc) and chemical formulas.
:heavy_check_mark: Offline capability.
:heavy_check_mark: Lightweight (~150kb).
:heavy_check_mark: Fast rendering.
:heavy_check_mark: Easy to use.
:heavy_check_mark: Sample code MainActivity.java
Demo

Configured delimiters
- TeX, inline mode:
\(...\) or $...$ - TeX, display mode:
\[...\] or $$...$$ - Asciimath:
\`...\`
Installation
Add below lines to app's build.gradle
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
compile 'com.github.Nishant-Pathak:MathView:v1.1'
}
Usage
###In your layout:
<com.nishant.math.MathView
android:id="@+id/math_view"
android:layout_width="match_parent"
android:layout_height="wrap_content">
###In Activity:
@BindView(R.id.math_view)
MathView mathView;
@Override
protected void onCreate(Bundle savedInstanceState) {
...
// update the view as below
mathView.setText("`2+3 = 5`")
}
###Proguard-rules:
-keepattributes EnclosingMethod
-keep class com.nishant.** { *; }
Sponsership
Thank you for your interest in the project. If you find it useful, please contribute here to keep the development on
License
Copyright (C) 2016 - 2022 Nishant Pathak
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
399Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
workshop-rules
Materials used to teach the summer camp <Data Science for Kids>
