daisy / daisy/MathCAT

Feature request: Configurable spacing before operators (ASCIIMath & LaTeX)

Open
#601 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
114
Forks
85
Avg merge
1d 11h
Merged PRs (30d)
42

Description

It would be useful to allow users to configure whether a space should be inserted before operators (+ - * : =) in ASCIIMath and LaTeX output. Currently LaTeX (and ASCIIMath-Fi) have space before operators, ASCIIMath do not.
It is difficult to find many good and consistent examples:

- Do not use space before operators

- Do it in LaTeX, sometimes in ASCIIMath. "Spaces and line breaks can be inserted or omitted as desired for structure and readability"

- Use space in ASCIIMath: "We find that some students do not follow the spacing rules when writing mathematics themselves. As long as they understand what they have written and are writing the mathematics correctly, we do not recommend correcting this."

When it comes to spaces before and after comparison signs, some use only before, others both before and after.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.