oohoo / moodle-tinymce_matheditor

7 stars 2 forks source link

Arrow Vector Notation #1

Closed raywainman closed 11 years ago

raywainman commented 11 years ago

Currently not supported by MathQuill, several options exist here

1) Fork the MathQuill project and add the functionality 2) Monkey-patch the functionality into my code (I'm pretty sure I can modify the global namespace to include the new feature)

The above solutions may not necessarily work due to the fact that everything uses CSS and HTML. Currently, the arrow above the character(s) would have to be drawn using borders, which may not even be feasible (especially in the caret case).

Another solution would be to take advantage of the Unicode combining marks (http://en.wikipedia.org/wiki/Combining_character) and implement a mapping between these and their latex counterparts. There may be some font issues here but if we stick to the main combination marks we should be okay.

Worst case: 4) Omit functionality

I'm going to sit on this issue for a bit while I finish implementing the other functionality (which is all supported by MathQuill already-yay!).

raywainman commented 11 years ago

Also good to note that all of this could be included in a pull request for the main MathQuill project if I can come up with an elegant solution. The project seems fairly active and would probably be open to something like this.