Releases: melvinotieno/math-view
Releases · melvinotieno/math-view
v1.1.0
v1.0.2
Added the following attributes
- tag - indicates what to use as the root tag for the generated web component, defaults to span.
- mathstyle - indicates which mathstyle to use (displaystyle | textstyle), defaults to displaystyle.
- lettershapestyle - options available are tex | french | iso | upright | auto and defaults to tex.
The mathstyle and lettershapestyle are passed on the the convertLatexToMarkup function from mathlive.
v1.0.1
Use attribute latex instead of equation
Before
<math-view equation="x=\frac{-b\pm \sqrt{b^2-4ac}}{2a}"></math-view>
Now
<math-view latex="x=\frac{-b\pm \sqrt{b^2-4ac}}{2a}"></math-view>
v1.0.0
create MathView class that renders latex to markup