benetech / MathShare

MIT License
9 stars 3 forks source link

Improve embedding text in math #562

Open NSoiffer opened 5 years ago

NSoiffer commented 5 years ago

Description

Currently, mathlive has a \text command that switches to text. Users have to manually decide they want text and then end the text. Based on Pearson's accessible editor, I believe that we (mathlive) can do much better and auto detect when someone is typing math or text. There are a few situations where that might be hard, so having a manual "math mode" and "text mode" override would be still be useful, but almost all cases should be able to be handled automatically.

Note: this is a mathlive issue that I've discussed off and on with Arno. Do it well is not trivial, but I think it would make it much easier to mix text and math and is worth the effort.

Aha! Link: https://diagramlabs.aha.io/features/B-289

arnog commented 5 years ago

I couldn't get the Pearson editor to automatically handle the switch between math and text. The instructions seem to indicate that with Braille input at least, you need to switch explicitly to Nemeth Braille to enter math, and exit it to enter text. What am I missing?

arnog commented 5 years ago

The master version of MathLive now includes support for mixed math and text. There are three ways to include text in math:

johnhbenetech commented 5 years ago

seems to be handled after mathlive update

benetechMatt commented 4 years ago

found no issues with typing text and tested with " and alt+= However text was treated as part of the equation when pasting from another source