Delta: A DSL for Enlivening Typeset Formulas with Interactive Explanations

Eric Dai, Zain Khan, Jeffrey Tao, Marti A. Hearst and Andrew Head

Abstract

Many important mathematical ideas are described with formulas, but formulas can be difficult to understand. This has prompted some authors to embed formulas in interactive explanations that relate symbols to text, computation, and visualizations. However, implementing such designs with standard tools is difficult and time-consuming. To lower the threshold and raise the ceiling of formula explanations, we design and implement Delta, a TypeScript-embedded domain-specific language for creating interactive formula explanations. Delta gives authors the ability to turn formulas into calculators, explain them with step-by-step walkthroughs, and link symbols to nearby text and visual descriptions. It is designed to integrate with LaTeX math in web-based writing contexts, with a React-based runtime that handles necessary state management. In a controlled study, participants edited a simple interactive formula spec more quickly and easily with Delta than with a custom React baseline. In an observational study, participants largely found the language’s constructs intuitive after an hour of continuous use.

Venue
UIST 2026
Volume
Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3830398.3830616
PDF
https://dl.acm.org/doi/pdf/10.1145/3830398.3830616
Anthology ID
2026.uist.141

Cite

@inproceedings{dai-etal-2026-delta,
    title = {{Delta: A DSL for Enlivening Typeset Formulas with Interactive Explanations}},
    author = {Eric Dai and Zain Khan and Jeffrey Tao and Marti A. Hearst and Andrew Head},
    booktitle = {Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400728563},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3830398.3830616},
    url = {https://doi.org/10.1145/3830398.3830616},
    abstract = {Many important mathematical ideas are described with formulas, but formulas can be difficult to understand. This has prompted some authors to embed formulas in interactive explanations that relate symbols to text, computation, and visualizations. However, implementing such designs with standard tools is difficult and time-consuming. To lower the threshold and raise the ceiling of formula explanations, we design and implement Delta, a TypeScript-embedded domain-specific language for creating interactive formula explanations. Delta gives authors the ability to turn formulas into calculators, explain them with step-by-step walkthroughs, and link symbols to nearby text and visual descriptions. It is designed to integrate with LaTeX math in web-based writing contexts, with a React-based runtime that handles necessary state management. In a controlled study, participants edited a simple interactive formula spec more quickly and easily with Delta than with a custom React baseline. In an observational study, participants largely found the language’s constructs intuitive after an hour of continuous use.}
}