2.1.3 • Published 4 years ago
latex2react v2.1.3
LaTeX2React
installation
- Install the library!
yarn add latex2react
- import the
latex2js
CSS file, and theLaTeX
React component
import 'latex2js/latex2js.css';
import { LaTeX } from 'latex2react';
- 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