#679: Add \overarc and \overleftrightarrow
diff --git a/docs/Api_Methods.md b/docs/Api_Methods.md index b7db00c..a776774 100644 --- a/docs/Api_Methods.md +++ b/docs/Api_Methods.md
@@ -190,7 +190,7 @@ Move the cursor to the left/right end of the editable field, respectively. These are shorthand for [`.moveToDirEnd(L/R)`](#movetodirenddirection), respectively. -## .movetoDirEnd(direction) +## .moveToDirEnd(direction) Moves the cursor to the end of the mathfield in the direction specified. The direction can be one of `MQ.L` or `MQ.R`. These are constants, where `MQ.L === -MQ.R` and vice versa. This function may be easier to use than [moveToLeftEnd or moveToRightEnd](#movetoleftend-movetorightend) if used in the [`moveOutOf` handler](Config.md#outof-handlers).
diff --git a/src/commands/math/commands.js b/src/commands/math/commands.js index 2e6fe5d..68838bb 100644 --- a/src/commands/math/commands.js +++ b/src/commands/math/commands.js
@@ -330,6 +330,15 @@ this.sup.downOutOf = insLeftOfMeUnlessAtEnd; super_.finalizeTree.call(this); }; + _.reflow = function() { + var $block = this.jQ;//mq-supsub + + var h = $block.prev().innerHeight() ; + h *= 0.6 ; + + $block.css( 'vertical-align', h + 'px' ) ; + + } ; }); var SummationNotation = P(MathCommand, function(_, super_) {