2.1.3 • Published 4 years ago

latex2react v2.1.3

Weekly downloads
13
License
SEE LICENSE IN LI...
Repository
github
Last release
4 years ago

LaTeX2React

installation

  1. Install the library!
yarn add latex2react
  1. import the latex2js CSS file, and the LaTeX React component
import 'latex2js/latex2js.css';
import { LaTeX } from 'latex2react';
  1. Load your {\tt TeX} into the {\tt content} property. Enjoy!
const tex = String.raw`
\begin{center}
\begin{pspicture}(0,-3)(8,3)
...
\end{pspicture}
\end{center}
`;

class App extends Component {
  render() {
    return <LaTeX content={tex} />;
  }
}
2.1.3

4 years ago

2.1.2

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.3.1

4 years ago

1.2.3

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.0

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.2

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago