Lune

UIST2023Top-tier venue

FFL: A Language and Live Runtime for Styling and Labeling Typeset Math Formulas

Zhiyuan Wu, Jiening Li, Kevin Ma, Hita Kambhamettu, Andrew Head

Abstract

As interest grows in learning math concepts in fields like data science and machine learning, it is becoming more important to help broad audiences engage with math notation. In this paper, we explore how authoring tools can help authors better style and label formulas to support their readability. We introduce a markup language for augmenting formulas called FFL, or “Formula Formatting Language,” which aims to lower the threshold to stylize and diagram formulas. The language is designed to be concise, writable, readable, and integrable into web-based document authoring environments. It was developed with an accompanying runtime that supports live application of augmentations to formulas. Our lab study shows that FFL improves the speed and ease of editing augmentation markup, and the readability of augmentation markup compared to baseline LaTeX tools. These results clarify the role tooling can play in supporting the explanation of math notation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Code Style Sheets: CSS for Code cites Penrose: from mathematical notation to beautiful diagrams
  • FreeForm: Flexibly Augmenting Formulas with Synchronized Markup and Graphical Edits cites Augmenting Scientific Papers with Just-in-Time, Position-Sensitive Definitions of Terms and Symbols
  • FreeForm: Flexibly Augmenting Formulas with Synchronized Markup and Graphical Edits cites Math Augmentation: How Authors Enhance the Readability of Formulas using Novel Visual Design Practices
  • Math Augmentation: How Authors Enhance the Readability of Formulas using Novel Visual Design Practices cites Penrose: from mathematical notation to beautiful diagrams
  • Ragged Blocks: Rendering Structured Text with Style cites Code Style Sheets: CSS for Code
  • Ragged Blocks: Rendering Structured Text with Style cites Penrose: from mathematical notation to beautiful diagrams
  • Ragged Blocks: Rendering Structured Text with Style cites Textlets: Supporting Constraints and Consistency in Text Documents
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Code Style Sheets: CSS for CodeSam Cohen, Ravi ChughOOPSLA 2025 · 5 citations
  2. FreeForm: Flexibly Augmenting Formulas with Synchronized Markup and Graphical EditsJeffrey Tao, Litao Yan, Jessica Shi, Mia Ginsberg et al.CHI 2025 · 1 citation
  3. Ragged Blocks: Rendering Structured Text with StyleSam Cohen, Ravi ChughUIST 2025 · 1 citation

Builds on8

  1. Augmenting Scientific Papers with Just-in-Time, Position-Sensitive Definitions of Terms and SymbolsAndrew Head, Kyle Lo, Dongyeop Kang, Raymond Fok et al.CHI 2021 · 91 citations
  2. Penrose: from mathematical notation to beautiful diagramsKatherine Ye, Wode Ni, Max Krieger, Dor Ma'ayan et al.SIGGRAPH 2020 · 53 citations
  3. Textlets: Supporting Constraints and Consistency in Text DocumentsHan L. Han, Miguel A. Renom, Wendy E. Mackay, Michel Beaudouin-LafonCHI 2020 · 35 citations
  4. Math Augmentation: How Authors Enhance the Readability of Formulas using Novel Visual Design PracticesAndrew Head, Amber Xie, Marti A. HearstCHI 2022 · 27 citations
  5. Continuous Prefetch for Interactive Data ApplicationsHaneen Mohammed, Ziyun Wei, Ravi Netravali, Eugene WuVLDB 2020 · 16 citations

Related papers

  1. FLAME: A Small Language Model for Spreadsheet FormulasHarshit Joshi, Abishai Ebenezer, José Pablo Cambronero Sánchez, Sumit Gulwani et al.AAAI 2024 · 21 citations
  2. Data Formulator: AI-Powered Concept-Driven Visualization AuthoringChenglong Wang, John Thompson, Bongshin LeeIEEE VIS 2023 · 35 citations
  3. Latexify Math: Mathematical Formula Markup Revision to Assist Collaborative Editing in Math Q&A SitesSuyu Ma, Chunyang Chen, Hourieh Khalajzadeh, John GrundyCSCW 2021 · 4 citations
  4. Data Formulator 2: Iterative Creation of Data Visualizations, with AI Transforming Data Along the WayChenglong Wang, Bongshin Lee, Steven Mark Drucker, Dan Marshall et al.CHI 2025 · 17 citations
  5. Augmented Math: Authoring AR-Based Explorable Explanations by Augmenting Static Math TextbooksNeil Chulpongsatorn, Mille Skovhus Lunding, Nishan Soni, Ryo SuzukiUIST 2023 · 36 citations
Dusk over the sea between two cliffs drawn in fine vertical lines