plurimath 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +469 -0
- data/ARCHITECTURE.md +102 -0
- data/Gemfile +6 -6
- data/Rakefile +7 -7
- data/TODO.bad_symbols.md +45 -0
- data/TODO.bugs/01-unitsml-enoent.md +28 -0
- data/TODO.bugs/02-system-stack-error-cloned-objects.md +34 -0
- data/TODO.bugs/03-omml-underover-displaystyle.md +23 -0
- data/TODO.bugs/04-unitsml-spec-diffs.md +20 -0
- data/TODO.bugs/05-omml-greek-entity-encoding.md +50 -0
- data/TODO.bugs/mml_custom_model_child_order.md +149 -0
- data/TODO.fix-fails/01-phantom-whitespace.md +63 -0
- data/TODO.fix-fails/02-table-parentheses-latex.md +17 -0
- data/TODO.fix-fails/03-longidv-tag-mathml.md +17 -0
- data/TODO.fix-fails/04-mmultiscript-none-mathml.md +17 -0
- data/TODO.fix-fails/05-mstyle-nary-oint-mathml.md +17 -0
- data/TODO.fix-fails/06-issue-238-mathml.md +17 -0
- data/TODO.fix-fails/07-metanorma-bipm-latex.md +19 -0
- data/TODO.fix-fails/08-metanorma-itu-latex.md +17 -0
- data/TODO.fix-fails/09-omml-greek-encoding.md +24 -0
- data/TODO.fix-fails/10-omml-underover-greek.md +19 -0
- data/TODO.fix-fails/11-omml-multiscripts-zwsp.md +19 -0
- data/TODO.fix-fails/12-omml-oint-integral.md +19 -0
- data/TODO.fix-fails/13-omml-nary-prod.md +19 -0
- data/TODO.fix-fails/14-omml-empty-mo.md +19 -0
- data/TODO.fix-fails/REMAINING_FAILURES.md +168 -0
- data/TODO.fix-tests/00-overview.md +102 -0
- data/TODO.fix-tests/01-zero-width-space.md +34 -0
- data/TODO.fix-tests/02-html-linebreak.md +41 -0
- data/TODO.fix-tests/03-phantom-whitespace.md +34 -0
- data/TODO.fix-tests/04-mathml-structure.md +33 -0
- data/TODO.fix-tests/05-omml-rendering.md +27 -0
- data/TODO.mml-plurimath-model.md +86 -0
- data/lib/plurimath/asciimath/constants.rb +4 -2
- data/lib/plurimath/asciimath/parse.rb +3 -3
- data/lib/plurimath/asciimath/parser.rb +5 -5
- data/lib/plurimath/asciimath/transform.rb +9 -7
- data/lib/plurimath/cli.rb +6 -5
- data/lib/plurimath/errors/formatter/unsupported_base.rb +3 -1
- data/lib/plurimath/formatter/number_formatter.rb +6 -3
- data/lib/plurimath/formatter/numbers/fraction.rb +6 -4
- data/lib/plurimath/formatter/numbers/significant.rb +2 -0
- data/lib/plurimath/formatter/numeric_formatter.rb +75 -13
- data/lib/plurimath/formatter/standard.rb +34 -9
- data/lib/plurimath/formatter/supported_locales.rb +1 -1
- data/lib/plurimath/html/transform.rb +6 -4
- data/lib/plurimath/latex/constants.rb +2 -2
- data/lib/plurimath/latex/parse.rb +34 -21
- data/lib/plurimath/latex/parser.rb +6 -6
- data/lib/plurimath/latex/transform.rb +42 -16
- data/lib/plurimath/math/core.rb +61 -36
- data/lib/plurimath/math/formula/mrow.rb +11 -12
- data/lib/plurimath/math/formula/mstyle.rb +3 -1
- data/lib/plurimath/math/formula.rb +107 -60
- data/lib/plurimath/math/function/abs.rb +13 -6
- data/lib/plurimath/math/function/arccos.rb +0 -1
- data/lib/plurimath/math/function/arcsin.rb +0 -1
- data/lib/plurimath/math/function/arctan.rb +0 -1
- data/lib/plurimath/math/function/arg.rb +4 -3
- data/lib/plurimath/math/function/bar.rb +16 -6
- data/lib/plurimath/math/function/base.rb +25 -18
- data/lib/plurimath/math/function/binary_function.rb +77 -26
- data/lib/plurimath/math/function/cancel.rb +6 -3
- data/lib/plurimath/math/function/ceil.rb +6 -3
- data/lib/plurimath/math/function/color.rb +18 -8
- data/lib/plurimath/math/function/cos.rb +0 -1
- data/lib/plurimath/math/function/cosh.rb +0 -1
- data/lib/plurimath/math/function/cot.rb +0 -1
- data/lib/plurimath/math/function/coth.rb +0 -1
- data/lib/plurimath/math/function/csc.rb +0 -1
- data/lib/plurimath/math/function/csch.rb +0 -1
- data/lib/plurimath/math/function/ddot.rb +2 -2
- data/lib/plurimath/math/function/deg.rb +0 -1
- data/lib/plurimath/math/function/det.rb +0 -1
- data/lib/plurimath/math/function/dim.rb +0 -1
- data/lib/plurimath/math/function/dot.rb +14 -6
- data/lib/plurimath/math/function/exp.rb +0 -1
- data/lib/plurimath/math/function/fenced.rb +106 -54
- data/lib/plurimath/math/function/floor.rb +6 -3
- data/lib/plurimath/math/function/font_style/bold-fraktur.rb +2 -2
- data/lib/plurimath/math/function/font_style/bold-italic.rb +0 -1
- data/lib/plurimath/math/function/font_style/bold-sans-serif.rb +2 -2
- data/lib/plurimath/math/function/font_style/bold-script.rb +2 -2
- data/lib/plurimath/math/function/font_style/bold.rb +2 -2
- data/lib/plurimath/math/function/font_style/double_struck.rb +4 -3
- data/lib/plurimath/math/function/font_style/fraktur.rb +2 -2
- data/lib/plurimath/math/function/font_style/italic.rb +2 -2
- data/lib/plurimath/math/function/font_style/monospace.rb +4 -3
- data/lib/plurimath/math/function/font_style/normal.rb +2 -2
- data/lib/plurimath/math/function/font_style/sans-serif-bold-italic.rb +2 -2
- data/lib/plurimath/math/function/font_style/sans-serif-italic.rb +2 -2
- data/lib/plurimath/math/function/font_style/sans-serif.rb +4 -3
- data/lib/plurimath/math/function/font_style/script.rb +2 -2
- data/lib/plurimath/math/function/font_style.rb +70 -26
- data/lib/plurimath/math/function/frac.rb +46 -22
- data/lib/plurimath/math/function/gcd.rb +0 -1
- data/lib/plurimath/math/function/glb.rb +0 -1
- data/lib/plurimath/math/function/hat.rb +13 -6
- data/lib/plurimath/math/function/hom.rb +0 -1
- data/lib/plurimath/math/function/inf.rb +8 -5
- data/lib/plurimath/math/function/int.rb +31 -14
- data/lib/plurimath/math/function/intent.rb +3 -3
- data/lib/plurimath/math/function/ker.rb +0 -1
- data/lib/plurimath/math/function/lcm.rb +0 -1
- data/lib/plurimath/math/function/left.rb +3 -4
- data/lib/plurimath/math/function/lg.rb +0 -1
- data/lib/plurimath/math/function/lim.rb +24 -9
- data/lib/plurimath/math/function/liminf.rb +0 -1
- data/lib/plurimath/math/function/limits.rb +4 -3
- data/lib/plurimath/math/function/limsup.rb +0 -1
- data/lib/plurimath/math/function/linebreak.rb +6 -3
- data/lib/plurimath/math/function/ln.rb +0 -1
- data/lib/plurimath/math/function/log.rb +25 -10
- data/lib/plurimath/math/function/longdiv.rb +0 -2
- data/lib/plurimath/math/function/lub.rb +0 -1
- data/lib/plurimath/math/function/max.rb +0 -1
- data/lib/plurimath/math/function/mbox.rb +4 -2
- data/lib/plurimath/math/function/menclose.rb +15 -9
- data/lib/plurimath/math/function/merror.rb +0 -2
- data/lib/plurimath/math/function/mglyph.rb +12 -14
- data/lib/plurimath/math/function/min.rb +0 -1
- data/lib/plurimath/math/function/mlabeledtr.rb +6 -3
- data/lib/plurimath/math/function/mod.rb +12 -5
- data/lib/plurimath/math/function/mpadded.rb +11 -8
- data/lib/plurimath/math/function/ms.rb +3 -4
- data/lib/plurimath/math/function/msgroup.rb +31 -14
- data/lib/plurimath/math/function/msline.rb +3 -5
- data/lib/plurimath/math/function/multiscript.rb +39 -14
- data/lib/plurimath/math/function/nary.rb +49 -32
- data/lib/plurimath/math/function/none.rb +0 -2
- data/lib/plurimath/math/function/norm.rb +3 -3
- data/lib/plurimath/math/function/obrace.rb +8 -5
- data/lib/plurimath/math/function/oint.rb +48 -18
- data/lib/plurimath/math/function/over.rb +14 -7
- data/lib/plurimath/math/function/overleftrightarrow.rb +76 -0
- data/lib/plurimath/math/function/overset.rb +33 -14
- data/lib/plurimath/math/function/phantom.rb +9 -6
- data/lib/plurimath/math/function/power.rb +24 -12
- data/lib/plurimath/math/function/power_base.rb +14 -8
- data/lib/plurimath/math/function/prod.rb +35 -14
- data/lib/plurimath/math/function/right.rb +3 -4
- data/lib/plurimath/math/function/root.rb +10 -7
- data/lib/plurimath/math/function/rule.rb +1 -1
- data/lib/plurimath/math/function/scarries.rb +0 -2
- data/lib/plurimath/math/function/scarry.rb +0 -1
- data/lib/plurimath/math/function/sec.rb +0 -1
- data/lib/plurimath/math/function/sech.rb +0 -1
- data/lib/plurimath/math/function/semantics.rb +9 -5
- data/lib/plurimath/math/function/sin.rb +0 -1
- data/lib/plurimath/math/function/sinh.rb +0 -1
- data/lib/plurimath/math/function/sqrt.rb +4 -4
- data/lib/plurimath/math/function/stackrel.rb +8 -6
- data/lib/plurimath/math/function/substack.rb +11 -5
- data/lib/plurimath/math/function/sum.rb +38 -15
- data/lib/plurimath/math/function/sup.rb +4 -2
- data/lib/plurimath/math/function/table/align.rb +0 -1
- data/lib/plurimath/math/function/table/array.rb +9 -9
- data/lib/plurimath/math/function/table/bmatrix.rb +15 -7
- data/lib/plurimath/math/function/table/cases.rb +3 -2
- data/lib/plurimath/math/function/table/eqarray.rb +3 -2
- data/lib/plurimath/math/function/table/matrix.rb +10 -5
- data/lib/plurimath/math/function/table/multline.rb +0 -1
- data/lib/plurimath/math/function/table/pmatrix.rb +3 -2
- data/lib/plurimath/math/function/table/split.rb +0 -1
- data/lib/plurimath/math/function/table/vmatrix.rb +5 -4
- data/lib/plurimath/math/function/table.rb +75 -34
- data/lib/plurimath/math/function/tan.rb +0 -1
- data/lib/plurimath/math/function/tanh.rb +0 -1
- data/lib/plurimath/math/function/td.rb +40 -16
- data/lib/plurimath/math/function/ternary_function.rb +89 -31
- data/lib/plurimath/math/function/text.rb +7 -8
- data/lib/plurimath/math/function/tilde.rb +10 -5
- data/lib/plurimath/math/function/tr.rb +47 -18
- data/lib/plurimath/math/function/ubrace.rb +5 -4
- data/lib/plurimath/math/function/ul.rb +10 -6
- data/lib/plurimath/math/function/unary_function.rb +52 -20
- data/lib/plurimath/math/function/underover.rb +42 -15
- data/lib/plurimath/math/function/underset.rb +39 -18
- data/lib/plurimath/math/function/unitsml.rb +34 -14
- data/lib/plurimath/math/function/vec.rb +28 -12
- data/lib/plurimath/math/function.rb +1 -0
- data/lib/plurimath/math/number.rb +5 -4
- data/lib/plurimath/math/symbols/aa.rb +4 -2
- data/lib/plurimath/math/symbols/ac.rb +4 -2
- data/lib/plurimath/math/symbols/accurrent.rb +4 -2
- data/lib/plurimath/math/symbols/acidfree.rb +4 -2
- data/lib/plurimath/math/symbols/acute.rb +4 -2
- data/lib/plurimath/math/symbols/acwcirclearrow.rb +4 -2
- data/lib/plurimath/math/symbols/acwgapcirclearrow.rb +4 -2
- data/lib/plurimath/math/symbols/acwleftarcarrow.rb +4 -2
- data/lib/plurimath/math/symbols/acwoverarcarrow.rb +4 -2
- data/lib/plurimath/math/symbols/acwunderarcarrow.rb +4 -2
- data/lib/plurimath/math/symbols/alpha.rb +4 -2
- data/lib/plurimath/math/symbols/amalg.rb +4 -2
- data/lib/plurimath/math/symbols/ampersand.rb +4 -2
- data/lib/plurimath/math/symbols/anchor.rb +4 -2
- data/lib/plurimath/math/symbols/angdnr.rb +4 -2
- data/lib/plurimath/math/symbols/angle.rb +6 -3
- data/lib/plurimath/math/symbols/angles.rb +4 -2
- data/lib/plurimath/math/symbols/angleubar.rb +4 -2
- data/lib/plurimath/math/symbols/angmsd.rb +7 -3
- data/lib/plurimath/math/symbols/angrtvb.rb +8 -3
- data/lib/plurimath/math/symbols/angsph.rb +7 -3
- data/lib/plurimath/math/symbols/angstrom.rb +6 -2
- data/lib/plurimath/math/symbols/annuity.rb +4 -2
- data/lib/plurimath/math/symbols/aplboxquestion.rb +4 -2
- data/lib/plurimath/math/symbols/aplboxupcaret.rb +4 -2
- data/lib/plurimath/math/symbols/aplcomment.rb +4 -2
- data/lib/plurimath/math/symbols/apldownarrowbox.rb +4 -2
- data/lib/plurimath/math/symbols/aplinput.rb +4 -2
- data/lib/plurimath/math/symbols/aplinv.rb +4 -2
- data/lib/plurimath/math/symbols/aplleftarrowbox.rb +4 -2
- data/lib/plurimath/math/symbols/apllog.rb +4 -2
- data/lib/plurimath/math/symbols/aplrightarrowbox.rb +4 -2
- data/lib/plurimath/math/symbols/apluparrowbox.rb +4 -2
- data/lib/plurimath/math/symbols/apprge.rb +4 -2
- data/lib/plurimath/math/symbols/apprle.rb +4 -2
- data/lib/plurimath/math/symbols/approx.rb +4 -2
- data/lib/plurimath/math/symbols/approxeq.rb +2 -1
- data/lib/plurimath/math/symbols/approxeqq.rb +4 -2
- data/lib/plurimath/math/symbols/approxident.rb +4 -2
- data/lib/plurimath/math/symbols/aquarius.rb +4 -2
- data/lib/plurimath/math/symbols/arceq.rb +4 -2
- data/lib/plurimath/math/symbols/aries.rb +4 -2
- data/lib/plurimath/math/symbols/arrowbullet.rb +4 -2
- data/lib/plurimath/math/symbols/assert.rb +4 -2
- data/lib/plurimath/math/symbols/ast.rb +2 -1
- data/lib/plurimath/math/symbols/asteq.rb +4 -2
- data/lib/plurimath/math/symbols/asteraccent.rb +4 -2
- data/lib/plurimath/math/symbols/asymp.rb +2 -1
- data/lib/plurimath/math/symbols/atsign.rb +4 -2
- data/lib/plurimath/math/symbols/awint.rb +4 -2
- data/lib/plurimath/math/symbols/backcong.rb +4 -2
- data/lib/plurimath/math/symbols/backdprime.rb +4 -2
- data/lib/plurimath/math/symbols/backepsilon.rb +6 -2
- data/lib/plurimath/math/symbols/backprime.rb +4 -2
- data/lib/plurimath/math/symbols/backsim.rb +2 -1
- data/lib/plurimath/math/symbols/backsimeq.rb +2 -1
- data/lib/plurimath/math/symbols/backslash.rb +4 -2
- data/lib/plurimath/math/symbols/backtrprime.rb +4 -2
- data/lib/plurimath/math/symbols/bagmember.rb +4 -2
- data/lib/plurimath/math/symbols/ballotx.rb +4 -2
- data/lib/plurimath/math/symbols/barcap.rb +4 -2
- data/lib/plurimath/math/symbols/barcup.rb +4 -2
- data/lib/plurimath/math/symbols/barin.rb +6 -2
- data/lib/plurimath/math/symbols/barleftarrow.rb +6 -2
- data/lib/plurimath/math/symbols/barleftarrowrightarrowba.rb +6 -2
- data/lib/plurimath/math/symbols/barleftharpoon.rb +10 -2
- data/lib/plurimath/math/symbols/barovernorthwestarrow.rb +6 -2
- data/lib/plurimath/math/symbols/barrightarrowdiamond.rb +6 -2
- data/lib/plurimath/math/symbols/barrightharpoon.rb +10 -2
- data/lib/plurimath/math/symbols/baruparrow.rb +6 -2
- data/lib/plurimath/math/symbols/barv.rb +4 -2
- data/lib/plurimath/math/symbols/barvee.rb +4 -2
- data/lib/plurimath/math/symbols/barwedge.rb +4 -2
- data/lib/plurimath/math/symbols/bbrktbrk.rb +4 -2
- data/lib/plurimath/math/symbols/bdtriplevdash.rb +4 -2
- data/lib/plurimath/math/symbols/because.rb +4 -2
- data/lib/plurimath/math/symbols/benzenr.rb +4 -2
- data/lib/plurimath/math/symbols/beth.rb +2 -1
- data/lib/plurimath/math/symbols/between.rb +2 -1
- data/lib/plurimath/math/symbols/bigblacktriangledown.rb +6 -2
- data/lib/plurimath/math/symbols/bigblacktriangleup.rb +6 -2
- data/lib/plurimath/math/symbols/bigbot.rb +4 -2
- data/lib/plurimath/math/symbols/bigcupdot.rb +4 -2
- data/lib/plurimath/math/symbols/biginterleave.rb +4 -2
- data/lib/plurimath/math/symbols/bigodot.rb +4 -2
- data/lib/plurimath/math/symbols/bigoplus.rb +4 -2
- data/lib/plurimath/math/symbols/bigotimes.rb +4 -2
- data/lib/plurimath/math/symbols/bigslopedvee.rb +4 -2
- data/lib/plurimath/math/symbols/bigslopedwedge.rb +4 -2
- data/lib/plurimath/math/symbols/bigsqcap.rb +4 -2
- data/lib/plurimath/math/symbols/bigsqcup.rb +4 -2
- data/lib/plurimath/math/symbols/bigstar.rb +4 -2
- data/lib/plurimath/math/symbols/bigtalloblong.rb +4 -2
- data/lib/plurimath/math/symbols/bigtop.rb +4 -2
- data/lib/plurimath/math/symbols/bigtriangledown.rb +4 -2
- data/lib/plurimath/math/symbols/bigtriangleleft.rb +4 -2
- data/lib/plurimath/math/symbols/bigtriangleup.rb +7 -3
- data/lib/plurimath/math/symbols/biguplus.rb +4 -2
- data/lib/plurimath/math/symbols/bigwedge.rb +4 -2
- data/lib/plurimath/math/symbols/bigwhitestar.rb +4 -2
- data/lib/plurimath/math/symbols/bij.rb +9 -3
- data/lib/plurimath/math/symbols/biohazard.rb +4 -2
- data/lib/plurimath/math/symbols/blackcircledownarrow.rb +6 -2
- data/lib/plurimath/math/symbols/blackcircledrightdot.rb +6 -2
- data/lib/plurimath/math/symbols/blackcircledtwodots.rb +6 -2
- data/lib/plurimath/math/symbols/blackcircleulquadwhite.rb +6 -2
- data/lib/plurimath/math/symbols/blackdiamonddownarrow.rb +6 -2
- data/lib/plurimath/math/symbols/blackhourglass.rb +4 -2
- data/lib/plurimath/math/symbols/blackinwhitediamond.rb +6 -2
- data/lib/plurimath/math/symbols/blackinwhitesquare.rb +6 -2
- data/lib/plurimath/math/symbols/blacklozenge.rb +6 -2
- data/lib/plurimath/math/symbols/blackpointerleft.rb +4 -2
- data/lib/plurimath/math/symbols/blackpointerright.rb +4 -2
- data/lib/plurimath/math/symbols/blacksmiley.rb +6 -2
- data/lib/plurimath/math/symbols/blacktriangle.rb +6 -2
- data/lib/plurimath/math/symbols/blacktriangledown.rb +4 -2
- data/lib/plurimath/math/symbols/blkhorzoval.rb +4 -2
- data/lib/plurimath/math/symbols/blkvertoval.rb +4 -2
- data/lib/plurimath/math/symbols/blockfull.rb +4 -2
- data/lib/plurimath/math/symbols/blockhalfshaded.rb +4 -2
- data/lib/plurimath/math/symbols/blocklefthalf.rb +4 -2
- data/lib/plurimath/math/symbols/blocklowhalf.rb +4 -2
- data/lib/plurimath/math/symbols/blockqtrshaded.rb +4 -2
- data/lib/plurimath/math/symbols/blockrighthalf.rb +4 -2
- data/lib/plurimath/math/symbols/blockthreeqtrshaded.rb +6 -2
- data/lib/plurimath/math/symbols/blockuphalf.rb +4 -2
- data/lib/plurimath/math/symbols/bnot.rb +4 -2
- data/lib/plurimath/math/symbols/bot.rb +6 -2
- data/lib/plurimath/math/symbols/botsemicircle.rb +4 -2
- data/lib/plurimath/math/symbols/bowtie.rb +6 -3
- data/lib/plurimath/math/symbols/box.rb +8 -3
- data/lib/plurimath/math/symbols/boxast.rb +4 -2
- data/lib/plurimath/math/symbols/boxbar.rb +4 -2
- data/lib/plurimath/math/symbols/boxbox.rb +4 -2
- data/lib/plurimath/math/symbols/boxbslash.rb +4 -2
- data/lib/plurimath/math/symbols/boxcircle.rb +4 -2
- data/lib/plurimath/math/symbols/boxdiag.rb +6 -2
- data/lib/plurimath/math/symbols/boxdot.rb +2 -1
- data/lib/plurimath/math/symbols/boxminus.rb +2 -1
- data/lib/plurimath/math/symbols/boxonbox.rb +4 -2
- data/lib/plurimath/math/symbols/boxplus.rb +2 -1
- data/lib/plurimath/math/symbols/boxtimes.rb +2 -1
- data/lib/plurimath/math/symbols/breve.rb +4 -2
- data/lib/plurimath/math/symbols/bsimilarleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/bsimilarrightarrow.rb +6 -2
- data/lib/plurimath/math/symbols/bsolhsub.rb +4 -2
- data/lib/plurimath/math/symbols/btimes.rb +4 -2
- data/lib/plurimath/math/symbols/bullet.rb +7 -3
- data/lib/plurimath/math/symbols/bullseye.rb +4 -2
- data/lib/plurimath/math/symbols/bumpeq.rb +2 -1
- data/lib/plurimath/math/symbols/bumpeqq.rb +4 -2
- data/lib/plurimath/math/symbols/buni.rb +4 -2
- data/lib/plurimath/math/symbols/cancer.rb +4 -2
- data/lib/plurimath/math/symbols/candra.rb +4 -2
- data/lib/plurimath/math/symbols/capbarcup.rb +4 -2
- data/lib/plurimath/math/symbols/capdot.rb +4 -2
- data/lib/plurimath/math/symbols/capovercup.rb +4 -2
- data/lib/plurimath/math/symbols/capricornus.rb +4 -2
- data/lib/plurimath/math/symbols/capwedge.rb +4 -2
- data/lib/plurimath/math/symbols/caretinsert.rb +4 -2
- data/lib/plurimath/math/symbols/carriagereturn.rb +4 -2
- data/lib/plurimath/math/symbols/cat.rb +4 -2
- data/lib/plurimath/math/symbols/ccwundercurvearrow.rb +6 -2
- data/lib/plurimath/math/symbols/cdot.rb +2 -1
- data/lib/plurimath/math/symbols/cdots.rb +5 -2
- data/lib/plurimath/math/symbols/cent.rb +4 -2
- data/lib/plurimath/math/symbols/check.rb +4 -2
- data/lib/plurimath/math/symbols/checkedbox.rb +4 -2
- data/lib/plurimath/math/symbols/checkmark.rb +6 -2
- data/lib/plurimath/math/symbols/chi.rb +4 -2
- data/lib/plurimath/math/symbols/cirbot.rb +4 -2
- data/lib/plurimath/math/symbols/circ.rb +4 -2
- data/lib/plurimath/math/symbols/circeq.rb +2 -1
- data/lib/plurimath/math/symbols/circle.rb +6 -2
- data/lib/plurimath/math/symbols/circlebottomhalfblack.rb +6 -2
- data/lib/plurimath/math/symbols/circledbullet.rb +4 -2
- data/lib/plurimath/math/symbols/circledgtr.rb +6 -2
- data/lib/plurimath/math/symbols/circledownarrow.rb +4 -2
- data/lib/plurimath/math/symbols/circledparallel.rb +4 -2
- data/lib/plurimath/math/symbols/circledr.rb +4 -2
- data/lib/plurimath/math/symbols/circledrightdot.rb +4 -2
- data/lib/plurimath/math/symbols/circledstar.rb +4 -2
- data/lib/plurimath/math/symbols/circledtwodots.rb +4 -2
- data/lib/plurimath/math/symbols/circledvert.rb +4 -2
- data/lib/plurimath/math/symbols/circledwhitebullet.rb +6 -2
- data/lib/plurimath/math/symbols/circlehbar.rb +4 -2
- data/lib/plurimath/math/symbols/circlellquad.rb +4 -2
- data/lib/plurimath/math/symbols/circlelrquad.rb +4 -2
- data/lib/plurimath/math/symbols/circleonleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/circleonrightarrow.rb +6 -2
- data/lib/plurimath/math/symbols/circletophalfblack.rb +6 -2
- data/lib/plurimath/math/symbols/circleulquad.rb +4 -2
- data/lib/plurimath/math/symbols/circleurquad.rb +4 -2
- data/lib/plurimath/math/symbols/circleurquadblack.rb +4 -2
- data/lib/plurimath/math/symbols/circlevertfill.rb +4 -2
- data/lib/plurimath/math/symbols/cire.rb +4 -2
- data/lib/plurimath/math/symbols/cirfnint.rb +4 -2
- data/lib/plurimath/math/symbols/cirmid.rb +4 -2
- data/lib/plurimath/math/symbols/cirscir.rb +4 -2
- data/lib/plurimath/math/symbols/clockoint.rb +6 -2
- data/lib/plurimath/math/symbols/closedvarcap.rb +4 -2
- data/lib/plurimath/math/symbols/closedvarcup.rb +4 -2
- data/lib/plurimath/math/symbols/closedvarcupsmashprod.rb +6 -2
- data/lib/plurimath/math/symbols/closure.rb +4 -2
- data/lib/plurimath/math/symbols/clubsuit.rb +2 -1
- data/lib/plurimath/math/symbols/cntclockoint.rb +6 -2
- data/lib/plurimath/math/symbols/colon.rb +7 -3
- data/lib/plurimath/math/symbols/coloneq.rb +6 -2
- data/lib/plurimath/math/symbols/comma.rb +4 -2
- data/lib/plurimath/math/symbols/commaminus.rb +4 -2
- data/lib/plurimath/math/symbols/comp.rb +4 -2
- data/lib/plurimath/math/symbols/complement.rb +2 -1
- data/lib/plurimath/math/symbols/concavediamond.rb +4 -2
- data/lib/plurimath/math/symbols/concavediamondtickleft.rb +6 -2
- data/lib/plurimath/math/symbols/concavediamondtickright.rb +6 -2
- data/lib/plurimath/math/symbols/cong.rb +2 -1
- data/lib/plurimath/math/symbols/congdot.rb +4 -2
- data/lib/plurimath/math/symbols/conictaper.rb +4 -2
- data/lib/plurimath/math/symbols/conjquant.rb +4 -2
- data/lib/plurimath/math/symbols/coprod.rb +4 -2
- data/lib/plurimath/math/symbols/csub.rb +4 -2
- data/lib/plurimath/math/symbols/csube.rb +4 -2
- data/lib/plurimath/math/symbols/csup.rb +4 -2
- data/lib/plurimath/math/symbols/csupe.rb +4 -2
- data/lib/plurimath/math/symbols/cuberoot.rb +4 -2
- data/lib/plurimath/math/symbols/cupbarcap.rb +4 -2
- data/lib/plurimath/math/symbols/cupdot.rb +4 -2
- data/lib/plurimath/math/symbols/cupleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/cupovercap.rb +4 -2
- data/lib/plurimath/math/symbols/cupvee.rb +4 -2
- data/lib/plurimath/math/symbols/curlyeqprec.rb +2 -1
- data/lib/plurimath/math/symbols/curlyeqsucc.rb +2 -1
- data/lib/plurimath/math/symbols/curlyvee.rb +2 -1
- data/lib/plurimath/math/symbols/curlywedge.rb +2 -1
- data/lib/plurimath/math/symbols/curvearrowleftplus.rb +6 -2
- data/lib/plurimath/math/symbols/curvearrowright.rb +4 -2
- data/lib/plurimath/math/symbols/curvearrowrightminus.rb +6 -2
- data/lib/plurimath/math/symbols/cwcirclearrow.rb +4 -2
- data/lib/plurimath/math/symbols/cwgapcirclearrow.rb +4 -2
- data/lib/plurimath/math/symbols/cwrightarcarrow.rb +4 -2
- data/lib/plurimath/math/symbols/cwundercurvearrow.rb +4 -2
- data/lib/plurimath/math/symbols/dag.rb +6 -3
- data/lib/plurimath/math/symbols/daleth.rb +2 -1
- data/lib/plurimath/math/symbols/danger.rb +4 -2
- data/lib/plurimath/math/symbols/darr.rb +4 -2
- data/lib/plurimath/math/symbols/dasharrow.rb +8 -3
- data/lib/plurimath/math/symbols/dasharrowright.rb +4 -2
- data/lib/plurimath/math/symbols/dashv.rb +4 -2
- data/lib/plurimath/math/symbols/dashvdash.rb +4 -2
- data/lib/plurimath/math/symbols/dbkarow.rb +4 -2
- data/lib/plurimath/math/symbols/dd.rb +5 -2
- data/lib/plurimath/math/symbols/ddag.rb +6 -3
- data/lib/plurimath/math/symbols/ddddot.rb +4 -2
- data/lib/plurimath/math/symbols/dddot.rb +4 -2
- data/lib/plurimath/math/symbols/ddotseq.rb +4 -2
- data/lib/plurimath/math/symbols/ddownarrow.rb +4 -2
- data/lib/plurimath/math/symbols/degc.rb +2 -1
- data/lib/plurimath/math/symbols/degf.rb +2 -1
- data/lib/plurimath/math/symbols/degree.rb +2 -1
- data/lib/plurimath/math/symbols/del.rb +6 -3
- data/lib/plurimath/math/symbols/delta.rb +4 -2
- data/lib/plurimath/math/symbols/deltaeq.rb +8 -3
- data/lib/plurimath/math/symbols/diameter.rb +4 -2
- data/lib/plurimath/math/symbols/diamond.rb +4 -2
- data/lib/plurimath/math/symbols/diamondblack.rb +6 -2
- data/lib/plurimath/math/symbols/diamondbotblack.rb +4 -2
- data/lib/plurimath/math/symbols/diamonddot.rb +6 -2
- data/lib/plurimath/math/symbols/diamondleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/diamondleftarrowbar.rb +6 -2
- data/lib/plurimath/math/symbols/diamondleftblack.rb +4 -2
- data/lib/plurimath/math/symbols/diamondrightblack.rb +4 -2
- data/lib/plurimath/math/symbols/diamondtopblack.rb +4 -2
- data/lib/plurimath/math/symbols/dicei.rb +4 -2
- data/lib/plurimath/math/symbols/diceii.rb +4 -2
- data/lib/plurimath/math/symbols/diceiii.rb +4 -2
- data/lib/plurimath/math/symbols/diceiv.rb +4 -2
- data/lib/plurimath/math/symbols/dicev.rb +4 -2
- data/lib/plurimath/math/symbols/dicevi.rb +4 -2
- data/lib/plurimath/math/symbols/digamma.rb +6 -2
- data/lib/plurimath/math/symbols/dingasterisk.rb +4 -2
- data/lib/plurimath/math/symbols/dint.rb +7 -3
- data/lib/plurimath/math/symbols/disin.rb +4 -2
- data/lib/plurimath/math/symbols/disjquant.rb +4 -2
- data/lib/plurimath/math/symbols/div.rb +2 -1
- data/lib/plurimath/math/symbols/divideontimes.rb +2 -1
- data/lib/plurimath/math/symbols/doteq.rb +4 -2
- data/lib/plurimath/math/symbols/dotequiv.rb +4 -2
- data/lib/plurimath/math/symbols/dotminus.rb +2 -1
- data/lib/plurimath/math/symbols/dotplus.rb +2 -1
- data/lib/plurimath/math/symbols/dots.rb +7 -3
- data/lib/plurimath/math/symbols/dotsim.rb +4 -2
- data/lib/plurimath/math/symbols/dotsminusdots.rb +4 -2
- data/lib/plurimath/math/symbols/dottedcircle.rb +4 -2
- data/lib/plurimath/math/symbols/dottedsquare.rb +4 -2
- data/lib/plurimath/math/symbols/dottimes.rb +4 -2
- data/lib/plurimath/math/symbols/doublebarvee.rb +4 -2
- data/lib/plurimath/math/symbols/doublebarwedge.rb +4 -2
- data/lib/plurimath/math/symbols/doubleplus.rb +4 -2
- data/lib/plurimath/math/symbols/downarrow.rb +2 -1
- data/lib/plurimath/math/symbols/downarrowbar.rb +6 -2
- data/lib/plurimath/math/symbols/downarrowbarred.rb +4 -2
- data/lib/plurimath/math/symbols/downarrows.rb +7 -3
- data/lib/plurimath/math/symbols/downdasharrow.rb +4 -2
- data/lib/plurimath/math/symbols/downdownharpoons.rb +8 -2
- data/lib/plurimath/math/symbols/downfishtail.rb +4 -2
- data/lib/plurimath/math/symbols/downharpoonleft.rb +5 -2
- data/lib/plurimath/math/symbols/downharpoonright.rb +8 -2
- data/lib/plurimath/math/symbols/downleftteevector.rb +10 -2
- data/lib/plurimath/math/symbols/downleftvectorbar.rb +10 -2
- data/lib/plurimath/math/symbols/downrightcurvedarrow.rb +6 -2
- data/lib/plurimath/math/symbols/downrightteevector.rb +8 -2
- data/lib/plurimath/math/symbols/downrightvectorbar.rb +8 -2
- data/lib/plurimath/math/symbols/downtriangleleftblack.rb +6 -2
- data/lib/plurimath/math/symbols/downtrianglerightblack.rb +6 -2
- data/lib/plurimath/math/symbols/downuparrows.rb +6 -2
- data/lib/plurimath/math/symbols/downupharpoons.rb +12 -3
- data/lib/plurimath/math/symbols/downwhitearrow.rb +4 -2
- data/lib/plurimath/math/symbols/dprime.rb +7 -3
- data/lib/plurimath/math/symbols/draftingarrow.rb +4 -2
- data/lib/plurimath/math/symbols/drbkarow.rb +4 -2
- data/lib/plurimath/math/symbols/droang.rb +4 -2
- data/lib/plurimath/math/symbols/dsol.rb +4 -2
- data/lib/plurimath/math/symbols/dsub.rb +4 -2
- data/lib/plurimath/math/symbols/dualmap.rb +6 -2
- data/lib/plurimath/math/symbols/duni.rb +7 -3
- data/lib/plurimath/math/symbols/earth.rb +4 -2
- data/lib/plurimath/math/symbols/ee.rb +6 -3
- data/lib/plurimath/math/symbols/egsdot.rb +4 -2
- data/lib/plurimath/math/symbols/eighthnote.rb +4 -2
- data/lib/plurimath/math/symbols/elinters.rb +4 -2
- data/lib/plurimath/math/symbols/elsdot.rb +4 -2
- data/lib/plurimath/math/symbols/emptyset.rb +6 -3
- data/lib/plurimath/math/symbols/emptysetoarr.rb +4 -2
- data/lib/plurimath/math/symbols/emptysetoarrl.rb +4 -2
- data/lib/plurimath/math/symbols/emptysetobar.rb +4 -2
- data/lib/plurimath/math/symbols/emptysetocirc.rb +4 -2
- data/lib/plurimath/math/symbols/enclosecircle.rb +4 -2
- data/lib/plurimath/math/symbols/enclosediamond.rb +4 -2
- data/lib/plurimath/math/symbols/enclosesquare.rb +4 -2
- data/lib/plurimath/math/symbols/enclosetriangle.rb +4 -2
- data/lib/plurimath/math/symbols/enleadertwodots.rb +4 -2
- data/lib/plurimath/math/symbols/epar.rb +7 -3
- data/lib/plurimath/math/symbols/eparsl.rb +4 -2
- data/lib/plurimath/math/symbols/epsilon.rb +8 -3
- data/lib/plurimath/math/symbols/eqcirc.rb +2 -1
- data/lib/plurimath/math/symbols/eqcolon.rb +6 -2
- data/lib/plurimath/math/symbols/eqdef.rb +4 -2
- data/lib/plurimath/math/symbols/eqdot.rb +4 -2
- data/lib/plurimath/math/symbols/eqeq.rb +4 -2
- data/lib/plurimath/math/symbols/eqgtr.rb +2 -1
- data/lib/plurimath/math/symbols/eqless.rb +4 -2
- data/lib/plurimath/math/symbols/eqno.rb +7 -3
- data/lib/plurimath/math/symbols/eqqcolon.rb +4 -2
- data/lib/plurimath/math/symbols/eqqgtr.rb +4 -2
- data/lib/plurimath/math/symbols/eqqless.rb +4 -2
- data/lib/plurimath/math/symbols/eqqplus.rb +4 -2
- data/lib/plurimath/math/symbols/eqqsim.rb +4 -2
- data/lib/plurimath/math/symbols/eqqslantgtr.rb +4 -2
- data/lib/plurimath/math/symbols/eqqslantless.rb +4 -2
- data/lib/plurimath/math/symbols/eqsim.rb +4 -2
- data/lib/plurimath/math/symbols/eqslantgtr.rb +4 -2
- data/lib/plurimath/math/symbols/eqslantless.rb +4 -2
- data/lib/plurimath/math/symbols/equal.rb +4 -2
- data/lib/plurimath/math/symbols/equalleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/equalrightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/equiv.rb +2 -1
- data/lib/plurimath/math/symbols/equivdd.rb +4 -2
- data/lib/plurimath/math/symbols/equivvert.rb +4 -2
- data/lib/plurimath/math/symbols/equivvvert.rb +4 -2
- data/lib/plurimath/math/symbols/eqvparsl.rb +4 -2
- data/lib/plurimath/math/symbols/errbarblackcircle.rb +4 -2
- data/lib/plurimath/math/symbols/errbarblackdiamond.rb +6 -2
- data/lib/plurimath/math/symbols/errbarblacksquare.rb +4 -2
- data/lib/plurimath/math/symbols/errbarcircle.rb +4 -2
- data/lib/plurimath/math/symbols/errbardiamond.rb +4 -2
- data/lib/plurimath/math/symbols/errbarsquare.rb +4 -2
- data/lib/plurimath/math/symbols/eta.rb +4 -2
- data/lib/plurimath/math/symbols/eth.rb +4 -2
- data/lib/plurimath/math/symbols/euler.rb +6 -2
- data/lib/plurimath/math/symbols/euro.rb +4 -2
- data/lib/plurimath/math/symbols/exclam.rb +4 -2
- data/lib/plurimath/math/symbols/exi.rb +6 -3
- data/lib/plurimath/math/symbols/exists.rb +6 -3
- data/lib/plurimath/math/symbols/fallingdotseq.rb +2 -1
- data/lib/plurimath/math/symbols/fbowtie.rb +4 -2
- data/lib/plurimath/math/symbols/fdiagovnearrow.rb +4 -2
- data/lib/plurimath/math/symbols/fdiagovrdiag.rb +4 -2
- data/lib/plurimath/math/symbols/ffun.rb +6 -2
- data/lib/plurimath/math/symbols/finj.rb +6 -2
- data/lib/plurimath/math/symbols/fint.rb +4 -2
- data/lib/plurimath/math/symbols/finv.rb +4 -2
- data/lib/plurimath/math/symbols/fisheye.rb +4 -2
- data/lib/plurimath/math/symbols/flat.rb +4 -2
- data/lib/plurimath/math/symbols/fltns.rb +4 -2
- data/lib/plurimath/math/symbols/forall.rb +4 -2
- data/lib/plurimath/math/symbols/forks.rb +4 -2
- data/lib/plurimath/math/symbols/forksnot.rb +4 -2
- data/lib/plurimath/math/symbols/forkv.rb +4 -2
- data/lib/plurimath/math/symbols/fourthroot.rb +4 -2
- data/lib/plurimath/math/symbols/fourvdots.rb +4 -2
- data/lib/plurimath/math/symbols/fracslash.rb +4 -2
- data/lib/plurimath/math/symbols/fullouterjoin.rb +4 -2
- data/lib/plurimath/math/symbols/funcapply.rb +2 -1
- data/lib/plurimath/math/symbols/game.rb +4 -2
- data/lib/plurimath/math/symbols/gamma.rb +4 -2
- data/lib/plurimath/math/symbols/ge.rb +6 -3
- data/lib/plurimath/math/symbols/gemini.rb +4 -2
- data/lib/plurimath/math/symbols/geq.rb +6 -3
- data/lib/plurimath/math/symbols/geqq.rb +2 -1
- data/lib/plurimath/math/symbols/geqqslant.rb +4 -2
- data/lib/plurimath/math/symbols/geqslant.rb +4 -2
- data/lib/plurimath/math/symbols/gescc.rb +4 -2
- data/lib/plurimath/math/symbols/gesdot.rb +4 -2
- data/lib/plurimath/math/symbols/gesdoto.rb +4 -2
- data/lib/plurimath/math/symbols/gesdotol.rb +4 -2
- data/lib/plurimath/math/symbols/gesles.rb +4 -2
- data/lib/plurimath/math/symbols/gets.rb +6 -3
- data/lib/plurimath/math/symbols/gg.rb +2 -1
- data/lib/plurimath/math/symbols/gggnest.rb +4 -2
- data/lib/plurimath/math/symbols/gimel.rb +2 -1
- data/lib/plurimath/math/symbols/gleichstark.rb +4 -2
- data/lib/plurimath/math/symbols/gnapprox.rb +4 -2
- data/lib/plurimath/math/symbols/gneq.rb +4 -2
- data/lib/plurimath/math/symbols/gneqq.rb +2 -1
- data/lib/plurimath/math/symbols/gnsim.rb +4 -2
- data/lib/plurimath/math/symbols/grad.rb +4 -2
- data/lib/plurimath/math/symbols/grave.rb +4 -2
- data/lib/plurimath/math/symbols/greater.rb +7 -3
- data/lib/plurimath/math/symbols/gsime.rb +4 -2
- data/lib/plurimath/math/symbols/gsiml.rb +4 -2
- data/lib/plurimath/math/symbols/gt.rb +7 -3
- data/lib/plurimath/math/symbols/gtcc.rb +6 -2
- data/lib/plurimath/math/symbols/gtcir.rb +4 -2
- data/lib/plurimath/math/symbols/gtlpar.rb +4 -2
- data/lib/plurimath/math/symbols/gtquest.rb +4 -2
- data/lib/plurimath/math/symbols/gtrapprox.rb +4 -2
- data/lib/plurimath/math/symbols/gtrarr.rb +4 -2
- data/lib/plurimath/math/symbols/gtrdot.rb +2 -1
- data/lib/plurimath/math/symbols/gtreqless.rb +2 -1
- data/lib/plurimath/math/symbols/gtreqqless.rb +4 -2
- data/lib/plurimath/math/symbols/gtrless.rb +5 -2
- data/lib/plurimath/math/symbols/harr.rb +5 -2
- data/lib/plurimath/math/symbols/hash.rb +6 -2
- data/lib/plurimath/math/symbols/hatapprox.rb +4 -2
- data/lib/plurimath/math/symbols/hbar.rb +6 -3
- data/lib/plurimath/math/symbols/hearsuit.rb +7 -3
- data/lib/plurimath/math/symbols/hermaphrodite.rb +4 -2
- data/lib/plurimath/math/symbols/hermitmatrix.rb +4 -2
- data/lib/plurimath/math/symbols/hexagon.rb +4 -2
- data/lib/plurimath/math/symbols/hexagonblack.rb +4 -2
- data/lib/plurimath/math/symbols/hide.rb +6 -2
- data/lib/plurimath/math/symbols/hknearrow.rb +4 -2
- data/lib/plurimath/math/symbols/hknwarrow.rb +4 -2
- data/lib/plurimath/math/symbols/hksearow.rb +4 -2
- data/lib/plurimath/math/symbols/hkswarow.rb +4 -2
- data/lib/plurimath/math/symbols/hline.rb +6 -2
- data/lib/plurimath/math/symbols/hookleftarrow.rb +2 -1
- data/lib/plurimath/math/symbols/hookrightarrow.rb +2 -1
- data/lib/plurimath/math/symbols/horizbar.rb +4 -2
- data/lib/plurimath/math/symbols/hourglass.rb +4 -2
- data/lib/plurimath/math/symbols/house.rb +4 -2
- data/lib/plurimath/math/symbols/hrectangle.rb +4 -2
- data/lib/plurimath/math/symbols/hrectangleblack.rb +4 -2
- data/lib/plurimath/math/symbols/hyphenbullet.rb +4 -2
- data/lib/plurimath/math/symbols/hzigzag.rb +4 -2
- data/lib/plurimath/math/symbols/iff.rb +8 -3
- data/lib/plurimath/math/symbols/ii.rb +4 -2
- data/lib/plurimath/math/symbols/iiiint.rb +4 -2
- data/lib/plurimath/math/symbols/iiint.rb +4 -2
- data/lib/plurimath/math/symbols/iinfin.rb +4 -2
- data/lib/plurimath/math/symbols/iint.rb +4 -2
- data/lib/plurimath/math/symbols/imageof.rb +6 -2
- data/lib/plurimath/math/symbols/imath.rb +2 -1
- data/lib/plurimath/math/symbols/impliedby.rb +5 -2
- data/lib/plurimath/math/symbols/inc.rb +6 -3
- data/lib/plurimath/math/symbols/intbar.rb +4 -2
- data/lib/plurimath/math/symbols/intbottom.rb +4 -2
- data/lib/plurimath/math/symbols/intcap.rb +4 -2
- data/lib/plurimath/math/symbols/intclockwise.rb +4 -2
- data/lib/plurimath/math/symbols/intcup.rb +4 -2
- data/lib/plurimath/math/symbols/intercal.rb +2 -1
- data/lib/plurimath/math/symbols/interleave.rb +4 -2
- data/lib/plurimath/math/symbols/intextender.rb +4 -2
- data/lib/plurimath/math/symbols/intlarhk.rb +4 -2
- data/lib/plurimath/math/symbols/intprod.rb +4 -2
- data/lib/plurimath/math/symbols/intprodr.rb +4 -2
- data/lib/plurimath/math/symbols/inttop.rb +4 -2
- data/lib/plurimath/math/symbols/intx.rb +4 -2
- data/lib/plurimath/math/symbols/invdiameter.rb +4 -2
- data/lib/plurimath/math/symbols/inversebullet.rb +4 -2
- data/lib/plurimath/math/symbols/inversewhitecircle.rb +6 -2
- data/lib/plurimath/math/symbols/invlazys.rb +4 -2
- data/lib/plurimath/math/symbols/invnot.rb +4 -2
- data/lib/plurimath/math/symbols/invwhitelowerhalfcircle.rb +6 -2
- data/lib/plurimath/math/symbols/invwhiteupperhalfcircle.rb +6 -2
- data/lib/plurimath/math/symbols/iota.rb +4 -2
- data/lib/plurimath/math/symbols/isindot.rb +4 -2
- data/lib/plurimath/math/symbols/isine.rb +4 -2
- data/lib/plurimath/math/symbols/isinobar.rb +4 -2
- data/lib/plurimath/math/symbols/isins.rb +4 -2
- data/lib/plurimath/math/symbols/isinvb.rb +4 -2
- data/lib/plurimath/math/symbols/jj.rb +4 -2
- data/lib/plurimath/math/symbols/jmath.rb +2 -1
- data/lib/plurimath/math/symbols/join.rb +4 -2
- data/lib/plurimath/math/symbols/jupiter.rb +6 -2
- data/lib/plurimath/math/symbols/kappa.rb +4 -2
- data/lib/plurimath/math/symbols/kernelcontraction.rb +4 -2
- data/lib/plurimath/math/symbols/koppa.rb +6 -2
- data/lib/plurimath/math/symbols/lambda.rb +4 -2
- data/lib/plurimath/math/symbols/land.rb +6 -3
- data/lib/plurimath/math/symbols/lang.rb +4 -2
- data/lib/plurimath/math/symbols/langledot.rb +4 -2
- data/lib/plurimath/math/symbols/laplac.rb +4 -2
- data/lib/plurimath/math/symbols/larr.rb +4 -2
- data/lib/plurimath/math/symbols/late.rb +4 -2
- data/lib/plurimath/math/symbols/lbag.rb +4 -2
- data/lib/plurimath/math/symbols/lblkbrbrak.rb +4 -2
- data/lib/plurimath/math/symbols/lblot.rb +4 -2
- data/lib/plurimath/math/symbols/lbracelend.rb +4 -2
- data/lib/plurimath/math/symbols/lbracemid.rb +4 -2
- data/lib/plurimath/math/symbols/lbraceuend.rb +4 -2
- data/lib/plurimath/math/symbols/lbrackextender.rb +4 -2
- data/lib/plurimath/math/symbols/lbracklend.rb +4 -2
- data/lib/plurimath/math/symbols/lbracklltick.rb +4 -2
- data/lib/plurimath/math/symbols/lbrackubar.rb +4 -2
- data/lib/plurimath/math/symbols/lbrackuend.rb +4 -2
- data/lib/plurimath/math/symbols/lbrackultick.rb +4 -2
- data/lib/plurimath/math/symbols/lbrbrak.rb +4 -2
- data/lib/plurimath/math/symbols/lcurvyangle.rb +4 -2
- data/lib/plurimath/math/symbols/ldsh.rb +7 -3
- data/lib/plurimath/math/symbols/le.rb +6 -3
- data/lib/plurimath/math/symbols/leadsto.rb +6 -2
- data/lib/plurimath/math/symbols/leftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowapprox.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowbackapprox.rb +6 -2
- data/lib/plurimath/math/symbols/leftarrowbsimilar.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowless.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowonoplus.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowplus.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowshortrightarrow.rb +6 -2
- data/lib/plurimath/math/symbols/leftarrowsimilar.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowsubset.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowtail.rb +2 -1
- data/lib/plurimath/math/symbols/leftarrowtriangle.rb +4 -2
- data/lib/plurimath/math/symbols/leftarrowx.rb +4 -2
- data/lib/plurimath/math/symbols/leftbarharpoon.rb +8 -2
- data/lib/plurimath/math/symbols/leftbkarrow.rb +4 -2
- data/lib/plurimath/math/symbols/leftcircle.rb +6 -2
- data/lib/plurimath/math/symbols/leftcurvedarrow.rb +4 -2
- data/lib/plurimath/math/symbols/leftdasharrow.rb +8 -3
- data/lib/plurimath/math/symbols/leftdbkarrow.rb +4 -2
- data/lib/plurimath/math/symbols/leftdbltail.rb +4 -2
- data/lib/plurimath/math/symbols/leftdotarrow.rb +4 -2
- data/lib/plurimath/math/symbols/leftdowncurvedarrow.rb +6 -2
- data/lib/plurimath/math/symbols/leftdownteevector.rb +10 -2
- data/lib/plurimath/math/symbols/leftdownvectorbar.rb +10 -2
- data/lib/plurimath/math/symbols/leftharpoondown.rb +2 -1
- data/lib/plurimath/math/symbols/leftharpoonup.rb +2 -1
- data/lib/plurimath/math/symbols/leftleftarrows.rb +2 -1
- data/lib/plurimath/math/symbols/leftleftharpoons.rb +10 -2
- data/lib/plurimath/math/symbols/leftmoon.rb +4 -2
- data/lib/plurimath/math/symbols/leftouterjoin.rb +4 -2
- data/lib/plurimath/math/symbols/leftrightarrow.rb +5 -2
- data/lib/plurimath/math/symbols/leftrightarrowcircle.rb +6 -2
- data/lib/plurimath/math/symbols/leftrightarrows.rb +2 -1
- data/lib/plurimath/math/symbols/leftrightarrowtriangle.rb +6 -2
- data/lib/plurimath/math/symbols/leftrightharpoon.rb +6 -2
- data/lib/plurimath/math/symbols/leftrightharpoondown.rb +8 -3
- data/lib/plurimath/math/symbols/leftrightharpoonsdown.rb +6 -2
- data/lib/plurimath/math/symbols/leftrightharpoonsup.rb +6 -2
- data/lib/plurimath/math/symbols/leftrightharpoonup.rb +6 -2
- data/lib/plurimath/math/symbols/leftrightwavearrow.rb +8 -3
- data/lib/plurimath/math/symbols/leftsquigarrow.rb +2 -1
- data/lib/plurimath/math/symbols/lefttail.rb +4 -2
- data/lib/plurimath/math/symbols/leftteevector.rb +6 -2
- data/lib/plurimath/math/symbols/leftthreearrows.rb +4 -2
- data/lib/plurimath/math/symbols/leftthreetimes.rb +2 -1
- data/lib/plurimath/math/symbols/leftturn.rb +8 -3
- data/lib/plurimath/math/symbols/leftupdownharpoon.rb +6 -2
- data/lib/plurimath/math/symbols/leftupteevector.rb +8 -2
- data/lib/plurimath/math/symbols/leftupvectorbar.rb +8 -2
- data/lib/plurimath/math/symbols/leftvectorbar.rb +6 -2
- data/lib/plurimath/math/symbols/leftwavearrow.rb +2 -1
- data/lib/plurimath/math/symbols/leftwhitearrow.rb +4 -2
- data/lib/plurimath/math/symbols/leo.rb +4 -2
- data/lib/plurimath/math/symbols/leq.rb +6 -3
- data/lib/plurimath/math/symbols/leqq.rb +2 -1
- data/lib/plurimath/math/symbols/leqqslant.rb +4 -2
- data/lib/plurimath/math/symbols/leqslant.rb +4 -2
- data/lib/plurimath/math/symbols/lescc.rb +4 -2
- data/lib/plurimath/math/symbols/lesdot.rb +4 -2
- data/lib/plurimath/math/symbols/lesdoto.rb +4 -2
- data/lib/plurimath/math/symbols/lesdotor.rb +4 -2
- data/lib/plurimath/math/symbols/lesges.rb +4 -2
- data/lib/plurimath/math/symbols/less.rb +6 -3
- data/lib/plurimath/math/symbols/lessapprox.rb +4 -2
- data/lib/plurimath/math/symbols/lessdot.rb +2 -1
- data/lib/plurimath/math/symbols/lesseqgtr.rb +2 -1
- data/lib/plurimath/math/symbols/lesseqqgtr.rb +4 -2
- data/lib/plurimath/math/symbols/lessgtr.rb +2 -1
- data/lib/plurimath/math/symbols/lfbowtie.rb +4 -2
- data/lib/plurimath/math/symbols/lftimes.rb +4 -2
- data/lib/plurimath/math/symbols/lgblkcircle.rb +4 -2
- data/lib/plurimath/math/symbols/lgblksquare.rb +4 -2
- data/lib/plurimath/math/symbols/lgroup.rb +4 -2
- data/lib/plurimath/math/symbols/lgwhtcircle.rb +4 -2
- data/lib/plurimath/math/symbols/lgwhtsquare.rb +4 -2
- data/lib/plurimath/math/symbols/lhd.rb +6 -2
- data/lib/plurimath/math/symbols/libra.rb +4 -2
- data/lib/plurimath/math/symbols/lightning.rb +6 -2
- data/lib/plurimath/math/symbols/limg.rb +6 -2
- data/lib/plurimath/math/symbols/linefeed.rb +4 -2
- data/lib/plurimath/math/symbols/ll.rb +2 -1
- data/lib/plurimath/math/symbols/llarc.rb +4 -2
- data/lib/plurimath/math/symbols/llblacktriangle.rb +4 -2
- data/lib/plurimath/math/symbols/llcorner.rb +4 -2
- data/lib/plurimath/math/symbols/lleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/lllnest.rb +4 -2
- data/lib/plurimath/math/symbols/lltriangle.rb +4 -2
- data/lib/plurimath/math/symbols/lmoust.rb +6 -3
- data/lib/plurimath/math/symbols/lmoustache.rb +4 -2
- data/lib/plurimath/math/symbols/lnapprox.rb +4 -2
- data/lib/plurimath/math/symbols/lneq.rb +6 -3
- data/lib/plurimath/math/symbols/lnot.rb +4 -2
- data/lib/plurimath/math/symbols/lnsim.rb +2 -1
- data/lib/plurimath/math/symbols/longdashv.rb +4 -2
- data/lib/plurimath/math/symbols/longdivision.rb +4 -2
- data/lib/plurimath/math/symbols/longleftarrow.rb +2 -1
- data/lib/plurimath/math/symbols/longleftrightarrow.rb +5 -2
- data/lib/plurimath/math/symbols/longleftsquigarrow.rb +6 -2
- data/lib/plurimath/math/symbols/longmapsfrom.rb +6 -2
- data/lib/plurimath/math/symbols/longmapsto.rb +4 -2
- data/lib/plurimath/math/symbols/longrightarrow.rb +5 -2
- data/lib/plurimath/math/symbols/looparrowleft.rb +7 -3
- data/lib/plurimath/math/symbols/lor.rb +6 -3
- data/lib/plurimath/math/symbols/lowint.rb +4 -2
- data/lib/plurimath/math/symbols/lozenge.rb +6 -2
- data/lib/plurimath/math/symbols/lozengeminus.rb +4 -2
- data/lib/plurimath/math/symbols/lparen.rb +4 -2
- data/lib/plurimath/math/symbols/lparenextender.rb +4 -2
- data/lib/plurimath/math/symbols/lparengtr.rb +4 -2
- data/lib/plurimath/math/symbols/lparenlend.rb +4 -2
- data/lib/plurimath/math/symbols/lparenless.rb +4 -2
- data/lib/plurimath/math/symbols/lparenuend.rb +4 -2
- data/lib/plurimath/math/symbols/lrarc.rb +4 -2
- data/lib/plurimath/math/symbols/lrblacktriangle.rb +4 -2
- data/lib/plurimath/math/symbols/lrcorner.rb +4 -2
- data/lib/plurimath/math/symbols/lrhar.rb +7 -3
- data/lib/plurimath/math/symbols/lrtimes.rb +6 -3
- data/lib/plurimath/math/symbols/lrtriangle.rb +4 -2
- data/lib/plurimath/math/symbols/lrtriangleeq.rb +4 -2
- data/lib/plurimath/math/symbols/lsime.rb +4 -2
- data/lib/plurimath/math/symbols/lsimg.rb +4 -2
- data/lib/plurimath/math/symbols/lsqhook.rb +4 -2
- data/lib/plurimath/math/symbols/lt.rb +6 -3
- data/lib/plurimath/math/symbols/ltcc.rb +4 -2
- data/lib/plurimath/math/symbols/ltcir.rb +4 -2
- data/lib/plurimath/math/symbols/ltimes.rb +4 -2
- data/lib/plurimath/math/symbols/ltlarr.rb +4 -2
- data/lib/plurimath/math/symbols/ltquest.rb +4 -2
- data/lib/plurimath/math/symbols/ltrivb.rb +6 -2
- data/lib/plurimath/math/symbols/lvboxline.rb +4 -2
- data/lib/plurimath/math/symbols/lvec.rb +6 -2
- data/lib/plurimath/math/symbols/lvzigzag.rb +4 -2
- data/lib/plurimath/math/symbols/maltese.rb +4 -2
- data/lib/plurimath/math/symbols/mapsdown.rb +6 -2
- data/lib/plurimath/math/symbols/mapsfrom.rb +6 -2
- data/lib/plurimath/math/symbols/mapsto.rb +4 -2
- data/lib/plurimath/math/symbols/mapstoleft.rb +8 -3
- data/lib/plurimath/math/symbols/mapsup.rb +4 -2
- data/lib/plurimath/math/symbols/mars.rb +4 -2
- data/lib/plurimath/math/symbols/mathcolon.rb +6 -2
- data/lib/plurimath/math/symbols/mathdollar.rb +4 -2
- data/lib/plurimath/math/symbols/mathslash.rb +4 -2
- data/lib/plurimath/math/symbols/mdblkdiamond.rb +4 -2
- data/lib/plurimath/math/symbols/mdblklozenge.rb +4 -2
- data/lib/plurimath/math/symbols/mdblksquare.rb +6 -2
- data/lib/plurimath/math/symbols/mdlgblksquare.rb +4 -2
- data/lib/plurimath/math/symbols/mdsmblksquare.rb +4 -2
- data/lib/plurimath/math/symbols/mdsmwhtcircle.rb +4 -2
- data/lib/plurimath/math/symbols/mdsmwhtsquare.rb +4 -2
- data/lib/plurimath/math/symbols/mdwhtdiamond.rb +4 -2
- data/lib/plurimath/math/symbols/mdwhtlozenge.rb +4 -2
- data/lib/plurimath/math/symbols/mdwhtsquare.rb +6 -2
- data/lib/plurimath/math/symbols/measangledltosw.rb +4 -2
- data/lib/plurimath/math/symbols/measangledrtose.rb +4 -2
- data/lib/plurimath/math/symbols/measangleldtosw.rb +4 -2
- data/lib/plurimath/math/symbols/measanglelutonw.rb +4 -2
- data/lib/plurimath/math/symbols/measanglerdtose.rb +4 -2
- data/lib/plurimath/math/symbols/measanglerutone.rb +4 -2
- data/lib/plurimath/math/symbols/measangleultonw.rb +4 -2
- data/lib/plurimath/math/symbols/measangleurtone.rb +4 -2
- data/lib/plurimath/math/symbols/measeq.rb +4 -2
- data/lib/plurimath/math/symbols/measuredangleleft.rb +4 -2
- data/lib/plurimath/math/symbols/medblackstar.rb +4 -2
- data/lib/plurimath/math/symbols/medbullet.rb +6 -2
- data/lib/plurimath/math/symbols/medcirc.rb +6 -2
- data/lib/plurimath/math/symbols/medsp.rb +6 -3
- data/lib/plurimath/math/symbols/medwhitestar.rb +4 -2
- data/lib/plurimath/math/symbols/mercury.rb +6 -2
- data/lib/plurimath/math/symbols/mho.rb +4 -2
- data/lib/plurimath/math/symbols/midbarvee.rb +4 -2
- data/lib/plurimath/math/symbols/midbarwedge.rb +4 -2
- data/lib/plurimath/math/symbols/midcir.rb +4 -2
- data/lib/plurimath/math/symbols/minus.rb +4 -2
- data/lib/plurimath/math/symbols/minusdot.rb +4 -2
- data/lib/plurimath/math/symbols/minusfdots.rb +4 -2
- data/lib/plurimath/math/symbols/minusrdots.rb +4 -2
- data/lib/plurimath/math/symbols/mlcp.rb +4 -2
- data/lib/plurimath/math/symbols/models.rb +6 -3
- data/lib/plurimath/math/symbols/modtwosum.rb +4 -2
- data/lib/plurimath/math/symbols/mu.rb +4 -2
- data/lib/plurimath/math/symbols/multimap.rb +2 -1
- data/lib/plurimath/math/symbols/multimapinv.rb +4 -2
- data/lib/plurimath/math/symbols/nabla.rb +4 -2
- data/lib/plurimath/math/symbols/napprox.rb +2 -1
- data/lib/plurimath/math/symbols/nasymp.rb +5 -2
- data/lib/plurimath/math/symbols/natural.rb +4 -2
- data/lib/plurimath/math/symbols/ncong.rb +2 -1
- data/lib/plurimath/math/symbols/ne.rb +6 -3
- data/lib/plurimath/math/symbols/nearrow.rb +4 -2
- data/lib/plurimath/math/symbols/neg.rb +6 -3
- data/lib/plurimath/math/symbols/neovnwarrow.rb +4 -2
- data/lib/plurimath/math/symbols/neovsearrow.rb +4 -2
- data/lib/plurimath/math/symbols/neptune.rb +6 -2
- data/lib/plurimath/math/symbols/neq.rb +6 -3
- data/lib/plurimath/math/symbols/nequiv.rb +2 -1
- data/lib/plurimath/math/symbols/neswarrow.rb +4 -2
- data/lib/plurimath/math/symbols/neuter.rb +4 -2
- data/lib/plurimath/math/symbols/nexi.rb +4 -2
- data/lib/plurimath/math/symbols/ngeq.rb +4 -2
- data/lib/plurimath/math/symbols/ngt.rb +4 -2
- data/lib/plurimath/math/symbols/ngtrless.rb +6 -2
- data/lib/plurimath/math/symbols/ngtrsim.rb +6 -2
- data/lib/plurimath/math/symbols/nhdownarrow.rb +4 -2
- data/lib/plurimath/math/symbols/nhpar.rb +4 -2
- data/lib/plurimath/math/symbols/nhuparrow.rb +4 -2
- data/lib/plurimath/math/symbols/nhvvert.rb +4 -2
- data/lib/plurimath/math/symbols/ni.rb +4 -2
- data/lib/plurimath/math/symbols/nin.rb +6 -3
- data/lib/plurimath/math/symbols/niobar.rb +4 -2
- data/lib/plurimath/math/symbols/nisd.rb +4 -2
- data/lib/plurimath/math/symbols/nleftarrow.rb +2 -1
- data/lib/plurimath/math/symbols/nleftrightarrow.rb +2 -1
- data/lib/plurimath/math/symbols/nleq.rb +4 -2
- data/lib/plurimath/math/symbols/nless.rb +2 -1
- data/lib/plurimath/math/symbols/nlessgtr.rb +4 -2
- data/lib/plurimath/math/symbols/nlesssim.rb +6 -2
- data/lib/plurimath/math/symbols/nmid.rb +2 -1
- data/lib/plurimath/math/symbols/nni.rb +4 -2
- data/lib/plurimath/math/symbols/nnn.rb +7 -3
- data/lib/plurimath/math/symbols/not.rb +6 -3
- data/lib/plurimath/math/symbols/notbackslash.rb +6 -2
- data/lib/plurimath/math/symbols/notin.rb +6 -3
- data/lib/plurimath/math/symbols/notslash.rb +6 -2
- data/lib/plurimath/math/symbols/nparallel.rb +2 -1
- data/lib/plurimath/math/symbols/npolint.rb +4 -2
- data/lib/plurimath/math/symbols/nprec.rb +2 -1
- data/lib/plurimath/math/symbols/npreceq.rb +5 -2
- data/lib/plurimath/math/symbols/nrightarrow.rb +2 -1
- data/lib/plurimath/math/symbols/nsim.rb +2 -1
- data/lib/plurimath/math/symbols/nsime.rb +4 -2
- data/lib/plurimath/math/symbols/nsqsubseteq.rb +2 -1
- data/lib/plurimath/math/symbols/nsqsuperseteq.rb +7 -3
- data/lib/plurimath/math/symbols/nsub.rb +6 -3
- data/lib/plurimath/math/symbols/nsucc.rb +2 -1
- data/lib/plurimath/math/symbols/nsucceq.rb +5 -2
- data/lib/plurimath/math/symbols/nsup.rb +6 -3
- data/lib/plurimath/math/symbols/ntriangleleft.rb +5 -2
- data/lib/plurimath/math/symbols/ntriangleright.rb +5 -2
- data/lib/plurimath/math/symbols/nu.rb +4 -2
- data/lib/plurimath/math/symbols/nunlhd.rb +6 -2
- data/lib/plurimath/math/symbols/nunrhd.rb +5 -2
- data/lib/plurimath/math/symbols/nvdash.rb +4 -2
- data/lib/plurimath/math/symbols/nvinfty.rb +4 -2
- data/lib/plurimath/math/symbols/nvleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/nvleftarrowtail.rb +4 -2
- data/lib/plurimath/math/symbols/nvleftrightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/nvrightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/nvtwoheadleftarrow.rb +6 -2
- data/lib/plurimath/math/symbols/nvtwoheadleftarrowtail.rb +6 -2
- data/lib/plurimath/math/symbols/nvtwoheadrightarrow.rb +6 -2
- data/lib/plurimath/math/symbols/nvtwoheadrightarrowtail.rb +6 -2
- data/lib/plurimath/math/symbols/nwarrow.rb +4 -2
- data/lib/plurimath/math/symbols/nwovnearrow.rb +4 -2
- data/lib/plurimath/math/symbols/nwsearrow.rb +4 -2
- data/lib/plurimath/math/symbols/oast.rb +7 -3
- data/lib/plurimath/math/symbols/obar.rb +4 -2
- data/lib/plurimath/math/symbols/obot.rb +4 -2
- data/lib/plurimath/math/symbols/obrbrak.rb +4 -2
- data/lib/plurimath/math/symbols/obslash.rb +6 -2
- data/lib/plurimath/math/symbols/ocirc.rb +7 -3
- data/lib/plurimath/math/symbols/ocommatopright.rb +4 -2
- data/lib/plurimath/math/symbols/octothorpe.rb +7 -3
- data/lib/plurimath/math/symbols/odash.rb +7 -3
- data/lib/plurimath/math/symbols/odiv.rb +4 -2
- data/lib/plurimath/math/symbols/odot.rb +2 -1
- data/lib/plurimath/math/symbols/odotslashdot.rb +4 -2
- data/lib/plurimath/math/symbols/oeq.rb +7 -3
- data/lib/plurimath/math/symbols/oiiint.rb +4 -2
- data/lib/plurimath/math/symbols/oiint.rb +4 -2
- data/lib/plurimath/math/symbols/olcross.rb +4 -2
- data/lib/plurimath/math/symbols/olessthan.rb +6 -2
- data/lib/plurimath/math/symbols/omega.rb +4 -2
- data/lib/plurimath/math/symbols/ominus.rb +2 -1
- data/lib/plurimath/math/symbols/operp.rb +4 -2
- data/lib/plurimath/math/symbols/oplus.rb +2 -1
- data/lib/plurimath/math/symbols/opluslhrim.rb +4 -2
- data/lib/plurimath/math/symbols/oplusrhrim.rb +4 -2
- data/lib/plurimath/math/symbols/origof.rb +6 -2
- data/lib/plurimath/math/symbols/oslash.rb +4 -2
- data/lib/plurimath/math/symbols/otimes.rb +4 -2
- data/lib/plurimath/math/symbols/otimeshat.rb +4 -2
- data/lib/plurimath/math/symbols/otimeslhrim.rb +4 -2
- data/lib/plurimath/math/symbols/otimesrhrim.rb +4 -2
- data/lib/plurimath/math/symbols/oturnedcomma.rb +4 -2
- data/lib/plurimath/math/symbols/overbar.rb +4 -2
- data/lib/plurimath/math/symbols/overbracket.rb +4 -2
- data/lib/plurimath/math/symbols/overleftrightarrow.rb +6 -2
- data/lib/plurimath/math/symbols/ovhook.rb +4 -2
- data/lib/plurimath/math/symbols/ox.rb +4 -2
- data/lib/plurimath/math/symbols/parallelogram.rb +4 -2
- data/lib/plurimath/math/symbols/parallelogramblack.rb +6 -2
- data/lib/plurimath/math/symbols/paren/close_paren.rb +4 -2
- data/lib/plurimath/math/symbols/paren/langle.rb +8 -3
- data/lib/plurimath/math/symbols/paren/lbbrack.rb +5 -2
- data/lib/plurimath/math/symbols/paren/lbrace.rb +2 -1
- data/lib/plurimath/math/symbols/paren/lbrack.rb +2 -1
- data/lib/plurimath/math/symbols/paren/lceil.rb +6 -3
- data/lib/plurimath/math/symbols/paren/lfloor.rb +4 -2
- data/lib/plurimath/math/symbols/paren/norm.rb +4 -2
- data/lib/plurimath/math/symbols/paren/open_paren.rb +4 -2
- data/lib/plurimath/math/symbols/paren/rangle.rb +8 -3
- data/lib/plurimath/math/symbols/paren/rbbrack.rb +5 -2
- data/lib/plurimath/math/symbols/paren/rbrace.rb +4 -2
- data/lib/plurimath/math/symbols/paren/rbrack.rb +4 -2
- data/lib/plurimath/math/symbols/paren/rceil.rb +6 -3
- data/lib/plurimath/math/symbols/paren/rfloor.rb +4 -2
- data/lib/plurimath/math/symbols/paren/upcase_langle.rb +2 -1
- data/lib/plurimath/math/symbols/paren/upcase_rangle.rb +2 -1
- data/lib/plurimath/math/symbols/paren/vert.rb +4 -2
- data/lib/plurimath/math/symbols/parsim.rb +4 -2
- data/lib/plurimath/math/symbols/partial.rb +6 -3
- data/lib/plurimath/math/symbols/partialmeetcontraction.rb +6 -2
- data/lib/plurimath/math/symbols/pencil.rb +4 -2
- data/lib/plurimath/math/symbols/pentagon.rb +4 -2
- data/lib/plurimath/math/symbols/pentagonblack.rb +4 -2
- data/lib/plurimath/math/symbols/percent.rb +4 -2
- data/lib/plurimath/math/symbols/period.rb +4 -2
- data/lib/plurimath/math/symbols/perp.rb +6 -3
- data/lib/plurimath/math/symbols/perps.rb +4 -2
- data/lib/plurimath/math/symbols/pfun.rb +6 -2
- data/lib/plurimath/math/symbols/phi.rb +4 -2
- data/lib/plurimath/math/symbols/pi.rb +4 -2
- data/lib/plurimath/math/symbols/pinj.rb +6 -2
- data/lib/plurimath/math/symbols/pisces.rb +4 -2
- data/lib/plurimath/math/symbols/pitchfork.rb +2 -1
- data/lib/plurimath/math/symbols/planckconst.rb +4 -2
- data/lib/plurimath/math/symbols/plus.rb +4 -2
- data/lib/plurimath/math/symbols/plusdot.rb +4 -2
- data/lib/plurimath/math/symbols/pluseqq.rb +4 -2
- data/lib/plurimath/math/symbols/plushat.rb +4 -2
- data/lib/plurimath/math/symbols/plussim.rb +4 -2
- data/lib/plurimath/math/symbols/plussubtwo.rb +4 -2
- data/lib/plurimath/math/symbols/plustrif.rb +4 -2
- data/lib/plurimath/math/symbols/pluto.rb +4 -2
- data/lib/plurimath/math/symbols/pm.rb +2 -1
- data/lib/plurimath/math/symbols/pointint.rb +4 -2
- data/lib/plurimath/math/symbols/pointright.rb +4 -2
- data/lib/plurimath/math/symbols/postalmark.rb +4 -2
- data/lib/plurimath/math/symbols/pounds.rb +6 -2
- data/lib/plurimath/math/symbols/pppprime.rb +7 -3
- data/lib/plurimath/math/symbols/ppprime.rb +7 -3
- data/lib/plurimath/math/symbols/pprime.rb +8 -3
- data/lib/plurimath/math/symbols/prcue.rb +8 -3
- data/lib/plurimath/math/symbols/prec.rb +2 -1
- data/lib/plurimath/math/symbols/precapprox.rb +4 -2
- data/lib/plurimath/math/symbols/preceq.rb +4 -2
- data/lib/plurimath/math/symbols/preceqq.rb +4 -2
- data/lib/plurimath/math/symbols/precnapprox.rb +4 -2
- data/lib/plurimath/math/symbols/precneq.rb +4 -2
- data/lib/plurimath/math/symbols/precneqq.rb +4 -2
- data/lib/plurimath/math/symbols/precnsim.rb +2 -1
- data/lib/plurimath/math/symbols/precsim.rb +5 -2
- data/lib/plurimath/math/symbols/profline.rb +4 -2
- data/lib/plurimath/math/symbols/profsurf.rb +4 -2
- data/lib/plurimath/math/symbols/project.rb +6 -2
- data/lib/plurimath/math/symbols/prop.rb +6 -3
- data/lib/plurimath/math/symbols/propertyline.rb +4 -2
- data/lib/plurimath/math/symbols/psi.rb +4 -2
- data/lib/plurimath/math/symbols/psur.rb +8 -2
- data/lib/plurimath/math/symbols/pullback.rb +4 -2
- data/lib/plurimath/math/symbols/pushout.rb +4 -2
- data/lib/plurimath/math/symbols/qed.rb +4 -2
- data/lib/plurimath/math/symbols/qprime.rb +4 -2
- data/lib/plurimath/math/symbols/qquad.rb +4 -2
- data/lib/plurimath/math/symbols/quarternote.rb +4 -2
- data/lib/plurimath/math/symbols/questeq.rb +4 -2
- data/lib/plurimath/math/symbols/question.rb +4 -2
- data/lib/plurimath/math/symbols/radiation.rb +4 -2
- data/lib/plurimath/math/symbols/rang.rb +4 -2
- data/lib/plurimath/math/symbols/rangledot.rb +4 -2
- data/lib/plurimath/math/symbols/rangledownzigzagarrow.rb +6 -2
- data/lib/plurimath/math/symbols/ratio.rb +6 -3
- data/lib/plurimath/math/symbols/rbag.rb +4 -2
- data/lib/plurimath/math/symbols/rblkbrbrak.rb +4 -2
- data/lib/plurimath/math/symbols/rblot.rb +4 -2
- data/lib/plurimath/math/symbols/rbracelend.rb +4 -2
- data/lib/plurimath/math/symbols/rbracemid.rb +4 -2
- data/lib/plurimath/math/symbols/rbraceuend.rb +4 -2
- data/lib/plurimath/math/symbols/rbrackextender.rb +4 -2
- data/lib/plurimath/math/symbols/rbracklend.rb +4 -2
- data/lib/plurimath/math/symbols/rbracklrtick.rb +4 -2
- data/lib/plurimath/math/symbols/rbrackubar.rb +4 -2
- data/lib/plurimath/math/symbols/rbrackuend.rb +4 -2
- data/lib/plurimath/math/symbols/rbrackurtick.rb +4 -2
- data/lib/plurimath/math/symbols/rbrbrak.rb +4 -2
- data/lib/plurimath/math/symbols/rcurvyangle.rb +4 -2
- data/lib/plurimath/math/symbols/rddots.rb +7 -3
- data/lib/plurimath/math/symbols/rdiagovfdiag.rb +4 -2
- data/lib/plurimath/math/symbols/rdiagovsearrow.rb +4 -2
- data/lib/plurimath/math/symbols/rdsh.rb +7 -3
- data/lib/plurimath/math/symbols/recycle.rb +4 -2
- data/lib/plurimath/math/symbols/rel.rb +6 -3
- data/lib/plurimath/math/symbols/restriction.rb +5 -2
- data/lib/plurimath/math/symbols/revangle.rb +4 -2
- data/lib/plurimath/math/symbols/revangleubar.rb +4 -2
- data/lib/plurimath/math/symbols/revemptyset.rb +4 -2
- data/lib/plurimath/math/symbols/revnmid.rb +4 -2
- data/lib/plurimath/math/symbols/rfbowtie.rb +4 -2
- data/lib/plurimath/math/symbols/rftimes.rb +4 -2
- data/lib/plurimath/math/symbols/rgroup.rb +4 -2
- data/lib/plurimath/math/symbols/rhd.rb +6 -2
- data/lib/plurimath/math/symbols/rho.rb +4 -2
- data/lib/plurimath/math/symbols/rightangle.rb +6 -3
- data/lib/plurimath/math/symbols/rightanglemdot.rb +4 -2
- data/lib/plurimath/math/symbols/rightanglesqr.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowapprox.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowbackapprox.rb +6 -2
- data/lib/plurimath/math/symbols/rightarrowbar.rb +6 -2
- data/lib/plurimath/math/symbols/rightarrowbsimilar.rb +6 -2
- data/lib/plurimath/math/symbols/rightarrowdiamond.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowgtr.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowonoplus.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowplus.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowshortleftarrow.rb +6 -2
- data/lib/plurimath/math/symbols/rightarrowsimilar.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowsupset.rb +4 -2
- data/lib/plurimath/math/symbols/rightarrowtail.rb +6 -3
- data/lib/plurimath/math/symbols/rightarrowtriangle.rb +6 -2
- data/lib/plurimath/math/symbols/rightarrowx.rb +4 -2
- data/lib/plurimath/math/symbols/rightbarharpoon.rb +10 -2
- data/lib/plurimath/math/symbols/rightbkarrow.rb +4 -2
- data/lib/plurimath/math/symbols/rightcircle.rb +8 -2
- data/lib/plurimath/math/symbols/rightdbltail.rb +4 -2
- data/lib/plurimath/math/symbols/rightdotarrow.rb +4 -2
- data/lib/plurimath/math/symbols/rightdowncurvedarrow.rb +6 -2
- data/lib/plurimath/math/symbols/rightdownteevector.rb +8 -2
- data/lib/plurimath/math/symbols/rightdownvectorbar.rb +8 -2
- data/lib/plurimath/math/symbols/rightharpoonaccent.rb +6 -2
- data/lib/plurimath/math/symbols/rightharpoondown.rb +2 -1
- data/lib/plurimath/math/symbols/rightharpoonup.rb +2 -1
- data/lib/plurimath/math/symbols/rightimply.rb +4 -2
- data/lib/plurimath/math/symbols/rightleftarrow.rb +5 -2
- data/lib/plurimath/math/symbols/rightleftharpoon.rb +6 -2
- data/lib/plurimath/math/symbols/rightleftharpoonsdown.rb +6 -2
- data/lib/plurimath/math/symbols/rightleftharpoonsup.rb +6 -2
- data/lib/plurimath/math/symbols/rightmoon.rb +4 -2
- data/lib/plurimath/math/symbols/rightouterjoin.rb +4 -2
- data/lib/plurimath/math/symbols/rightpentagon.rb +4 -2
- data/lib/plurimath/math/symbols/rightpentagonblack.rb +6 -2
- data/lib/plurimath/math/symbols/rightrightarrows.rb +2 -1
- data/lib/plurimath/math/symbols/rightrightharpoons.rb +8 -2
- data/lib/plurimath/math/symbols/rightsquigarrow.rb +2 -1
- data/lib/plurimath/math/symbols/righttail.rb +4 -2
- data/lib/plurimath/math/symbols/rightteevector.rb +8 -2
- data/lib/plurimath/math/symbols/rightthreearrows.rb +4 -2
- data/lib/plurimath/math/symbols/rightthreetimes.rb +2 -1
- data/lib/plurimath/math/symbols/rightturn.rb +8 -3
- data/lib/plurimath/math/symbols/rightupdownharpoon.rb +8 -3
- data/lib/plurimath/math/symbols/rightupteevector.rb +10 -2
- data/lib/plurimath/math/symbols/rightupvectorbar.rb +10 -2
- data/lib/plurimath/math/symbols/rightvectorbar.rb +8 -2
- data/lib/plurimath/math/symbols/rightwavearrow.rb +2 -1
- data/lib/plurimath/math/symbols/rightwhitearrow.rb +4 -2
- data/lib/plurimath/math/symbols/rimg.rb +6 -2
- data/lib/plurimath/math/symbols/ring.rb +6 -2
- data/lib/plurimath/math/symbols/ringplus.rb +4 -2
- data/lib/plurimath/math/symbols/risingdotseq.rb +2 -1
- data/lib/plurimath/math/symbols/rlhar.rb +7 -3
- data/lib/plurimath/math/symbols/rmoust.rb +7 -3
- data/lib/plurimath/math/symbols/rparen.rb +4 -2
- data/lib/plurimath/math/symbols/rparenextender.rb +4 -2
- data/lib/plurimath/math/symbols/rparengtr.rb +4 -2
- data/lib/plurimath/math/symbols/rparenlend.rb +4 -2
- data/lib/plurimath/math/symbols/rparenless.rb +4 -2
- data/lib/plurimath/math/symbols/rparenuend.rb +4 -2
- data/lib/plurimath/math/symbols/rppolint.rb +4 -2
- data/lib/plurimath/math/symbols/rrightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/rsolbar.rb +4 -2
- data/lib/plurimath/math/symbols/rsqhook.rb +4 -2
- data/lib/plurimath/math/symbols/rsub.rb +4 -2
- data/lib/plurimath/math/symbols/rtimes.rb +4 -2
- data/lib/plurimath/math/symbols/rtriltri.rb +4 -2
- data/lib/plurimath/math/symbols/ruledelayed.rb +4 -2
- data/lib/plurimath/math/symbols/rvboxline.rb +4 -2
- data/lib/plurimath/math/symbols/rvert.rb +6 -2
- data/lib/plurimath/math/symbols/rvzigzag.rb +4 -2
- data/lib/plurimath/math/symbols/sadface.rb +6 -2
- data/lib/plurimath/math/symbols/sagittarius.rb +4 -2
- data/lib/plurimath/math/symbols/same.rb +4 -2
- data/lib/plurimath/math/symbols/sampi.rb +4 -2
- data/lib/plurimath/math/symbols/sanslmirrored.rb +4 -2
- data/lib/plurimath/math/symbols/sanslturned.rb +4 -2
- data/lib/plurimath/math/symbols/saturn.rb +4 -2
- data/lib/plurimath/math/symbols/scorpio.rb +6 -2
- data/lib/plurimath/math/symbols/scpolint.rb +4 -2
- data/lib/plurimath/math/symbols/scurel.rb +4 -2
- data/lib/plurimath/math/symbols/sdef.rb +6 -2
- data/lib/plurimath/math/symbols/searrow.rb +4 -2
- data/lib/plurimath/math/symbols/second.rb +7 -3
- data/lib/plurimath/math/symbols/semi.rb +4 -2
- data/lib/plurimath/math/symbols/semicolon.rb +4 -2
- data/lib/plurimath/math/symbols/seovnearrow.rb +4 -2
- data/lib/plurimath/math/symbols/setminus.rb +7 -3
- data/lib/plurimath/math/symbols/sharp.rb +4 -2
- data/lib/plurimath/math/symbols/shortdowntack.rb +4 -2
- data/lib/plurimath/math/symbols/shortlefttack.rb +4 -2
- data/lib/plurimath/math/symbols/shortrightarrowleftarrow.rb +6 -2
- data/lib/plurimath/math/symbols/shortuptack.rb +4 -2
- data/lib/plurimath/math/symbols/shuffle.rb +4 -2
- data/lib/plurimath/math/symbols/sigma.rb +4 -2
- data/lib/plurimath/math/symbols/simeq.rb +2 -1
- data/lib/plurimath/math/symbols/simge.rb +4 -2
- data/lib/plurimath/math/symbols/simgtr.rb +4 -2
- data/lib/plurimath/math/symbols/similarleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/similarrightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/simle.rb +4 -2
- data/lib/plurimath/math/symbols/simless.rb +4 -2
- data/lib/plurimath/math/symbols/simminussim.rb +4 -2
- data/lib/plurimath/math/symbols/simneqq.rb +4 -2
- data/lib/plurimath/math/symbols/simplus.rb +4 -2
- data/lib/plurimath/math/symbols/simrdots.rb +4 -2
- data/lib/plurimath/math/symbols/sixteenthnote.rb +4 -2
- data/lib/plurimath/math/symbols/skull.rb +4 -2
- data/lib/plurimath/math/symbols/slash.rb +5 -3
- data/lib/plurimath/math/symbols/smallblacktriangleleft.rb +6 -2
- data/lib/plurimath/math/symbols/smallblacktriangleright.rb +6 -2
- data/lib/plurimath/math/symbols/smallin.rb +4 -2
- data/lib/plurimath/math/symbols/smallni.rb +4 -2
- data/lib/plurimath/math/symbols/smalltriangleleft.rb +4 -2
- data/lib/plurimath/math/symbols/smalltriangleright.rb +6 -2
- data/lib/plurimath/math/symbols/smashtimes.rb +4 -2
- data/lib/plurimath/math/symbols/smblkcircle.rb +6 -2
- data/lib/plurimath/math/symbols/smblkdiamond.rb +4 -2
- data/lib/plurimath/math/symbols/smblklozenge.rb +4 -2
- data/lib/plurimath/math/symbols/smblksquare.rb +4 -2
- data/lib/plurimath/math/symbols/smeparsl.rb +4 -2
- data/lib/plurimath/math/symbols/smile.rb +4 -2
- data/lib/plurimath/math/symbols/smiley.rb +6 -2
- data/lib/plurimath/math/symbols/smte.rb +4 -2
- data/lib/plurimath/math/symbols/smwhitestar.rb +4 -2
- data/lib/plurimath/math/symbols/smwhtcircle.rb +4 -2
- data/lib/plurimath/math/symbols/smwhtlozenge.rb +4 -2
- data/lib/plurimath/math/symbols/smwhtsquare.rb +4 -2
- data/lib/plurimath/math/symbols/spadesuit.rb +2 -1
- data/lib/plurimath/math/symbols/spddot.rb +4 -2
- data/lib/plurimath/math/symbols/sphericalangleup.rb +4 -2
- data/lib/plurimath/math/symbols/spot.rb +6 -2
- data/lib/plurimath/math/symbols/sptilde.rb +4 -2
- data/lib/plurimath/math/symbols/sqcap.rb +4 -2
- data/lib/plurimath/math/symbols/sqcup.rb +4 -2
- data/lib/plurimath/math/symbols/sqint.rb +4 -2
- data/lib/plurimath/math/symbols/sqlozenge.rb +6 -2
- data/lib/plurimath/math/symbols/sqrtbottom.rb +4 -2
- data/lib/plurimath/math/symbols/sqsubset.rb +2 -1
- data/lib/plurimath/math/symbols/sqsubseteq.rb +2 -1
- data/lib/plurimath/math/symbols/sqsubsetneq.rb +4 -2
- data/lib/plurimath/math/symbols/sqsupset.rb +2 -1
- data/lib/plurimath/math/symbols/sqsupseteq.rb +2 -1
- data/lib/plurimath/math/symbols/square.rb +4 -2
- data/lib/plurimath/math/symbols/squarebotblack.rb +4 -2
- data/lib/plurimath/math/symbols/squarecrossfill.rb +4 -2
- data/lib/plurimath/math/symbols/squarehfill.rb +4 -2
- data/lib/plurimath/math/symbols/squarehvfill.rb +4 -2
- data/lib/plurimath/math/symbols/squareleftblack.rb +4 -2
- data/lib/plurimath/math/symbols/squarellblack.rb +4 -2
- data/lib/plurimath/math/symbols/squarellquad.rb +4 -2
- data/lib/plurimath/math/symbols/squarelrblack.rb +4 -2
- data/lib/plurimath/math/symbols/squarelrquad.rb +4 -2
- data/lib/plurimath/math/symbols/squareneswfill.rb +4 -2
- data/lib/plurimath/math/symbols/squarenwsefill.rb +4 -2
- data/lib/plurimath/math/symbols/squarerightblack.rb +4 -2
- data/lib/plurimath/math/symbols/squaretopblack.rb +4 -2
- data/lib/plurimath/math/symbols/squareulblack.rb +4 -2
- data/lib/plurimath/math/symbols/squareulquad.rb +4 -2
- data/lib/plurimath/math/symbols/squareurblack.rb +4 -2
- data/lib/plurimath/math/symbols/squareurquad.rb +4 -2
- data/lib/plurimath/math/symbols/squarevfill.rb +4 -2
- data/lib/plurimath/math/symbols/squoval.rb +4 -2
- data/lib/plurimath/math/symbols/sslash.rb +4 -2
- data/lib/plurimath/math/symbols/star.rb +2 -1
- data/lib/plurimath/math/symbols/stareq.rb +4 -2
- data/lib/plurimath/math/symbols/steaming.rb +4 -2
- data/lib/plurimath/math/symbols/stigma.rb +6 -2
- data/lib/plurimath/math/symbols/strictfi.rb +6 -2
- data/lib/plurimath/math/symbols/strictif.rb +6 -2
- data/lib/plurimath/math/symbols/strns.rb +4 -2
- data/lib/plurimath/math/symbols/sub.rb +4 -2
- data/lib/plurimath/math/symbols/sube.rb +4 -2
- data/lib/plurimath/math/symbols/subedot.rb +4 -2
- data/lib/plurimath/math/symbols/submult.rb +4 -2
- data/lib/plurimath/math/symbols/subrarr.rb +4 -2
- data/lib/plurimath/math/symbols/subset.rb +2 -1
- data/lib/plurimath/math/symbols/subsetapprox.rb +4 -2
- data/lib/plurimath/math/symbols/subsetcirc.rb +4 -2
- data/lib/plurimath/math/symbols/subsetdot.rb +4 -2
- data/lib/plurimath/math/symbols/subseteq.rb +7 -3
- data/lib/plurimath/math/symbols/subseteqq.rb +4 -2
- data/lib/plurimath/math/symbols/subsetneq.rb +5 -2
- data/lib/plurimath/math/symbols/subsetneqq.rb +4 -2
- data/lib/plurimath/math/symbols/subsetplus.rb +4 -2
- data/lib/plurimath/math/symbols/subsim.rb +4 -2
- data/lib/plurimath/math/symbols/subsub.rb +6 -3
- data/lib/plurimath/math/symbols/succ.rb +2 -1
- data/lib/plurimath/math/symbols/succapprox.rb +4 -2
- data/lib/plurimath/math/symbols/succcurlyeq.rb +6 -2
- data/lib/plurimath/math/symbols/succeq.rb +4 -2
- data/lib/plurimath/math/symbols/succeqq.rb +4 -2
- data/lib/plurimath/math/symbols/succnapprox.rb +4 -2
- data/lib/plurimath/math/symbols/succneq.rb +4 -2
- data/lib/plurimath/math/symbols/succneqq.rb +4 -2
- data/lib/plurimath/math/symbols/succnsim.rb +2 -1
- data/lib/plurimath/math/symbols/succsim.rb +5 -2
- data/lib/plurimath/math/symbols/sumbottom.rb +4 -2
- data/lib/plurimath/math/symbols/sumint.rb +4 -2
- data/lib/plurimath/math/symbols/sumtop.rb +4 -2
- data/lib/plurimath/math/symbols/sup.rb +4 -2
- data/lib/plurimath/math/symbols/supdsub.rb +4 -2
- data/lib/plurimath/math/symbols/supe.rb +4 -2
- data/lib/plurimath/math/symbols/supedot.rb +4 -2
- data/lib/plurimath/math/symbols/suphsol.rb +4 -2
- data/lib/plurimath/math/symbols/suphsub.rb +4 -2
- data/lib/plurimath/math/symbols/suplarr.rb +4 -2
- data/lib/plurimath/math/symbols/supmult.rb +4 -2
- data/lib/plurimath/math/symbols/supset.rb +2 -1
- data/lib/plurimath/math/symbols/supsetapprox.rb +4 -2
- data/lib/plurimath/math/symbols/supsetcirc.rb +4 -2
- data/lib/plurimath/math/symbols/supsetdot.rb +4 -2
- data/lib/plurimath/math/symbols/supseteq.rb +4 -2
- data/lib/plurimath/math/symbols/supseteqq.rb +4 -2
- data/lib/plurimath/math/symbols/supsetneq.rb +2 -1
- data/lib/plurimath/math/symbols/supsetneqq.rb +4 -2
- data/lib/plurimath/math/symbols/supsetplus.rb +4 -2
- data/lib/plurimath/math/symbols/supsim.rb +4 -2
- data/lib/plurimath/math/symbols/supsub.rb +2 -1
- data/lib/plurimath/math/symbols/supsup.rb +2 -1
- data/lib/plurimath/math/symbols/swarrow.rb +4 -2
- data/lib/plurimath/math/symbols/swords.rb +4 -2
- data/lib/plurimath/math/symbols/symbol.rb +26 -15
- data/lib/plurimath/math/symbols/talloblong.rb +4 -2
- data/lib/plurimath/math/symbols/tau.rb +4 -2
- data/lib/plurimath/math/symbols/taurus.rb +4 -2
- data/lib/plurimath/math/symbols/tcmu.rb +4 -2
- data/lib/plurimath/math/symbols/tcohm.rb +4 -2
- data/lib/plurimath/math/symbols/therefore.rb +7 -3
- data/lib/plurimath/math/symbols/thermod.rb +4 -2
- data/lib/plurimath/math/symbols/theta.rb +4 -2
- data/lib/plurimath/math/symbols/third.rb +4 -2
- data/lib/plurimath/math/symbols/three_per_em_space.rb +2 -1
- data/lib/plurimath/math/symbols/threedangle.rb +4 -2
- data/lib/plurimath/math/symbols/threedotcolon.rb +4 -2
- data/lib/plurimath/math/symbols/threeunderdot.rb +4 -2
- data/lib/plurimath/math/symbols/tieinfty.rb +4 -2
- data/lib/plurimath/math/symbols/times.rb +4 -2
- data/lib/plurimath/math/symbols/timesbar.rb +4 -2
- data/lib/plurimath/math/symbols/tinj.rb +6 -3
- data/lib/plurimath/math/symbols/tminus.rb +4 -2
- data/lib/plurimath/math/symbols/to.rb +4 -2
- data/lib/plurimath/math/symbols/toea.rb +4 -2
- data/lib/plurimath/math/symbols/tona.rb +4 -2
- data/lib/plurimath/math/symbols/top.rb +2 -1
- data/lib/plurimath/math/symbols/topbot.rb +4 -2
- data/lib/plurimath/math/symbols/topcir.rb +4 -2
- data/lib/plurimath/math/symbols/topfork.rb +4 -2
- data/lib/plurimath/math/symbols/topsemicircle.rb +4 -2
- data/lib/plurimath/math/symbols/tosa.rb +4 -2
- data/lib/plurimath/math/symbols/towa.rb +4 -2
- data/lib/plurimath/math/symbols/tplus.rb +4 -2
- data/lib/plurimath/math/symbols/trapezium.rb +4 -2
- data/lib/plurimath/math/symbols/triangle.rb +7 -3
- data/lib/plurimath/math/symbols/trianglecdot.rb +4 -2
- data/lib/plurimath/math/symbols/triangledown.rb +6 -2
- data/lib/plurimath/math/symbols/triangleleftblack.rb +4 -2
- data/lib/plurimath/math/symbols/triangleminus.rb +4 -2
- data/lib/plurimath/math/symbols/triangleodot.rb +4 -2
- data/lib/plurimath/math/symbols/triangleplus.rb +4 -2
- data/lib/plurimath/math/symbols/trianglerightblack.rb +6 -2
- data/lib/plurimath/math/symbols/triangles.rb +4 -2
- data/lib/plurimath/math/symbols/triangleserifs.rb +4 -2
- data/lib/plurimath/math/symbols/triangletimes.rb +4 -2
- data/lib/plurimath/math/symbols/triangleubar.rb +4 -2
- data/lib/plurimath/math/symbols/tripleplus.rb +4 -2
- data/lib/plurimath/math/symbols/trslash.rb +4 -2
- data/lib/plurimath/math/symbols/tsur.rb +6 -3
- data/lib/plurimath/math/symbols/tt.rb +2 -1
- data/lib/plurimath/math/symbols/turnangle.rb +4 -2
- data/lib/plurimath/math/symbols/turnediota.rb +4 -2
- data/lib/plurimath/math/symbols/turnednot.rb +4 -2
- data/lib/plurimath/math/symbols/twocaps.rb +4 -2
- data/lib/plurimath/math/symbols/twocups.rb +4 -2
- data/lib/plurimath/math/symbols/twoheaddownarrow.rb +4 -2
- data/lib/plurimath/math/symbols/twoheadleftarrow.rb +2 -1
- data/lib/plurimath/math/symbols/twoheadleftarrowtail.rb +6 -2
- data/lib/plurimath/math/symbols/twoheadleftdbkarrow.rb +6 -2
- data/lib/plurimath/math/symbols/twoheadmapsfrom.rb +4 -2
- data/lib/plurimath/math/symbols/twoheadmapsto.rb +4 -2
- data/lib/plurimath/math/symbols/twoheadrightarrow.rb +6 -3
- data/lib/plurimath/math/symbols/twoheadrightarrowtail.rb +9 -3
- data/lib/plurimath/math/symbols/twoheaduparrow.rb +4 -2
- data/lib/plurimath/math/symbols/twoheaduparrowcircle.rb +6 -2
- data/lib/plurimath/math/symbols/twolowline.rb +4 -2
- data/lib/plurimath/math/symbols/twonotes.rb +4 -2
- data/lib/plurimath/math/symbols/typecolon.rb +4 -2
- data/lib/plurimath/math/symbols/uarr.rb +4 -2
- data/lib/plurimath/math/symbols/ubrbrak.rb +4 -2
- data/lib/plurimath/math/symbols/ularc.rb +4 -2
- data/lib/plurimath/math/symbols/ulblacktriangle.rb +4 -2
- data/lib/plurimath/math/symbols/ulcorner.rb +4 -2
- data/lib/plurimath/math/symbols/ultriangle.rb +4 -2
- data/lib/plurimath/math/symbols/uminus.rb +4 -2
- data/lib/plurimath/math/symbols/underbar.rb +4 -2
- data/lib/plurimath/math/symbols/underbracket.rb +4 -2
- data/lib/plurimath/math/symbols/underleftarrow.rb +4 -2
- data/lib/plurimath/math/symbols/underleftharpoondown.rb +6 -2
- data/lib/plurimath/math/symbols/underline.rb +4 -2
- data/lib/plurimath/math/symbols/underparen.rb +4 -2
- data/lib/plurimath/math/symbols/underrightarrow.rb +4 -2
- data/lib/plurimath/math/symbols/underrightharpoondown.rb +6 -2
- data/lib/plurimath/math/symbols/unicodeellipsis.rb +4 -2
- data/lib/plurimath/math/symbols/unlhd.rb +5 -2
- data/lib/plurimath/math/symbols/unrhd.rb +5 -2
- data/lib/plurimath/math/symbols/upalpha.rb +4 -2
- data/lib/plurimath/math/symbols/upand.rb +4 -2
- data/lib/plurimath/math/symbols/uparrow.rb +2 -1
- data/lib/plurimath/math/symbols/uparrowbarred.rb +4 -2
- data/lib/plurimath/math/symbols/uparrowoncircle.rb +4 -2
- data/lib/plurimath/math/symbols/upbeta.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_equiv.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_gamma.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_lambda.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_mapsto.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_omega.rb +5 -2
- data/lib/plurimath/math/symbols/upcase_phi.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_pi.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_psi.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_rbrack.rb +8 -2
- data/lib/plurimath/math/symbols/upcase_rightarrow.rb +9 -3
- data/lib/plurimath/math/symbols/upcase_sigma.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_theta.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_wedge.rb +4 -2
- data/lib/plurimath/math/symbols/upcase_xi.rb +4 -2
- data/lib/plurimath/math/symbols/upcaseup_omega.rb +5 -2
- data/lib/plurimath/math/symbols/upchi.rb +4 -2
- data/lib/plurimath/math/symbols/updasharrow.rb +4 -2
- data/lib/plurimath/math/symbols/updownarrow.rb +2 -1
- data/lib/plurimath/math/symbols/updownarrowbar.rb +4 -2
- data/lib/plurimath/math/symbols/updownarrows.rb +5 -2
- data/lib/plurimath/math/symbols/updownharpoonleftright.rb +6 -2
- data/lib/plurimath/math/symbols/updownharpoonrightleft.rb +6 -2
- data/lib/plurimath/math/symbols/upepsilon.rb +4 -2
- data/lib/plurimath/math/symbols/upequilibrium.rb +8 -3
- data/lib/plurimath/math/symbols/upeta.rb +4 -2
- data/lib/plurimath/math/symbols/upfishtail.rb +4 -2
- data/lib/plurimath/math/symbols/upharpoonleft.rb +5 -2
- data/lib/plurimath/math/symbols/upin.rb +4 -2
- data/lib/plurimath/math/symbols/upint.rb +4 -2
- data/lib/plurimath/math/symbols/upiota.rb +4 -2
- data/lib/plurimath/math/symbols/upkappa.rb +4 -2
- data/lib/plurimath/math/symbols/upkoppa.rb +4 -2
- data/lib/plurimath/math/symbols/upomicron.rb +4 -2
- data/lib/plurimath/math/symbols/uprho.rb +4 -2
- data/lib/plurimath/math/symbols/uprightcurvearrow.rb +4 -2
- data/lib/plurimath/math/symbols/upsilon.rb +4 -2
- data/lib/plurimath/math/symbols/uptau.rb +4 -2
- data/lib/plurimath/math/symbols/upuparrows.rb +2 -1
- data/lib/plurimath/math/symbols/upupharpoons.rb +8 -2
- data/lib/plurimath/math/symbols/upvarsigma.rb +5 -2
- data/lib/plurimath/math/symbols/upvartheta.rb +4 -2
- data/lib/plurimath/math/symbols/upwhitearrow.rb +4 -2
- data/lib/plurimath/math/symbols/upzeta.rb +4 -2
- data/lib/plurimath/math/symbols/uranus.rb +4 -2
- data/lib/plurimath/math/symbols/urarc.rb +4 -2
- data/lib/plurimath/math/symbols/urblacktriangle.rb +4 -2
- data/lib/plurimath/math/symbols/urcorner.rb +4 -2
- data/lib/plurimath/math/symbols/urtriangle.rb +4 -2
- data/lib/plurimath/math/symbols/utilde.rb +6 -2
- data/lib/plurimath/math/symbols/uu.rb +2 -1
- data/lib/plurimath/math/symbols/uuparrow.rb +4 -2
- data/lib/plurimath/math/symbols/uuu.rb +7 -3
- data/lib/plurimath/math/symbols/varbarwedge.rb +4 -2
- data/lib/plurimath/math/symbols/varbeta.rb +6 -2
- data/lib/plurimath/math/symbols/varcarriagereturn.rb +4 -2
- data/lib/plurimath/math/symbols/varclub.rb +6 -2
- data/lib/plurimath/math/symbols/vardiamond.rb +6 -2
- data/lib/plurimath/math/symbols/vardoublebarwedge.rb +4 -2
- data/lib/plurimath/math/symbols/varheart.rb +6 -2
- data/lib/plurimath/math/symbols/varhexagon.rb +4 -2
- data/lib/plurimath/math/symbols/varhexagonblack.rb +4 -2
- data/lib/plurimath/math/symbols/varhexagonlrbonds.rb +4 -2
- data/lib/plurimath/math/symbols/varisins.rb +4 -2
- data/lib/plurimath/math/symbols/varkappa.rb +5 -2
- data/lib/plurimath/math/symbols/varlrtriangle.rb +4 -2
- data/lib/plurimath/math/symbols/varniobar.rb +4 -2
- data/lib/plurimath/math/symbols/varnis.rb +4 -2
- data/lib/plurimath/math/symbols/varnothing.rb +6 -3
- data/lib/plurimath/math/symbols/varphi.rb +4 -2
- data/lib/plurimath/math/symbols/varpi.rb +4 -2
- data/lib/plurimath/math/symbols/varprod.rb +6 -2
- data/lib/plurimath/math/symbols/varrho.rb +5 -2
- data/lib/plurimath/math/symbols/varsigma.rb +5 -2
- data/lib/plurimath/math/symbols/varspade.rb +10 -3
- data/lib/plurimath/math/symbols/varstar.rb +4 -2
- data/lib/plurimath/math/symbols/vartheta.rb +4 -2
- data/lib/plurimath/math/symbols/vartriangle.rb +6 -2
- data/lib/plurimath/math/symbols/vartriangleleft.rb +2 -1
- data/lib/plurimath/math/symbols/vartriangleright.rb +2 -1
- data/lib/plurimath/math/symbols/varvdash.rb +4 -2
- data/lib/plurimath/math/symbols/varveebar.rb +4 -2
- data/lib/plurimath/math/symbols/vbar.rb +2 -1
- data/lib/plurimath/math/symbols/vbarv.rb +4 -2
- data/lib/plurimath/math/symbols/vbraceextender.rb +4 -2
- data/lib/plurimath/math/symbols/vbrtri.rb +6 -2
- data/lib/plurimath/math/symbols/vdash.rb +4 -2
- data/lib/plurimath/math/symbols/vddash.rb +4 -2
- data/lib/plurimath/math/symbols/vectimes.rb +4 -2
- data/lib/plurimath/math/symbols/veebar.rb +4 -2
- data/lib/plurimath/math/symbols/veedot.rb +4 -2
- data/lib/plurimath/math/symbols/veedoublebar.rb +4 -2
- data/lib/plurimath/math/symbols/veeeq.rb +4 -2
- data/lib/plurimath/math/symbols/veemidvert.rb +4 -2
- data/lib/plurimath/math/symbols/veeodot.rb +4 -2
- data/lib/plurimath/math/symbols/veeonvee.rb +4 -2
- data/lib/plurimath/math/symbols/veeonwedge.rb +4 -2
- data/lib/plurimath/math/symbols/venus.rb +4 -2
- data/lib/plurimath/math/symbols/vertoverlay.rb +4 -2
- data/lib/plurimath/math/symbols/viewdata.rb +4 -2
- data/lib/plurimath/math/symbols/virgo.rb +4 -2
- data/lib/plurimath/math/symbols/vlongdash.rb +4 -2
- data/lib/plurimath/math/symbols/vrectangle.rb +4 -2
- data/lib/plurimath/math/symbols/vrectangleblack.rb +4 -2
- data/lib/plurimath/math/symbols/vv.rb +6 -3
- data/lib/plurimath/math/symbols/vvdash.rb +2 -1
- data/lib/plurimath/math/symbols/vvv.rb +4 -2
- data/lib/plurimath/math/symbols/vysmblkcircle.rb +7 -3
- data/lib/plurimath/math/symbols/vysmblksquare.rb +4 -2
- data/lib/plurimath/math/symbols/vysmwhtcircle.rb +7 -3
- data/lib/plurimath/math/symbols/vysmwhtsquare.rb +4 -2
- data/lib/plurimath/math/symbols/vzigzag.rb +4 -2
- data/lib/plurimath/math/symbols/warning.rb +4 -2
- data/lib/plurimath/math/symbols/wasytherefore.rb +7 -3
- data/lib/plurimath/math/symbols/wedge.rb +6 -3
- data/lib/plurimath/math/symbols/wedgebar.rb +4 -2
- data/lib/plurimath/math/symbols/wedgedot.rb +4 -2
- data/lib/plurimath/math/symbols/wedgedoublebar.rb +4 -2
- data/lib/plurimath/math/symbols/wedgemidvert.rb +4 -2
- data/lib/plurimath/math/symbols/wedgeodot.rb +4 -2
- data/lib/plurimath/math/symbols/wedgeonwedge.rb +4 -2
- data/lib/plurimath/math/symbols/whitearrowupfrombar.rb +6 -2
- data/lib/plurimath/math/symbols/whiteinwhitetriangle.rb +6 -2
- data/lib/plurimath/math/symbols/whitepointerleft.rb +4 -2
- data/lib/plurimath/math/symbols/whitepointerright.rb +4 -2
- data/lib/plurimath/math/symbols/whitesquaretickleft.rb +6 -2
- data/lib/plurimath/math/symbols/whitesquaretickright.rb +6 -2
- data/lib/plurimath/math/symbols/whthorzoval.rb +4 -2
- data/lib/plurimath/math/symbols/whtvertoval.rb +4 -2
- data/lib/plurimath/math/symbols/wideangledown.rb +4 -2
- data/lib/plurimath/math/symbols/wideangleup.rb +4 -2
- data/lib/plurimath/math/symbols/widebridgeabove.rb +4 -2
- data/lib/plurimath/math/symbols/wideparen.rb +6 -2
- data/lib/plurimath/math/symbols/xbox.rb +4 -2
- data/lib/plurimath/math/symbols/xi.rb +4 -2
- data/lib/plurimath/math/symbols/xsol.rb +4 -2
- data/lib/plurimath/math/symbols/xx.rb +2 -1
- data/lib/plurimath/math/symbols/yinyang.rb +4 -2
- data/lib/plurimath/math/symbols/zeta.rb +4 -2
- data/lib/plurimath/math/symbols/zpipe.rb +4 -2
- data/lib/plurimath/math/symbols/zwnj.rb +2 -1
- data/lib/plurimath/math/symbols/zwsp.rb +2 -1
- data/lib/plurimath/math/symbols.rb +1 -1
- data/lib/plurimath/math.rb +1 -1
- data/lib/plurimath/mathml/constants.rb +3 -1
- data/lib/plurimath/mathml/formula_transformation.rb +9 -6
- data/lib/plurimath/mathml/translator.rb +50 -30
- data/lib/plurimath/mathml/utility/formula_transformation.rb +8 -4
- data/lib/plurimath/number_formatter.rb +4 -2
- data/lib/plurimath/omml/parser.rb +3 -1
- data/lib/plurimath/omml/transform.rb +31 -12
- data/lib/plurimath/unitsml.rb +4 -1
- data/lib/plurimath/utility/intent_encoding.rb +32 -15
- data/lib/plurimath/utility.rb +164 -100
- data/lib/plurimath/version.rb +1 -1
- data/lib/plurimath/xml_engine/oga/dumper.rb +13 -14
- data/lib/plurimath/xml_engine/oga/node.rb +5 -3
- data/lib/plurimath/xml_engine/ox_engine/element.rb +3 -4
- data/plurimath.gemspec +24 -21
- metadata +61 -29
|
@@ -8,7 +8,8 @@ module Plurimath
|
|
|
8
8
|
|
|
9
9
|
include Mathml::FormulaTransformation
|
|
10
10
|
|
|
11
|
-
attr_accessor :value, :left_right_wrapper, :displaystyle, :input_string,
|
|
11
|
+
attr_accessor :value, :left_right_wrapper, :displaystyle, :input_string,
|
|
12
|
+
:display
|
|
12
13
|
|
|
13
14
|
POWER_BASE_CLASSES = %w[powerbase power base].freeze
|
|
14
15
|
DERIVATIVE_CONSTS = ["𝑑", "ⅅ", "ⅆ", "d"].freeze
|
|
@@ -74,10 +75,13 @@ module Plurimath
|
|
|
74
75
|
options = {
|
|
75
76
|
formatter: formatter,
|
|
76
77
|
unitsml: unitsml,
|
|
77
|
-
unary_function_spacing: unary_function_spacing
|
|
78
|
+
unary_function_spacing: unary_function_spacing,
|
|
78
79
|
}.compact
|
|
79
80
|
options[:formula] ||= self
|
|
80
|
-
|
|
81
|
+
if split_on_linebreak
|
|
82
|
+
return line_breaked_mathml(display_style, intent,
|
|
83
|
+
options: options)
|
|
84
|
+
end
|
|
81
85
|
|
|
82
86
|
wrap_render_error(:mathml) do
|
|
83
87
|
math_attrs = {
|
|
@@ -106,7 +110,10 @@ module Plurimath
|
|
|
106
110
|
end
|
|
107
111
|
|
|
108
112
|
def to_mathml_without_math_tag(intent, options:)
|
|
109
|
-
|
|
113
|
+
unless left_right_wrapper
|
|
114
|
+
return mathml_content(intent,
|
|
115
|
+
options: options)
|
|
116
|
+
end
|
|
110
117
|
|
|
111
118
|
mathml_value = mathml_content(intent, options: options)
|
|
112
119
|
attributes = intent_attribute(mathml_value) if intent
|
|
@@ -115,7 +122,9 @@ module Plurimath
|
|
|
115
122
|
end
|
|
116
123
|
|
|
117
124
|
def mathml_content(intent, options:)
|
|
118
|
-
nodes = value.map
|
|
125
|
+
nodes = value.map do |val|
|
|
126
|
+
val.to_mathml_without_math_tag(intent, options: options)
|
|
127
|
+
end
|
|
119
128
|
intent_post_processing(nodes, intent) if intent
|
|
120
129
|
nodes
|
|
121
130
|
end
|
|
@@ -136,16 +145,19 @@ module Plurimath
|
|
|
136
145
|
end
|
|
137
146
|
end
|
|
138
147
|
|
|
139
|
-
def to_omml(display_style: displaystyle, split_on_linebreak: false,
|
|
148
|
+
def to_omml(display_style: displaystyle, split_on_linebreak: false,
|
|
149
|
+
formatter: nil, unitsml: {})
|
|
140
150
|
wrap_render_error(:omml) do
|
|
141
151
|
objects = split_on_linebreak ? new_line_support : [self]
|
|
142
152
|
options = { formatter: formatter, unitsml: unitsml }.compact
|
|
143
153
|
options[:formula] ||= self
|
|
144
|
-
para_element = Utility.ox_element("oMathPara",
|
|
154
|
+
para_element = Utility.ox_element("oMathPara",
|
|
155
|
+
attributes: OMML_NAMESPACES, namespace: "m")
|
|
145
156
|
objects.each.with_index(1) do |object, index|
|
|
146
157
|
para_element << Utility.update_nodes(
|
|
147
158
|
Utility.ox_element("oMath", namespace: "m"),
|
|
148
|
-
object.omml_content(boolean_display_style(display_style),
|
|
159
|
+
object.omml_content(boolean_display_style(display_style),
|
|
160
|
+
options: options),
|
|
149
161
|
)
|
|
150
162
|
next if objects.length == index
|
|
151
163
|
|
|
@@ -167,73 +179,100 @@ module Plurimath
|
|
|
167
179
|
options ||= { formatter: formatter, unitsml: unitsml }.compact
|
|
168
180
|
options[:formula] ||= self
|
|
169
181
|
wrap_render_error(:unicodemath) do
|
|
170
|
-
Utility.html_entity_to_unicode(unicodemath_value(options: options)).gsub(
|
|
182
|
+
Utility.html_entity_to_unicode(unicodemath_value(options: options)).gsub(
|
|
183
|
+
/\s\/\s/, "/"
|
|
184
|
+
)
|
|
171
185
|
end
|
|
172
186
|
end
|
|
173
187
|
|
|
174
|
-
def to_display(type = nil, formatter: nil, unitsml: {},
|
|
188
|
+
def to_display(type = nil, formatter: nil, unitsml: {},
|
|
189
|
+
unary_function_spacing: true)
|
|
175
190
|
options = {
|
|
176
191
|
formatter: formatter,
|
|
177
192
|
unitsml: unitsml,
|
|
178
|
-
unary_function_spacing: unary_function_spacing
|
|
193
|
+
unary_function_spacing: unary_function_spacing,
|
|
179
194
|
}
|
|
180
195
|
options[:formula] ||= self
|
|
181
196
|
return type_error!(type) unless MATH_ZONE_TYPES.include?(type.downcase.to_sym)
|
|
182
197
|
|
|
183
198
|
math_zone = case type
|
|
184
199
|
when :asciimath
|
|
185
|
-
" |_ \"#{to_asciimath(options: options)}\"\n#{to_asciimath_math_zone(
|
|
200
|
+
" |_ \"#{to_asciimath(options: options)}\"\n#{to_asciimath_math_zone(
|
|
201
|
+
' ', options: options
|
|
202
|
+
).join}"
|
|
186
203
|
when :latex
|
|
187
|
-
" |_ \"#{to_latex(options: options)}\"\n#{to_latex_math_zone(
|
|
204
|
+
" |_ \"#{to_latex(options: options)}\"\n#{to_latex_math_zone(
|
|
205
|
+
' ', options: options
|
|
206
|
+
).join}"
|
|
188
207
|
when :mathml
|
|
189
|
-
mathml = to_mathml(formatter: formatter, unary_function_spacing: options[:unary_function_spacing]).gsub(
|
|
190
|
-
|
|
208
|
+
mathml = to_mathml(formatter: formatter, unary_function_spacing: options[:unary_function_spacing]).gsub(
|
|
209
|
+
/\n\s*/, ""
|
|
210
|
+
)
|
|
211
|
+
math_display = to_mathml_math_zone(" ",
|
|
212
|
+
options: options).join
|
|
191
213
|
" |_ \"#{mathml}\"\n#{math_display}"
|
|
192
214
|
when :omml
|
|
193
215
|
omml = to_omml.gsub(/\n\s*/, "")
|
|
194
|
-
omml_display = to_omml_math_zone(" ",
|
|
216
|
+
omml_display = to_omml_math_zone(" ",
|
|
217
|
+
display_style: displaystyle, options: options).join
|
|
195
218
|
" |_ \"#{omml}\"\n#{omml_display}"
|
|
196
219
|
when :unicodemath
|
|
197
|
-
" |_ \"#{to_unicodemath(options: options)}\"\n#{to_unicodemath_math_zone(
|
|
220
|
+
" |_ \"#{to_unicodemath(options: options)}\"\n#{to_unicodemath_math_zone(
|
|
221
|
+
' ', options: options
|
|
222
|
+
).join}"
|
|
198
223
|
end
|
|
199
224
|
<<~MATHZONE.sub(/\n$/, "")
|
|
200
|
-
|
|
201
|
-
|
|
225
|
+
|_ Math zone
|
|
226
|
+
#{math_zone}
|
|
202
227
|
MATHZONE
|
|
203
228
|
end
|
|
204
229
|
|
|
205
|
-
def to_asciimath_math_zone(spacing = "", last = false, indent = true,
|
|
206
|
-
|
|
230
|
+
def to_asciimath_math_zone(spacing = "", last = false, indent = true,
|
|
231
|
+
options:)
|
|
232
|
+
filtered_values(value,
|
|
233
|
+
lang: :asciimath).map.with_index(1) do |object, index|
|
|
207
234
|
last = index == @values.length
|
|
208
|
-
object.to_asciimath_math_zone(new_space(spacing, indent), last,
|
|
235
|
+
object.to_asciimath_math_zone(new_space(spacing, indent), last,
|
|
236
|
+
indent, options: options)
|
|
209
237
|
end
|
|
210
238
|
end
|
|
211
239
|
|
|
212
|
-
def to_latex_math_zone(spacing = "", last = false, indent = true,
|
|
213
|
-
|
|
240
|
+
def to_latex_math_zone(spacing = "", last = false, indent = true,
|
|
241
|
+
options:)
|
|
242
|
+
filtered_values(value,
|
|
243
|
+
lang: :latex).map.with_index(1) do |object, index|
|
|
214
244
|
last = index == @values.length
|
|
215
|
-
object.to_latex_math_zone(new_space(spacing, indent), last, indent,
|
|
245
|
+
object.to_latex_math_zone(new_space(spacing, indent), last, indent,
|
|
246
|
+
options: options)
|
|
216
247
|
end
|
|
217
248
|
end
|
|
218
249
|
|
|
219
|
-
def to_mathml_math_zone(spacing = "", last = false, indent = true,
|
|
220
|
-
|
|
250
|
+
def to_mathml_math_zone(spacing = "", last = false, indent = true,
|
|
251
|
+
options:)
|
|
252
|
+
filtered_values(value, lang: :mathml,
|
|
253
|
+
options: options).map.with_index(1) do |object, index|
|
|
221
254
|
last = index == @values.length
|
|
222
|
-
object.to_mathml_math_zone(new_space(spacing, indent), last, indent,
|
|
255
|
+
object.to_mathml_math_zone(new_space(spacing, indent), last, indent,
|
|
256
|
+
options: options)
|
|
223
257
|
end
|
|
224
258
|
end
|
|
225
259
|
|
|
226
|
-
def to_omml_math_zone(spacing = "", last = false, indent = true,
|
|
260
|
+
def to_omml_math_zone(spacing = "", last = false, indent = true,
|
|
261
|
+
display_style:, options:)
|
|
227
262
|
filtered_values(value, lang: :omml).map.with_index(1) do |object, index|
|
|
228
263
|
last = index == @values.length
|
|
229
|
-
object.to_omml_math_zone(new_space(spacing, indent), last, indent,
|
|
264
|
+
object.to_omml_math_zone(new_space(spacing, indent), last, indent,
|
|
265
|
+
display_style: display_style, options: options)
|
|
230
266
|
end
|
|
231
267
|
end
|
|
232
268
|
|
|
233
|
-
def to_unicodemath_math_zone(spacing = "", last = false, indent = true,
|
|
234
|
-
|
|
269
|
+
def to_unicodemath_math_zone(spacing = "", last = false, indent = true,
|
|
270
|
+
options:)
|
|
271
|
+
filtered_values(value,
|
|
272
|
+
lang: :unicodemath).map.with_index(1) do |object, index|
|
|
235
273
|
last = index == @values.length
|
|
236
|
-
object.to_unicodemath_math_zone(new_space(spacing, indent), last,
|
|
274
|
+
object.to_unicodemath_math_zone(new_space(spacing, indent), last,
|
|
275
|
+
indent, options: options)
|
|
237
276
|
end
|
|
238
277
|
end
|
|
239
278
|
|
|
@@ -248,7 +287,7 @@ module Plurimath
|
|
|
248
287
|
end
|
|
249
288
|
|
|
250
289
|
def validate_function_formula
|
|
251
|
-
|
|
290
|
+
value.none?(Function::Left) || value.none?(Function::Right)
|
|
252
291
|
end
|
|
253
292
|
|
|
254
293
|
def value_exist?
|
|
@@ -291,7 +330,7 @@ module Plurimath
|
|
|
291
330
|
|
|
292
331
|
def reprocess_value(obj)
|
|
293
332
|
new_obj = self.class.new([])
|
|
294
|
-
|
|
333
|
+
line_breaking(new_obj)
|
|
295
334
|
if new_obj.value_exist?
|
|
296
335
|
obj.value.insert(0, Function::Linebreak.new)
|
|
297
336
|
obj.value.insert(0, self.class.new(new_obj.value))
|
|
@@ -322,8 +361,8 @@ module Plurimath
|
|
|
322
361
|
Math::Function::Color.new(
|
|
323
362
|
Math::Function::Text.new(value),
|
|
324
363
|
filter_values(@value, array_to_instance: true),
|
|
325
|
-
)
|
|
326
|
-
]
|
|
364
|
+
),
|
|
365
|
+
],
|
|
327
366
|
)
|
|
328
367
|
end
|
|
329
368
|
|
|
@@ -336,8 +375,8 @@ module Plurimath
|
|
|
336
375
|
Plurimath::Utility::FONT_STYLES[value.to_sym].new(
|
|
337
376
|
filter_values(@value, array_to_instance: true),
|
|
338
377
|
value,
|
|
339
|
-
)
|
|
340
|
-
]
|
|
378
|
+
),
|
|
379
|
+
],
|
|
341
380
|
)
|
|
342
381
|
end
|
|
343
382
|
|
|
@@ -350,8 +389,8 @@ module Plurimath
|
|
|
350
389
|
Function::Intent.new(
|
|
351
390
|
filter_values(@value, array_to_instance: true),
|
|
352
391
|
Function::Text.new(value),
|
|
353
|
-
)
|
|
354
|
-
]
|
|
392
|
+
),
|
|
393
|
+
],
|
|
355
394
|
)
|
|
356
395
|
end
|
|
357
396
|
# Attributes end
|
|
@@ -369,11 +408,13 @@ module Plurimath
|
|
|
369
408
|
end
|
|
370
409
|
|
|
371
410
|
def new_space(spacing, indent)
|
|
372
|
-
if value.any? { |val| val.class_name == "left" } && value.any?
|
|
411
|
+
if value.any? { |val| val.class_name == "left" } && value.any? do |val|
|
|
412
|
+
val.class_name == "right"
|
|
413
|
+
end
|
|
373
414
|
return spacing
|
|
374
415
|
end
|
|
375
416
|
|
|
376
|
-
|
|
417
|
+
indent && wrapable?(spacing) ? "#{spacing}|_ " : spacing
|
|
377
418
|
end
|
|
378
419
|
|
|
379
420
|
def wrapable?(spacing)
|
|
@@ -448,13 +489,13 @@ module Plurimath
|
|
|
448
489
|
def valid_first_parameter?(param)
|
|
449
490
|
undef_functions = UnicodeMath::Constants::UNDEF_UNARY_FUNCTIONS
|
|
450
491
|
return true if param.is_a?(Symbols::Symbol) && undef_functions.include?(param.value)
|
|
451
|
-
return unless POWER_BASE_CLASSES.include?(param.class_name)
|
|
492
|
+
return false unless POWER_BASE_CLASSES.include?(param.class_name)
|
|
452
493
|
|
|
453
494
|
param.parameter_one.is_a?(Function::UnaryFunction) ||
|
|
454
495
|
param.parameter_one.is_a?(Function::Lim)
|
|
455
496
|
end
|
|
456
497
|
|
|
457
|
-
def intent_post_processing(nodes,
|
|
498
|
+
def intent_post_processing(nodes, _intent)
|
|
458
499
|
mrow = Utility.update_nodes(ox_element("mrow"), nodes)
|
|
459
500
|
upcase_dd_derivative(nodes) if validate_upcase_dd_derivatives?(nodes)
|
|
460
501
|
subsup_dd_derivative(nodes) if validate_subsup_dd_derivatives?(nodes)
|
|
@@ -496,11 +537,11 @@ module Plurimath
|
|
|
496
537
|
|
|
497
538
|
def partial_derivative(nodes)
|
|
498
539
|
nodes.each.with_index do |first, index|
|
|
499
|
-
second = nodes[index+1]
|
|
540
|
+
second = nodes[index + 1]
|
|
500
541
|
next second unless first.name == "msub" && first.nodes.first.nodes.include?("∂")
|
|
501
542
|
|
|
502
543
|
first["intent"] = partial_derivative_intent(first)
|
|
503
|
-
f_arg(nodes, index+1)
|
|
544
|
+
f_arg(nodes, index + 1)
|
|
504
545
|
end
|
|
505
546
|
end
|
|
506
547
|
|
|
@@ -508,7 +549,8 @@ module Plurimath
|
|
|
508
549
|
first_node = first.nodes.last
|
|
509
550
|
case first_node.name
|
|
510
551
|
when "mi"
|
|
511
|
-
first_arg
|
|
552
|
+
first_arg = 1
|
|
553
|
+
second_arg = encode(first_node.nodes.first)
|
|
512
554
|
when "mn"
|
|
513
555
|
first_arg, second_arg = numeric_encoding(node)
|
|
514
556
|
when "mrow"
|
|
@@ -523,7 +565,7 @@ module Plurimath
|
|
|
523
565
|
end
|
|
524
566
|
end
|
|
525
567
|
first_arg = str.include?(",") ? str.split(",").length : str.length
|
|
526
|
-
second_arg = str.include?(",") ? str : str.
|
|
568
|
+
second_arg = str.include?(",") ? str : str.chars.join(",")
|
|
527
569
|
when "msup"
|
|
528
570
|
nodes = first_node.nodes
|
|
529
571
|
str = ""
|
|
@@ -542,7 +584,7 @@ module Plurimath
|
|
|
542
584
|
str += encode(node.nodes.first)
|
|
543
585
|
end
|
|
544
586
|
first_arg = str.include?(",") ? str.split(",").length : str.length
|
|
545
|
-
second_arg = str.include?(",") ? str : str.
|
|
587
|
+
second_arg = str.include?(",") ? str : str.chars.join(",")
|
|
546
588
|
prime_str = encode(nodes.last.nodes.first) if valid_prime?(nodes.last)
|
|
547
589
|
second_arg.insert(-1, prime_str) unless second_arg.match?(/[0-9]$/)
|
|
548
590
|
end
|
|
@@ -596,8 +638,8 @@ module Plurimath
|
|
|
596
638
|
end
|
|
597
639
|
|
|
598
640
|
def validate_upcase_dd_derivatives?(nodes)
|
|
599
|
-
return unless nodes[0]&.nodes&.first == "ⅅ"
|
|
600
|
-
return unless nodes[1].name == "mi"
|
|
641
|
+
return false unless nodes[0]&.nodes&.first == "ⅅ"
|
|
642
|
+
return false unless nodes[1].name == "mi"
|
|
601
643
|
|
|
602
644
|
true
|
|
603
645
|
end
|
|
@@ -627,18 +669,20 @@ module Plurimath
|
|
|
627
669
|
iteration = 0
|
|
628
670
|
return unless DERIVATIVE_CONSTS.include?(nodes[iteration].nodes[iteration].nodes.first)
|
|
629
671
|
|
|
630
|
-
while iteration < nodes.length
|
|
672
|
+
while iteration < nodes.length
|
|
631
673
|
node = nodes[iteration]
|
|
632
674
|
next iteration += 1 unless node.nodes[0].is_a?(Plurimath::XmlEngine::OxEngine::Element)
|
|
633
675
|
|
|
634
676
|
if DERIVATIVE_CONSTS.include?(node.nodes[0]&.nodes&.first)
|
|
635
677
|
iteration += 1
|
|
636
|
-
node["intent"] =
|
|
678
|
+
node["intent"] =
|
|
679
|
+
"#{intent_names[:derivative]}#{derivative_intent_name(node.nodes[1],
|
|
680
|
+
nodes[iteration..], type: node.name)}"
|
|
637
681
|
next_node = nodes[iteration]
|
|
638
682
|
case next_node.name
|
|
639
683
|
when "mi", "mrow"
|
|
640
684
|
if ["mi", "mrow"].include?(nodes[iteration + 1].name)
|
|
641
|
-
wrap_in_mrow(nodes[iteration
|
|
685
|
+
wrap_in_mrow(nodes[iteration..])
|
|
642
686
|
else
|
|
643
687
|
next_node["arg"] = "f"
|
|
644
688
|
end
|
|
@@ -663,13 +707,15 @@ module Plurimath
|
|
|
663
707
|
return numeric_encoding(node) if node.name == "mn"
|
|
664
708
|
return ["1"] if node["intent"] == "fenced"
|
|
665
709
|
return unless node.name == "mrow"
|
|
666
|
-
|
|
710
|
+
|
|
711
|
+
["1"] unless node.nodes.all? { |element| element.name == "mi" }
|
|
667
712
|
end
|
|
668
713
|
|
|
669
714
|
def sup_intent_content(node)
|
|
670
715
|
return encode(first_node) if node.name == "mi"
|
|
671
716
|
return node.nodes[0] if node.name == "mn"
|
|
672
|
-
|
|
717
|
+
|
|
718
|
+
"$n" if node.name == "mrow"
|
|
673
719
|
end
|
|
674
720
|
|
|
675
721
|
def sup_second_content(next_nodes)
|
|
@@ -678,12 +724,13 @@ module Plurimath
|
|
|
678
724
|
break if fence_node
|
|
679
725
|
|
|
680
726
|
next if %w[mi mn].include?(node.name)
|
|
727
|
+
|
|
681
728
|
fence_node = node if node.name == "mrow" && node["intent"] == ":fenced"
|
|
682
729
|
break unless %w[mi mn].include?(node.name)
|
|
683
730
|
end
|
|
684
731
|
return if fence_node.nil?
|
|
685
732
|
|
|
686
|
-
nodes = fence_node.nodes[1
|
|
733
|
+
nodes = fence_node.nodes[1..]
|
|
687
734
|
sliced_nodes = nodes.slice_before { |node| node.name == "mn" }
|
|
688
735
|
str = ""
|
|
689
736
|
sliced_nodes.to_a.last.each do |node|
|
|
@@ -714,12 +761,12 @@ module Plurimath
|
|
|
714
761
|
end
|
|
715
762
|
|
|
716
763
|
def numeric_encoding(node)
|
|
717
|
-
nodes = node.nodes[0].
|
|
764
|
+
nodes = node.nodes[0].chars
|
|
718
765
|
[nodes.length, nodes.join(",")]
|
|
719
766
|
end
|
|
720
767
|
|
|
721
768
|
def valid_prime?(node)
|
|
722
|
-
Utility.primes_constants.values.any?
|
|
769
|
+
Utility.primes_constants.values.any?(node.nodes.first)
|
|
723
770
|
end
|
|
724
771
|
|
|
725
772
|
def encode(str)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
module Plurimath
|
|
5
4
|
module Math
|
|
6
5
|
module Function
|
|
@@ -10,15 +9,17 @@ module Plurimath
|
|
|
10
9
|
def to_mathml_without_math_tag(intent, options:)
|
|
11
10
|
symbol = Utility.ox_element("mo") << "|"
|
|
12
11
|
first_value = mathml_value(intent, options: options)
|
|
13
|
-
first_value
|
|
12
|
+
first_value&.insert(0, symbol) unless open_paren
|
|
14
13
|
first_value << symbol unless close_paren
|
|
15
14
|
mrow = Utility.update_nodes(ox_element("mrow"), first_value)
|
|
16
|
-
intentify(mrow, intent, func_name: :abs,
|
|
15
|
+
intentify(mrow, intent, func_name: :abs,
|
|
16
|
+
intent_name: intent_names[:name])
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def to_omml_without_math_tag(display_style, options:)
|
|
20
20
|
Array(
|
|
21
|
-
md_tag << omml_parameter(parameter_one, display_style,
|
|
21
|
+
md_tag << omml_parameter(parameter_one, display_style,
|
|
22
|
+
tag_name: "e", options: options),
|
|
22
23
|
)
|
|
23
24
|
end
|
|
24
25
|
|
|
@@ -48,8 +49,14 @@ module Plurimath
|
|
|
48
49
|
attribute = { "m:val": "|" }
|
|
49
50
|
sepchr_attr = { "m:val": "" }
|
|
50
51
|
mdpr = Utility.pr_element("d", namespace: "m")
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
unless open_paren
|
|
53
|
+
mdpr << ox_element("begChr", namespace: "m",
|
|
54
|
+
attributes: attribute)
|
|
55
|
+
end
|
|
56
|
+
unless close_paren
|
|
57
|
+
mdpr << ox_element("endChr", namespace: "m",
|
|
58
|
+
attributes: attribute)
|
|
59
|
+
end
|
|
53
60
|
mdpr << ox_element("sepChr", namespace: "m", attributes: sepchr_attr)
|
|
54
61
|
mdpr << ox_element("grow", namespace: "m")
|
|
55
62
|
ox_element("d", namespace: "m") << mdpr
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
module Plurimath
|
|
5
4
|
module Math
|
|
6
5
|
module Function
|
|
7
6
|
class Arg < BinaryFunction
|
|
8
7
|
def to_mathml_without_math_tag(intent, options:)
|
|
9
|
-
first_value = parameter_one.to_mathml_without_math_tag(intent,
|
|
10
|
-
|
|
8
|
+
first_value = parameter_one.to_mathml_without_math_tag(intent,
|
|
9
|
+
options: options)
|
|
10
|
+
first_value.attributes[:arg] =
|
|
11
|
+
Utility.html_entity_to_unicode(parameter_two.value)
|
|
11
12
|
first_value
|
|
12
13
|
end
|
|
13
14
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
module Plurimath
|
|
5
4
|
module Math
|
|
6
5
|
module Function
|
|
@@ -31,7 +30,8 @@ module Plurimath
|
|
|
31
30
|
Utility.update_nodes(
|
|
32
31
|
mover_tag,
|
|
33
32
|
[
|
|
34
|
-
parameter_one&.to_mathml_without_math_tag(intent,
|
|
33
|
+
parameter_one&.to_mathml_without_math_tag(intent,
|
|
34
|
+
options: options),
|
|
35
35
|
mo_tag,
|
|
36
36
|
],
|
|
37
37
|
)
|
|
@@ -40,7 +40,14 @@ module Plurimath
|
|
|
40
40
|
def to_omml_without_math_tag(display_style, options:)
|
|
41
41
|
return r_element("¯", rpr_tag: false) unless parameter_one
|
|
42
42
|
|
|
43
|
-
attributes && attributes[:accent]
|
|
43
|
+
if attributes && attributes[:accent]
|
|
44
|
+
acc_tag(display_style,
|
|
45
|
+
options: options)
|
|
46
|
+
else
|
|
47
|
+
bar_tag(
|
|
48
|
+
display_style, options: options
|
|
49
|
+
)
|
|
50
|
+
end
|
|
44
51
|
end
|
|
45
52
|
|
|
46
53
|
def swap_class
|
|
@@ -60,13 +67,15 @@ module Plurimath
|
|
|
60
67
|
|
|
61
68
|
def acc_tag(display_style, options:)
|
|
62
69
|
acc = Utility.ox_element("acc", namespace: "m")
|
|
63
|
-
chr = Utility.ox_element("chr", namespace: "m",
|
|
70
|
+
chr = Utility.ox_element("chr", namespace: "m",
|
|
71
|
+
attributes: { "m:val": "‾" })
|
|
64
72
|
acc_pr = (Utility.ox_element("accPr", namespace: "m") << chr)
|
|
65
73
|
Utility.update_nodes(
|
|
66
74
|
acc,
|
|
67
75
|
[
|
|
68
76
|
acc_pr,
|
|
69
|
-
omml_parameter(parameter_one, display_style, tag_name: "e",
|
|
77
|
+
omml_parameter(parameter_one, display_style, tag_name: "e",
|
|
78
|
+
options: options),
|
|
70
79
|
],
|
|
71
80
|
)
|
|
72
81
|
[acc]
|
|
@@ -78,7 +87,8 @@ module Plurimath
|
|
|
78
87
|
bar,
|
|
79
88
|
[
|
|
80
89
|
bar_pr,
|
|
81
|
-
omml_parameter(parameter_one, display_style, tag_name: "e",
|
|
90
|
+
omml_parameter(parameter_one, display_style, tag_name: "e",
|
|
91
|
+
namespace: "m", options: options),
|
|
82
92
|
],
|
|
83
93
|
)
|
|
84
94
|
[bar]
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
module Plurimath
|
|
5
4
|
module Math
|
|
6
5
|
module Function
|
|
7
6
|
class Base < BinaryFunction
|
|
8
|
-
|
|
9
7
|
attr_accessor :options
|
|
10
8
|
|
|
11
9
|
FUNCTION = {
|
|
@@ -22,13 +20,16 @@ module Plurimath
|
|
|
22
20
|
end
|
|
23
21
|
|
|
24
22
|
def ==(object)
|
|
25
|
-
super
|
|
23
|
+
super &&
|
|
26
24
|
object.options == options
|
|
27
25
|
end
|
|
28
26
|
|
|
29
27
|
def to_asciimath(options:)
|
|
30
28
|
first_value = parameter_one.to_asciimath(options: options) if parameter_one
|
|
31
|
-
|
|
29
|
+
if parameter_two
|
|
30
|
+
second_value = "_#{wrapped(parameter_two,
|
|
31
|
+
options: options)}"
|
|
32
|
+
end
|
|
32
33
|
"#{first_value}#{second_value}"
|
|
33
34
|
end
|
|
34
35
|
|
|
@@ -36,8 +37,10 @@ module Plurimath
|
|
|
36
37
|
tag_name = Utility::MUNDER_CLASSES.include?(parameter_one&.class_name) ? "under" : "sub"
|
|
37
38
|
sub_tag = Utility.ox_element("m#{tag_name}")
|
|
38
39
|
mathml_value = []
|
|
39
|
-
mathml_value << validate_mathml_fields(parameter_one, intent,
|
|
40
|
-
|
|
40
|
+
mathml_value << validate_mathml_fields(parameter_one, intent,
|
|
41
|
+
options: options)
|
|
42
|
+
mathml_value << validate_mathml_fields(parameter_two, intent,
|
|
43
|
+
options: options)
|
|
41
44
|
Utility.update_nodes(sub_tag, mathml_value)
|
|
42
45
|
end
|
|
43
46
|
|
|
@@ -62,8 +65,10 @@ module Plurimath
|
|
|
62
65
|
ssub_element,
|
|
63
66
|
[
|
|
64
67
|
subpr_element,
|
|
65
|
-
omml_parameter(parameter_one, display_style, tag_name: "e",
|
|
66
|
-
|
|
68
|
+
omml_parameter(parameter_one, display_style, tag_name: "e",
|
|
69
|
+
options: options),
|
|
70
|
+
omml_parameter(parameter_two, display_style, tag_name: "sub",
|
|
71
|
+
options: options),
|
|
67
72
|
],
|
|
68
73
|
)
|
|
69
74
|
[ssub_element]
|
|
@@ -72,21 +77,23 @@ module Plurimath
|
|
|
72
77
|
def to_unicodemath(options:)
|
|
73
78
|
first_value = parameter_one.to_unicodemath(options: options) if parameter_one
|
|
74
79
|
second_value = if parameter_two.is_a?(self.class)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
"_#{size_overrides}#{parameter_two.to_unicodemath(options: options)}"
|
|
81
|
+
elsif parameter_two&.mini_sized?
|
|
82
|
+
parameter_two.to_unicodemath(options: options)
|
|
83
|
+
elsif parameter_two.nil?
|
|
84
|
+
"()"
|
|
85
|
+
else
|
|
86
|
+
"_#{size_overrides}#{unicodemath_parens(parameter_two,
|
|
87
|
+
options: options)}"
|
|
88
|
+
end
|
|
83
89
|
"#{first_value}#{second_value}"
|
|
84
90
|
end
|
|
85
91
|
|
|
86
92
|
def line_breaking(obj)
|
|
87
93
|
parameter_one&.line_breaking(obj)
|
|
88
94
|
if obj.value_exist?
|
|
89
|
-
obj.update(self.class.new(Utility.filter_values(obj.value),
|
|
95
|
+
obj.update(self.class.new(Utility.filter_values(obj.value),
|
|
96
|
+
parameter_two))
|
|
90
97
|
self.parameter_two = nil
|
|
91
98
|
return
|
|
92
99
|
end
|
|
@@ -116,7 +123,7 @@ module Plurimath
|
|
|
116
123
|
def unicodemath_parens(field, options:)
|
|
117
124
|
return "〖#{field.to_unicodemath(options: options)}〗" unless self.options.nil? || self.options&.empty?
|
|
118
125
|
|
|
119
|
-
super
|
|
126
|
+
super
|
|
120
127
|
end
|
|
121
128
|
end
|
|
122
129
|
end
|