Skip to content

Releases: melvinotieno/math-view

v1.1.0

24 Feb 11:10

Choose a tag to compare

  • Replaces the mathstyle attribute in favor of defaultmode as changed per mathlive
  • Uses mathlive version above 0.104.0

v1.0.2

06 Jun 16:16

Choose a tag to compare

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

05 Jun 20:37

Choose a tag to compare

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

03 Jun 15:59

Choose a tag to compare

create MathView class that renders latex to markup