Yes. Oyma includes full LaTeX mathematical typesetting. You can write inline equations ($E=mc^2$) and display block math ($$...$$) powered by high-speed, local KaTeX rendering.
Beautiful Mathematical Typesetting
For scientists, machine learning engineers, quantitative researchers, and students, notes without mathematical typography are incomplete. Writing complex equations using clumsy Unicode characters or pasting static bitmap images destroys searchability and editing flow.
Oyma integrates native LaTeX mathematical rendering powered by an embedded, ultra-fast KaTeX engine.
Inline Math Equations
To render math inline within a sentence, wrap your TeX notation in single dollar signs ($...$):
The standard Shannon entropy is defined as $H(X) = -\sum_{i=1}^{n} P(x_i) \log_2 P(x_i)$ in bits.
In Live Preview, this renders as crisp typographic symbols aligned seamlessly with the text baseline.
Display Block Math
For multi-line derivations, matrix transformations, and standalone formulas, use double dollar signs ($$...$$):
$$
\mathcal{L}_{\text{ASR}}(\theta) = -\mathbb{E}_{(x, y) \sim \mathcal{D}} \left[ \sum_{t=1}^{T} \log P(y_t \mid y_{<t}, x; \theta) \right]
$$
Extensive TeX Command Coverage
Oyma supports the complete standard mathematical command repertoire:
- Greek letters:
\alpha,\beta,\gamma,\sigma,\Omega - Calculus & Operators:
\int_{a}^{b} f(x) dx,\frac{\partial f}{\partial x},\lim_{x \to \infty} - Linear Algebra: Matrices (
\begin{matrix},\begin{pmatrix}), vectors, and tensors - Set Theory & Logic:
\forall,\exists,\in,\subset,\implies
Because KaTeX compiles directly to native SVG and CSS without contacting external web fonts or remote servers, equations render with zero network calls and print cleanly in PDF exports.
Complex Mathematical Notation and Matrices
For advanced scientific and engineering workflows, Oyma supports multi-line mathematical environments:
- Piecewise Functions: Render piecewise functions using standard TeX cases environments.
- Aligned Equation Steps: Format multi-step mathematical derivations cleanly with aligned equations and alignment ampersands.
- Instant Typography Preview: In Live Preview, formulas render into crisp vector typography as soon as you close the delimiter, making reading mathematical proofs seamless.
Fast Client-Side KaTeX Typesetting
KaTeX compiles LaTeX syntax directly into HTML and CSS without relying on external web fonts or remote math rendering servers. Equations render with zero layout shift, ensuring documents with hundreds of equations load instantly without lag.
Whether formatting complex physics derivations, Bayesian statistics formulas, machine learning loss functions, or financial options valuation algorithms, your mathematical notation remains crisp at any display scaling factor.
Mathematical Environment Syntax Reference
- Inline Equations: Delimited by
$ ... $for embedding within prose sentences. - Display Block Math: Delimited by
$$ ... $$on dedicated lines for standalone equations. - Supported Environments:
matrix,pmatrix,bmatrix,aligned,cases, andgather. - Calculus and Summations: Full support for
\int_{a}^{b} f(x) dx,\sum_{i=1}^{n} x_i, and limit notation\lim_{x \to 0}. - Typographic Engine: Embedded KaTeX compiler delivering zero-latency local SVG rendering without remote network fonts.