Skip to content

TeX and Text

TwoTicks edited this page Jun 6, 2021 · 4 revisions

createTeX returns TeX object

let tex = createTeX('\\overrightarrow{F}_{12} = k_e \\frac{q_1 q_2}{r^2}');

object.position(x, y) sets position of the object to (x, y)

object.size(width, height) sets size of the object to (width, height)

Clone this wiki locally