Skip to content

0.0.3

Choose a tag to compare

@SharbelMarshi SharbelMarshi released this 08 Aug 19:05
· 2 commits to main since this release

Latex Suite Extension 0.0.3

Solve

  • Quadratic equations: x^2+2x+1\solve gives both solutions (x_{1,2}=-1), including complex ones for a negative discriminant (x^2+2x+2 → x_{1,2}=-1\pm i). Works with an explicit = (x^2+2x=-1), Greek unknowns, fractional coefficients, and linear equations.
  • Degrees: input like \tan 49.2^\circ is converted from degrees, and angle results are shown in degrees (\theta_c=\sin^{-1}(\frac{1}{1.52}) → 41.1395^\circ), but only when the variable is angle-named (\theta, \phi, ...), so r=\sin^{-1}(...) stays a plain number. Angle names and degrees/radians output are configurable.
  • More notation: \cfrac, inverse functions (\sin^{-1} = arcsin, \sin^{2}(x) = (sin x)²), and Unicode characters from pasted text (× − · ÷ π).
  • Multi-line equations: the whole $$...$$ block up to \solve is read, not just the current line.
  • Fixes: tiny results like 1.62·10⁻¹⁵ no longer collapse to 0; \approx counts as = when splitting equation chains; unsolvable leftovers are refused with a notice instead of echoed back.

Settings

  • New options: solve angle unit, angle variable names.