v-math

v-math displays mathematical expressions.

Usage

Here are some simple math expressions:

> <v-math>a = 100 \\\\ b = \frac{a}{10} = 10</v-math>

Dynamic values

To use the dynamic values in expressions, use global variables.

Lets assign to variable and use <v-slider /> to control it.

Syntax reference

Here are some references and examples how to express math in LaTeX / KaTeX format:

https://katex.org/docs/supported.html
https://en.wikibooks.org/wiki/LaTeX/Mathematics

Prior art

https://designstem.github.io/fachwerk/docs/#/f-math
https://visualia.github.io/visualia_original/#math