smart_latex 1.0.0 copy "smart_latex: ^1.0.0" to clipboard
smart_latex: ^1.0.0 copied to clipboard

Robust LaTeX rendering for Flutter. Renders mixed text and math, repairs malformed input (double backslashes, Persian/Arabic digits, unbalanced braces, single-char \text{}), and isolates KaTeX metrics [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add smart_latex

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  smart_latex: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:smart_latex/smart_latex.dart';
1
likes
150
points
267
downloads

Documentation

API reference

Publisher

verified publishertartanak.com

Weekly Downloads

Robust LaTeX rendering for Flutter. Renders mixed text and math, repairs malformed input (double backslashes, Persian/Arabic digits, unbalanced braces, single-char \text{}), and isolates KaTeX metrics from custom fonts and RTL layouts to avoid flutter_math_fork layout crashes.

Repository (GitHub)
View/report issues

Topics

#latex #math #katex #rtl #rendering

License

MIT (license)

Dependencies

flutter, flutter_math_fork

More

Packages that depend on smart_latex