Urged by Blink’s comments, I decided to make an experiment and build a MoM version that makes no distinction between text boxes and math boxes.

Background: Typing and rendering rules differ between math and plain text. For example, you rarely use multi-line equations, but you often use multi-line text. Also, text lines can be written in more condensed form, while math lines should have more space between them to be readable.

At first, the Math-o-mir only supported math typing, but soon I realized the need for plain text typing. Therefore, in addition to originally existing math boxes, I added ‘text boxes’ where you could easily write some plain text using text typing rules. Text boxes were also rendered according to somewhat different ‘text rendering rules’.

However, over time the distinction between text and math boxes diminished to the point that it is not clear to MoM users why two different box types need to exist at all. Users can now freely enter math and/or text in any of them allowing them to freely mix some math into text or vice versa. The only important difference left is regarding the Enter key handling: If used within a text box, the Enter key will insert a new line (text wrap), while when used within a math box, the Enter key will create new, separate, math box.

 

In the experimental Math-o-mir version, I kept only one, combined box type. When one hits the Enter key, the Math-o-mir analyzes the contents of the box and then either wraps the line or creates a new box…It all depends whether math or text prevails in the box … Immediately I must tell that I am skeptical about this solution because I don’t like software being ‘too smart’. But I will give it a try. After all, the Enter key in Math-o-mir was always treated as a bit ‘intelligent’ key that works depending on the contents.

Of course, software can make a wrong decision. If the Math-o-mir wraps the line but you wanted a new box instead, then all you have to do is to hit the Enter key again. In the opposite case, when the Math-o-mir creates the new box but you wanted to wrap the line, you will have to use the backspace key and then ALT+Enter (the ALT+Enter forces line wrap)… In any case, I implemented a simple indication that tells you what will happen after you hit the Enter key. Just below the blinking cursor there will be a small sign (angled line) present if the line wrap is to occur.

Finally, when you select the whole box (paragraph) you can righ-mouse-click on it, and in the pop-up menu you will find “inline spacing” option where you can toggle inline spacing as used for plain text or as used for math (matrices/tables).

Now I will wait and see if I like the proposed solution or not. Your comments, as always, are expected and regarded. Anyway, the experimental version (.exe file only, no setup) can be downloaded from here: http://www.datafilehost.com/download-5f6897f1.html

Advertisements