Commit Graph

176 Commits

Author SHA1 Message Date
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
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
Davide P. Cervone
89c6f10cea Use \bigg or \big for the delimiters for \binom and other such constructs, rather than stretchy delimiters, as is done in TeX. Resolves isue #776. 2014-08-22 11:47:04 -04:00
Davide P. Cervone
6ba49d616e Merge branch 'issue856' into develop. Issue #856. 2014-08-19 09:04:05 -04:00
Davide P. Cervone
4fb5c5e4e5 Allow commas in place of decimals in TeX dimensions. Resolves issue #856. 2014-08-18 14:09:05 -04:00
Davide P. Cervone
4db6b017ee Make px-per-inch configurable and use 72dpi (pt = px in this case) 2014-08-18 11:29:21 -04:00
Davide P. Cervone
72a6a670bf Add ability to process units of px in \\[...] (not particularly accurate, however). Issue #890 2014-08-18 11:09:09 -04:00
Davide P. Cervone
f0c0c6386e Properly handle callbacks returned by pre- and postfilter hooks. 2014-08-16 12:58:51 -04:00
Davide P. Cervone
d24b750cbf Don't add stretchy=dalse if it is not needed 2014-05-30 12:25:01 -04:00
Davide P. Cervone
7a9833becd Add semantics annotation to NativeMML output. This is done in the NativeMML output jax rather than the input jax so that it can be done for any input format (that provides an encoding for it). Also, it avoids having the Show As MathML output include the annotation. Resolves issue #814. 2014-05-28 10:30:03 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
1424afb792 Fix up variable issues identified by packer 2014-05-07 16:01:13 -04:00
Davide P. Cervone
7f509db1b5 Remove extra space in width (Firefox doesn't process it correctly). 2014-04-25 12:32:58 -04:00
Davide P. Cervone
21282b683f Merge branch 'issue794' into develop. Issue #794. 2014-04-21 19:23:38 -04:00
Davide P. Cervone
521e6c9fda Remove extra level of nesting from \textit, \textbf, etc. 2014-04-21 15:24:30 -04:00
Davide P. Cervone
04295783bc Make sure \bmod gets space even in scripts. Resolves issue #794. 2014-04-21 05:57:10 -04:00
Davide P. Cervone
25bab8f05c Make \newenvironment perform the end substitution BEFORE testing if \end matches the corresponding \begin. This allows \newcommand to use \begin and \end in the substititions. Resolves issue #793. 2014-04-20 14:45:54 -04:00
Davide P. Cervone
f6bc6fa129 Make \\left...\\right be of TeX class INNER. Resolves issue #746. 2014-02-19 19:17:28 -05:00