## File(s) not publicly available

# Latexify Math: Mathematical Formula Markup Revision to Assist Collaborative Editing in Math Q&A Sites

Version 2 2024-06-04, 13:06

Version 1 2022-09-29, 04:36

journal contribution

posted on 2024-06-04, 13:06 authored by S Ma, C Chen, Hourieh KhalajzadehHourieh Khalajzadeh, J GrundyCollaborative 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.

## History

## Journal

Proceedings of the ACM on Human-Computer Interaction## Volume

5## Pagination

1-24## Publisher DOI

## eISSN

2573-0142## Language

en## Publication classification

C1.1 Refereed article in a scholarly journal## Issue

CSCW2## Publisher

Association for Computing Machinery (ACM)## Usage metrics

## Categories

No categories selected## Keywords

## Licence

## Exports

RefWorks

BibTeX

Ref. manager

Endnote

DataCite

NLM

DC