All Projects → judemanutd → KaTeXView

judemanutd / KaTeXView

Licence: MIT license
KaTeX View for android

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to KaTeXView

React Native Linkedin
🔗 React-Native LinkedIn, a simple LinkedIn login library for React-Native or Expo with WebView and Modal
Stars: ✭ 180 (+318.6%)
Mutual labels:  webview
React Native Webview Messaging
✉️ Send/Receive data between React Native app and WebView
Stars: ✭ 251 (+483.72%)
Mutual labels:  webview
WebViewNativeBridge
WebView bridge for android
Stars: ✭ 35 (-18.6%)
Mutual labels:  webview
Vscode Kanban
Kanban board for Visual Studio Code.
Stars: ✭ 191 (+344.19%)
Mutual labels:  webview
React Native Webview Invoke
Invoke functions between React Native and WebView
Stars: ✭ 211 (+390.7%)
Mutual labels:  webview
katex-rs
Rust bindings to KaTeX
Stars: ✭ 91 (+111.63%)
Mutual labels:  katex
Android Advancedwebview
Enhanced WebView component for Android that works as intended out of the box
Stars: ✭ 2,186 (+4983.72%)
Mutual labels:  webview
Webview-unity-3d-2017.3-or-higher-
Webview unity 3d 2017.3 or higher - can be open website url on unity3d or open Html5, html and js on unity offline
Stars: ✭ 18 (-58.14%)
Mutual labels:  webview
Cargo
🚂🚋🚋 A browser with almost no UI.
Stars: ✭ 221 (+413.95%)
Mutual labels:  webview
vue-js-bridge
vue-js-bridge for Vue.js
Stars: ✭ 41 (-4.65%)
Mutual labels:  webview
Android Youtube Player
YouTube Player library for Android and Chromecast, stable and customizable.
Stars: ✭ 2,510 (+5737.21%)
Mutual labels:  webview
Recaptcha
[In]visible ReCaptcha v2 for iOS
Stars: ✭ 208 (+383.72%)
Mutual labels:  webview
Google-Docs-for-Mac
Native Google Docs app for Mac
Stars: ✭ 33 (-23.26%)
Mutual labels:  webview
Os Fileup
Helper app to understand how to upload files and do basic image/video processing in hybrid android apps.
Stars: ✭ 190 (+341.86%)
Mutual labels:  webview
rn-webview-rpc
Add RPC capabilities to a React Native WebView component
Stars: ✭ 25 (-41.86%)
Mutual labels:  webview
React Native Turbolinks
React Native adapter for building hybrid apps with Turbolinks 5
Stars: ✭ 177 (+311.63%)
Mutual labels:  webview
qml-webchannel-websockets
QML examples for WebChannel and WebSockets.
Stars: ✭ 26 (-39.53%)
Mutual labels:  webview
WebView-Advanced
A collection of android webview hack
Stars: ✭ 25 (-41.86%)
Mutual labels:  webview
QuestionnaireView
A simple view to be able to display question and various field (Radio, EditText, checkbox ) for answers
Stars: ✭ 34 (-20.93%)
Mutual labels:  webview
Android-WebView-in-Kotlin
Native Android WebView Example in Kotlin. Website to android app github open source template.
Stars: ✭ 87 (+102.33%)
Mutual labels:  webview

KaTeX View

Download license API

A library that uses Khan Academy KaTeX for TeX math rendering.

Usage

Gradle

Add this to your module's build.gradle file:


dependencies {
    // ... other dependencies
    implementation 'com.github.judemanutd:katexview:1.0.2'
}

Maven


<dependency>
  <groupId>com.github.judemanutd</groupId>
  <artifactId>katexview</artifactId>
  <version>1.0.2</version>
  <type>pom</type>
</dependency>


Include the following code in your xml layout

<com.judemanutd.katexview.KatexView
    android:id="@+id/katex_text"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:textColor="@color/colorPrimary" />

You can then supply the text to be rendered in kotlin or java


val text = "$$ c = \\pm\\sqrt{a^2 + b^2} $$"
katex_text.setText(text)

Supported Attributes

All webview attributes are automatically inherited, in addition to that, the following can be customized

  • color
    • can be specified in xml using the textColor attribute
    • can be used in code by calling the setTextColor on the KatexView
  • text size - coming soon
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].