2.1.3 • Published 6 years ago
latex2react v2.1.3
LaTeX2React
installation
- Install the library!
yarn add latex2react- import the
latex2jsCSS file, and theLaTeXReact 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
6 years ago
2.1.2
6 years ago
2.1.0
6 years ago
2.0.0
6 years ago
1.3.1
6 years ago
1.2.3
6 years ago
1.3.0
6 years ago
1.2.2
6 years ago
1.2.0
8 years ago
1.1.11
8 years ago
1.1.10
8 years ago
1.1.9
8 years ago
1.1.8
8 years ago
1.1.7
8 years ago
1.1.6
8 years ago
1.1.5
8 years ago
1.1.4
8 years ago
1.1.2
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago
0.0.0
8 years ago