The MathType viewer renders all MathML and LaTeX-like formulas in a webpage using the MathType rendering engine.
npm install @wiris/mathtype-viewerThe MathType viewer renders all MathML and LaTeX-like formulas in a webpage using the MathType rendering engine.
To use the MathType viewer in your page, just include the script dist/WIRISplugins.js:
``html`
When loading the page now, all MathML and LaTeX formulas should be displayed as images.
The MathType viewer admits various properties.
They can be set like this:
`html`
In case you want to compile the source code, you must install the NPM dependencies and then run Webpack.
First, run
`sh`
yarn
to install the dependencies.
Then run
`sh`
yarn build
to compile the package.
The output will be found in viewer/dist.
If you want to compile the package in development mode
Then run
`sh`
yarn build-dev
The output will be found in viewer/dist`.
For the whole specification, see here.
The MathType Privacy Policy covers the data processing operations for the MathType users. It is an addendum of the company's general Privacy Policy and the general Privacy Policy still applies to MathType users.