2.1.3 • Published 5 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
5 years ago
2.1.2
5 years ago
2.1.0
5 years ago
2.0.0
5 years ago
1.3.1
5 years ago
1.2.3
5 years ago
1.3.0
5 years ago
1.2.2
5 years ago
1.2.0
7 years ago
1.1.11
7 years ago
1.1.10
7 years ago
1.1.9
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.2
7 years ago
0.0.2
8 years ago
0.0.1
8 years ago
0.0.0
8 years ago