Commit Graph

192 Commits

Author SHA1 Message Date
Davide P. Cervone
fcda005c56 Don't copy environment into array environments. Resolves issue #1468. 2016-06-14 14:22:51 -04:00
Davide P. Cervone
9779801c51 Merge pull request #1508 from dpvc/issue1023
Fix problems with \middle.  #1023
2016-06-08 07:13:05 -04:00
Davide P. Cervone
00864b0635 surround \middle with OPEN and CLOSE TeXAtoms, so that the spacing will be consistent with TeX's version (e.g., \mathrel{}\middle|\mathrel{} will produce the right spacing). As a side effect, this resolves the problem with the quotes, sot this resolves issue #1023. 2016-06-07 10:14:51 -04:00
Davide P. Cervone
ab7d436bb1 Mark accented operators as not having movable limits. Resolves issue #1469. 2016-05-17 19:07:17 -04:00
Davide P. Cervone
9ec8e34ee5 Remove lspace and rspace from being used by renderers other than NativeMML. 2016-01-28 16:52:24 -05:00
Davide P. Cervone
54ac450144 Fix spacing for operators with movablelimits that are converted to <mo> 2016-01-28 16:38:59 -05:00
Davide P. Cervone
e8186ee317 Fix #1259 for \mathop and \operatorname as well. 2016-01-27 14:52:24 -05:00
Davide P. Cervone
1f570173b5 Merge branch 'issue1197' into develop. Issue #1197. 2016-01-25 13:55:09 -05:00
Davide P. Cervone
618f8d0466 Merge branch 'issue1259' into develop. Issue #1259. 2016-01-25 13:54:45 -05:00
Davide P. Cervone
dc450d6bc7 Handle movablelimits on TeXAtom elements. Resolves issue #1197. 2016-01-24 18:26:50 -05:00
Davide P. Cervone
404c73c30a Don't allow movablelimits in the base of \underset and \overset. Resolves issue #1259. 2016-01-24 15:32:12 -05:00
Davide P. Cervone
6eddcc8f5d Don't pass font to math inside text boxes. Resolves issue #1321. 2016-01-24 15:25:36 -05:00
Davide P. Cervone
a729427ca6 Remove debugging log messages. 2015-12-06 11:02:27 -05:00
Davide P. Cervone
58d698f355 More improvements to function-apply with operators. Issue #1312 2015-12-06 08:16:25 -05:00
Davide P. Cervone
e47e221afa Merge branch 'issue1312' into develop. Issue #1312. 2015-12-04 14:37:32 -05:00
Davide P. Cervone
3ff16901e6 Undo change in \underline (remove accent=false) since this produces poor results. Issue #1255. 2015-12-04 10:31:51 -05:00
Davide P. Cervone
458cd7a760 Improve heuristics for adding function-apply following operators. Issue #1312. 2015-12-03 07:43:00 -05:00
Davide P. Cervone
3cdcd73b01 Merge branch 'issue1295' into develop. Issue #1295. 2015-12-02 11:19:58 -05:00
Davide P. Cervone
ea98a6e562 Make height/depth of horizontal stretchy characters be maximum of the height/depth of the component parts, rather than TeX's approach of using the extender's height and depth. Also, make over-brace and other over macros not set accent=false so they match TeX and the under versions better. Resolves #1255. 2015-11-02 09:22:36 -05:00
Davide P. Cervone
7c39f064d0 Handle scriptlevel set on arrays via an mstyle node (affects smallmatrix). Resolves issue #1295. 2015-11-01 19:22:11 -05:00
Davide P. Cervone
7cbea14c75 Handle braces properly in text mode when looking for matching math delimiters. Resolves issue #1224 2015-07-30 09:25:25 -04:00
Davide P. Cervone
c03acb6d7d Fix problem where automatic numbering affects \binom and friends. Resolves issue #1194 2015-07-08 17:05:57 -04:00
Davide P. Cervone
325f149ef7 Merge remote-tracking branch 'mathjax/hotfix-2.5.2' into develop 2015-04-29 10:54:31 -04:00
Davide P. Cervone
4292f9ed6b Don't insert mstyle in InternalMath() when not necessary. 2015-04-20 08:27:43 -04:00
Davide P. Cervone
fc3f34c28a Add \overparen and \underparen for creating stretchy parens above and below other elements. Issues #928 and #567. 2015-04-15 10:08:20 -04:00
Davide P. Cervone
3beda8db4e Properly set displaystyle and scriptlevel, and make sure the contents is enclosed in a single element. Resolves both parts of issue #1152, but at the cost of possibly redundent mstyle elements. These could be filtered out in the combineRelations() post-filter, when we can check if the displaystyle and script levels need setting. 2015-04-13 17:33:44 -04:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
9f14997b79 Make \overline{\lim_{x}} have correct spacing for overline with Firefox. Issue #490. 2015-01-17 08:25:14 -05:00
Davide P. Cervone
b30c8f2f30 Set movablelimits on the base mo not the munderover node. Issue #901. 2015-01-16 11:18:26 -05:00
Davide P. Cervone
cce02ddfde Don't produce doube exponent/subscript errors for UnderOver constructs like \underline and \overbrace. Resolves issue reported on StackExchange. 2015-01-06 17:47:48 -05:00
Davide P. Cervone
9d153e3a11 Make sure that tagged equations get mtables with the correct displaystyle (now that displaystyle is no longer inherited, see issue #839.) 2014-12-31 10:10:50 -05:00
Davide P. Cervone
3f5730a59f Merge branch 'CHTML-preview' into develop 2014-12-30 17:55:48 -05:00
Davide P. Cervone
81b87c1ea3 Fix wrong error message for double exponents 2014-12-28 07:17:47 -05:00
Davide P. Cervone
de9c66f927 Escape braces in mathPalette (avoids error with \brace). 2014-12-28 06:30:18 -05:00
Davide P. Cervone
9a3f435a99 Make fractions be TeX class ORD rather than INNER (as appears to be the case with TeX, despite the claims in the TeXbook to the contrary). Also, fix a problem with getting the correct form attribute for mo elements. Resolves issue #969. 2014-12-05 20:54:15 -05:00
Davide P. Cervone
f4be986816 Merge branch 'issue913' into develop. Issue #913. 2014-09-14 09:19:48 -04:00
Davide P. Cervone
3ee58a18a5 Merge branch 'issue906' into develop. Issue #906. 2014-09-14 09:18:56 -04:00
Davide P. Cervone
ab9570b614 Merge branch 'issue775' into develop. Issue #775. 2014-09-14 09:18:16 -04:00
Davide P. Cervone
e2e94d3c45 Check for undefined rather than false when deciding which attributes to allow for \mmlToken. Resolves issue #913. 2014-09-11 13:14:38 -04:00
Davide P. Cervone
e8c7ade7c4 Allow comma-separated parameters in \mmlToken. Resolves issue #906. 2014-09-11 08:34:26 -04:00
Davide P. Cervone
612e622e0b Add an empty <mo> to nested <munderover> used for overline and friends to avoid being an embellished operator that gets movablelimits. Resolves issue #490. 2014-09-09 12:35:00 -04:00
Davide P. Cervone
cfc6fa2ae0 Make fences use empty <mo> for blank delimiters so the result will not be an embellished operator. Also resolves issue #775. 2014-09-09 11:51:22 -04:00
Davide P. Cervone
8ddeed3a3c Merge branch 'issue902' into develop. Issue #902. 2014-09-04 05:55:18 -04:00
Davide P. Cervone
a27d83444f Merge branch 'issue903' into develop. Issue #903. 2014-09-04 05:52:20 -04:00
Davide P. Cervone
6104e90859 Make \eqalignno and \leqalignno use mlabeledtr so numbers are positioned properly. resolves issue #902. 2014-09-02 10:45:44 -04:00
Davide P. Cervone
9ecb67ec22 Add minimal support for \hfill (just to handle column alignment in matrices and arrays). Issue #903. 2014-09-02 10:26:45 -04:00
Davide P. Cervone
96cf80d775 Allow \limits and \nolimits to be used between or after the super- and subscripts. Report errors for double super- and subscripts for munderover constructs. Make \underbrace and \overbrace allow \limits. Resolves issue #901. 2014-09-02 08:48:50 -04:00
Davide P. Cervone
302e28cd38 Fix incorrect TeX class for \buildrel. Resolves issue #900. 2014-08-28 19:04:33 -04:00
Davide P. Cervone
d5d1fbdf50 Merge branch 'issue375' into develop. Issue #375. 2014-08-24 09:57:04 -04:00
Davide P. Cervone
6d283451fd Add support for \{, \} and \\ inside \text{}, since {, }, and \ are used by MathJax in determining the extent of the \text box. This helps with issues #375 and #790. 2014-08-22 15:44:03 -04:00