Latexify Math: Mathematical Formula Markup Revision to Assist Collaborative Editing in Math Q&A Sites
Suyu Ma, Chunyang Chen, Hourieh Khalajzadeh, John Grundy
Abstract
Collaborative editing questions and answers plays an important role in quality control of Mathematics StackExchange which is a math Q&A Site. Our study of post edits in Mathematics Stack Exchange shows that there is a large number of math-related edits about latexifying formulas, revising LaTeX and converting the blurred math formula screenshots to LaTeX sequence. Despite its importance, manually editing one math-related post especially those with complex mathematical formulas is time-consuming and error-prone even for experienced users. To assist post owners and editors to do this editing, we have developed an edit-assistance tool, MathLatexEdit for formula latexification, LaTeX revision and screenshot transcription. We formulate this formula editing task as a translation problem, in which an original post is translated to a revised post. MathLatexEdit implements a deep learning based approach including two encoder-decoder models for textual and visual LaTeX edit recommendation with math-specific inference. The two models are trained on large-scale historical original-edited post pairs and synthesized screenshot-formula pairs. Our evaluation of MathLatexEdit not only demonstrates the accuracy of our model, but also the usefulness of MathLatexEdit in editing real-world posts which are accepted in Mathematics Stack Exchange.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5c62ffaf-8b89-47f6-bb8d-92e1baf21f84Cited by top-tier papers1
Ask how each one uses itBuilds on2
- Unblind your apps: predicting natural-language labels for mobile GUI components by deep learningJieshan Chen, Chunyang Chen, Zhenchang Xing, Xiwei Xu et al.ICSE 2020 · 101 citations
- Automated Query Reformulation for Efficient Search based on Query Logs From Stack OverflowKaibo Cao, Chunyang Chen, Sebastian Baltes, Christoph Treude et al.ICSE 2021 · 63 citations
Related papers
- Neural Machine Translation for Mathematical FormulaeFelix Petersen, Moritz Schubotz, André Greiner-Petter, Bela GippACL 2023 · 6 citations
- Structure-aware Mathematical Expression Recognition with Sequence-Level ModelingMinli Li, Peilin Zhao, Yifan Zhang, Shuaicheng Niu et al.ACM MM 2021 · 4 citations
- i-LaTeX : Manipulating Transitional Representations between LaTeX Code and Generated DocumentsCamille Gobert, Michel Beaudouin-LafonCHI 2022 · 19 citations
- FreeForm: Flexibly Augmenting Formulas with Synchronized Markup and Graphical EditsJeffrey Tao, Litao Yan, Jessica Shi, Mia Ginsberg et al.CHI 2025 · 1 citation
- Speech-to-LaTeX: New Models and Datasets for Converting Spoken Equations and SentencesDmitrii Korzh, Dmitrii Tarasov, Artyom Iudin, Elvir Karimov et al.ICLR 2026 · 2 citations
