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
data/lib/plurimath/cli.rb
CHANGED
|
@@ -4,7 +4,6 @@ require "thor"
|
|
|
4
4
|
require_relative "../plurimath"
|
|
5
5
|
|
|
6
6
|
module Plurimath
|
|
7
|
-
|
|
8
7
|
class Cli < Thor
|
|
9
8
|
desc "convert", "Convert between math formats"
|
|
10
9
|
|
|
@@ -30,7 +29,7 @@ module Plurimath
|
|
|
30
29
|
option :math_rendering,
|
|
31
30
|
aliases: "-m",
|
|
32
31
|
force: :boolean,
|
|
33
|
-
default:
|
|
32
|
+
default: "false",
|
|
34
33
|
desc: "Render converted equation as math zone display tree, Boolean only"
|
|
35
34
|
|
|
36
35
|
option :display_style,
|
|
@@ -56,7 +55,7 @@ module Plurimath
|
|
|
56
55
|
input_format = options[:input_format]
|
|
57
56
|
output_format = options[:output_format]
|
|
58
57
|
configure_xml_engine(input_format, output_format)
|
|
59
|
-
formula
|
|
58
|
+
formula = Plurimath::Math.parse(input_string, input_format)
|
|
60
59
|
return puts formula.to_display(output_format.to_sym) if YAML.safe_load(options[:math_rendering])
|
|
61
60
|
|
|
62
61
|
display_style = options[:display_style]
|
|
@@ -68,11 +67,13 @@ module Plurimath
|
|
|
68
67
|
when "asciimath"
|
|
69
68
|
formula.to_asciimath
|
|
70
69
|
when "mathml"
|
|
71
|
-
formula.to_mathml(display_style: style,
|
|
70
|
+
formula.to_mathml(display_style: style,
|
|
71
|
+
split_on_linebreak: split)
|
|
72
72
|
when "latex"
|
|
73
73
|
formula.to_latex
|
|
74
74
|
when "omml"
|
|
75
|
-
formula.to_omml(display_style: style,
|
|
75
|
+
formula.to_omml(display_style: style,
|
|
76
|
+
split_on_linebreak: split)
|
|
76
77
|
else
|
|
77
78
|
warn_and_exit("Invalid output format: #{output_format}")
|
|
78
79
|
end
|
|
@@ -5,7 +5,9 @@ module Plurimath
|
|
|
5
5
|
class UnsupportedBase < StandardError
|
|
6
6
|
def initialize(base, supported_bases)
|
|
7
7
|
@base = base
|
|
8
|
-
@supported = supported_bases.keys.map
|
|
8
|
+
@supported = supported_bases.keys.map do |key|
|
|
9
|
+
key.to_s.inspect
|
|
10
|
+
end.join(", ")
|
|
9
11
|
end
|
|
10
12
|
|
|
11
13
|
def to_s
|
|
@@ -6,7 +6,7 @@ module Plurimath
|
|
|
6
6
|
attr_reader :number, :data_reader
|
|
7
7
|
|
|
8
8
|
DEFAULT_BASE = Numbers::Base::DEFAULT_BASE
|
|
9
|
-
HEX_ALPHABETS = "abcdef"
|
|
9
|
+
HEX_ALPHABETS = "abcdef"
|
|
10
10
|
STRING_SYMBOLS = {
|
|
11
11
|
dot: ".",
|
|
12
12
|
f: "F",
|
|
@@ -22,7 +22,10 @@ module Plurimath
|
|
|
22
22
|
@number = number
|
|
23
23
|
@data_reader = data_reader
|
|
24
24
|
@base = data_reader[:base] || DEFAULT_BASE
|
|
25
|
-
|
|
25
|
+
unless DEFAULT_BASE_PREFIXES.key?(@base)
|
|
26
|
+
raise UnsupportedBase.new(@base,
|
|
27
|
+
DEFAULT_BASE_PREFIXES)
|
|
28
|
+
end
|
|
26
29
|
|
|
27
30
|
# Handle base_prefix: if explicitly provided (even as nil), use it; otherwise use default
|
|
28
31
|
@base_prefix = if data_reader.key?(:base_prefix)
|
|
@@ -91,7 +94,7 @@ module Plurimath
|
|
|
91
94
|
precision = options[:precision] || precision_from(number)
|
|
92
95
|
|
|
93
96
|
abs = round_to(number, precision).abs
|
|
94
|
-
num = if precision
|
|
97
|
+
num = if precision.zero?
|
|
95
98
|
abs.fix.to_s(STRING_SYMBOLS[:f])
|
|
96
99
|
else
|
|
97
100
|
abs.round(precision).to_s(STRING_SYMBOLS[:f])
|
|
@@ -54,7 +54,7 @@ module Plurimath
|
|
|
54
54
|
tokens = []
|
|
55
55
|
until string.empty?
|
|
56
56
|
tokens << string.slice(0, length)
|
|
57
|
-
string = string[tokens.last.size
|
|
57
|
+
string = string[tokens.last.size..]
|
|
58
58
|
end
|
|
59
59
|
tokens.compact.join(separator)
|
|
60
60
|
end
|
|
@@ -67,7 +67,7 @@ module Plurimath
|
|
|
67
67
|
# omit the fractional part entirely and handle rounding in the integer
|
|
68
68
|
if @digit_count <= raw_integer.length
|
|
69
69
|
# Check if we need to round the integer up based on the fractional part
|
|
70
|
-
if fraction
|
|
70
|
+
if fraction[0] && DIGIT_VALUE[fraction[0]] >= threshold
|
|
71
71
|
# Round up the integer part
|
|
72
72
|
round_integer([], 1)
|
|
73
73
|
end
|
|
@@ -126,7 +126,9 @@ module Plurimath
|
|
|
126
126
|
|
|
127
127
|
def round_integer(fraction_digits_reversed, carry = 1)
|
|
128
128
|
# Propagate carry into the integer part, updating the formatted result
|
|
129
|
-
incremented, carry = increment_integer_digits(
|
|
129
|
+
incremented, carry = increment_integer_digits(
|
|
130
|
+
raw_integer.chars.reverse, carry
|
|
131
|
+
)
|
|
130
132
|
new_integer = [incremented]
|
|
131
133
|
if carry.positive?
|
|
132
134
|
# If carry propagates through all integer digits (e.g., 9+1=10 in base 10),
|
|
@@ -175,7 +177,7 @@ module Plurimath
|
|
|
175
177
|
digit = fraction.to_i
|
|
176
178
|
alpha_digit = HEX_ALPHANUMERIC[digit]
|
|
177
179
|
base_result << alpha_digit
|
|
178
|
-
fraction -= digit
|
|
180
|
+
fraction -= digit # Remove integer part, keep only fractional part
|
|
179
181
|
end
|
|
180
182
|
|
|
181
183
|
base_result.join
|
|
@@ -14,6 +14,7 @@ module Plurimath
|
|
|
14
14
|
|
|
15
15
|
def apply(string, int_format, frac_format)
|
|
16
16
|
return string if significant.zero?
|
|
17
|
+
|
|
17
18
|
# Check if string contains any non-zero digit (works across all bases 2-16)
|
|
18
19
|
chars = string.chars
|
|
19
20
|
return string if skip_significant_processing?(chars)
|
|
@@ -149,6 +150,7 @@ module Plurimath
|
|
|
149
150
|
chars.each do |char|
|
|
150
151
|
start_counting = true if DIGIT_VALUE[char]&.positive?
|
|
151
152
|
next unless start_counting
|
|
153
|
+
|
|
152
154
|
char_count += 1 if DIGIT_VALUE.key?(char)
|
|
153
155
|
end
|
|
154
156
|
char_count
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
module Plurimath
|
|
4
4
|
module Formatter
|
|
5
5
|
class NumericFormatter
|
|
6
|
-
attr_accessor :locale, :localize_number, :localizer_symbols,
|
|
6
|
+
attr_accessor :locale, :localize_number, :localizer_symbols,
|
|
7
|
+
:twitter_cldr_reader
|
|
7
8
|
|
|
8
9
|
LOCALIZE_NUMBER_REGEX = %r{(?<group>[^#])?(?<groupdigits>#+0)(?<decimal>.)(?<fractdigits>#+)(?<fractgroup>[^#])?}
|
|
9
10
|
SUPPORTED_NOTATIONS = %i[e scientific engineering].freeze
|
|
@@ -18,7 +19,10 @@ module Plurimath
|
|
|
18
19
|
def localized_number(number_string, locale:, precision:, format:)
|
|
19
20
|
options_instance_variables(number_string, format, precision)
|
|
20
21
|
@twitter_cldr_reader.merge!(format)
|
|
21
|
-
|
|
22
|
+
if SUPPORTED_NOTATIONS.include?(@notation&.to_sym)
|
|
23
|
+
return send("#{@notation}_format",
|
|
24
|
+
number_string)
|
|
25
|
+
end
|
|
22
26
|
|
|
23
27
|
localize_number(number_string)
|
|
24
28
|
end
|
|
@@ -35,12 +39,12 @@ module Plurimath
|
|
|
35
39
|
def parse_localize_number
|
|
36
40
|
@localize_number or return {}
|
|
37
41
|
m = LOCALIZE_NUMBER_REGEX.match(@localize_number) or return {}
|
|
38
|
-
|
|
42
|
+
{
|
|
39
43
|
decimal: m[:decimal],
|
|
40
44
|
group_digits: m[:groupdigits].size,
|
|
41
45
|
fraction_group_digits: m[:fractdigits].size,
|
|
42
46
|
group: m[:group] == " " ? "\u00A0" : (m[:group] || ""),
|
|
43
|
-
fraction_group: m[:fractgroup] == " " ? "\u00A0" : (m[:fractgroup]
|
|
47
|
+
fraction_group: m[:fractgroup] == " " ? "\u00A0" : (m[:fractgroup] || ""),
|
|
44
48
|
}.compact
|
|
45
49
|
end
|
|
46
50
|
|
|
@@ -49,7 +53,7 @@ module Plurimath
|
|
|
49
53
|
BigDecimal(num),
|
|
50
54
|
@twitter_cldr_reader,
|
|
51
55
|
).format(
|
|
52
|
-
precision: @precision
|
|
56
|
+
precision: @precision,
|
|
53
57
|
)
|
|
54
58
|
end
|
|
55
59
|
|
|
@@ -62,7 +66,7 @@ module Plurimath
|
|
|
62
66
|
end
|
|
63
67
|
|
|
64
68
|
def engineering_format(num_str)
|
|
65
|
-
@precision = num_str.length - 1 unless @precision
|
|
69
|
+
@precision = num_str.length - 1 unless @precision.positive?
|
|
66
70
|
|
|
67
71
|
chars = notation_chars(num_str)
|
|
68
72
|
update_string_index(chars, chars.last.to_i % 3)
|
|
@@ -85,8 +89,9 @@ module Plurimath
|
|
|
85
89
|
notation_array[1] = update_exponent_value(notation_array[1])
|
|
86
90
|
number_str = notation_array[0]
|
|
87
91
|
number_str = number_str.gsub(/0\.(\d)/, '\1.')
|
|
88
|
-
number_str = number_str.sub(
|
|
89
|
-
notation_array[0] =
|
|
92
|
+
number_str = number_str.sub(".", "") if number_str.start_with?(".")
|
|
93
|
+
notation_array[0] =
|
|
94
|
+
number_str.end_with?(".") ? number_str[0..-2] : number_str
|
|
90
95
|
notation_array
|
|
91
96
|
end
|
|
92
97
|
|
|
@@ -101,15 +106,71 @@ module Plurimath
|
|
|
101
106
|
@e = format[:e]&.to_sym || :e
|
|
102
107
|
@times = format[:times]&.to_sym || "\u{d7}"
|
|
103
108
|
@notation = format[:notation]&.to_sym || nil
|
|
104
|
-
@precision = update_precision(string, precision)
|
|
109
|
+
@precision = update_precision(string, precision, format)
|
|
105
110
|
@exponent_sign = format[:exponent_sign]&.to_sym || nil
|
|
106
111
|
end
|
|
107
112
|
|
|
108
|
-
def update_precision(num, precision)
|
|
113
|
+
def update_precision(num, precision, format)
|
|
109
114
|
return precision if precision
|
|
110
|
-
return num.sub(/\./, "").size - 1 if SUPPORTED_NOTATIONS.include?(@notation&.to_sym)
|
|
111
115
|
|
|
112
|
-
|
|
116
|
+
significant_precision = significant_base_precision(num, format)
|
|
117
|
+
return significant_precision if significant_precision
|
|
118
|
+
|
|
119
|
+
if SUPPORTED_NOTATIONS.include?(@notation&.to_sym)
|
|
120
|
+
return num.sub(".",
|
|
121
|
+
"").size - 1
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
num.include?(".") ? num.sub(/^.*\./, "").size : 0
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# When precision is omitted, infer the target-base fractional digits
|
|
128
|
+
# needed to satisfy :significant. Cap the count to the source significant
|
|
129
|
+
# digits so base conversion does not invent precision for values like 0.1.
|
|
130
|
+
# Add one extra digit when the source has more significant digits so
|
|
131
|
+
# Significant can still perform the final rounding pass.
|
|
132
|
+
def significant_base_precision(num, format)
|
|
133
|
+
base = format[:base] || Formatter::NumberFormatter::DEFAULT_BASE
|
|
134
|
+
return unless target_base?(base)
|
|
135
|
+
|
|
136
|
+
significant = format[:significant].to_i
|
|
137
|
+
return if significant.zero?
|
|
138
|
+
|
|
139
|
+
return 0 unless source_fractional?(num)
|
|
140
|
+
|
|
141
|
+
source_significant = source_significant_digits(num)
|
|
142
|
+
effective_significant = [significant, source_significant].min
|
|
143
|
+
target_precision = [
|
|
144
|
+
effective_significant - target_base_integer_length(num, base),
|
|
145
|
+
0,
|
|
146
|
+
].max
|
|
147
|
+
|
|
148
|
+
target_precision += 1 if source_significant > effective_significant
|
|
149
|
+
target_precision
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
def target_base?(base)
|
|
153
|
+
Formatter::NumberFormatter::DEFAULT_BASE_PREFIXES.key?(base) &&
|
|
154
|
+
base != Formatter::NumberFormatter::DEFAULT_BASE
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
def source_fractional?(num)
|
|
158
|
+
mantissa, exponent = num.to_s.downcase.split("e", 2)
|
|
159
|
+
fraction_length = mantissa.split(".", 2)[1].to_s.length
|
|
160
|
+
|
|
161
|
+
fraction_length > exponent.to_i
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
def source_significant_digits(num)
|
|
165
|
+
mantissa = num.to_s.downcase.split("e", 2).first
|
|
166
|
+
mantissa.sub(/\A[-+]/, "").delete(".").sub(/\A0+/, "").length
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
def target_base_integer_length(num, base)
|
|
170
|
+
integer = BigDecimal(num).abs.to_i
|
|
171
|
+
return 0 if integer.zero?
|
|
172
|
+
|
|
173
|
+
integer.to_s(base).length
|
|
113
174
|
end
|
|
114
175
|
|
|
115
176
|
def update_string_index(chars, index)
|
|
@@ -118,7 +179,8 @@ module Plurimath
|
|
|
118
179
|
chars.first.delete!(".")
|
|
119
180
|
chars.first.insert(index + 1, ".") unless chars.first[index + 2].nil?
|
|
120
181
|
exponent = chars[-1]
|
|
121
|
-
chars[-1] =
|
|
182
|
+
chars[-1] =
|
|
183
|
+
"#{'+' if exponent.to_s.start_with?('+')}#{exponent.to_i - index}"
|
|
122
184
|
end
|
|
123
185
|
end
|
|
124
186
|
end
|
|
@@ -21,7 +21,8 @@ module Plurimath
|
|
|
21
21
|
e: "e",
|
|
22
22
|
}.freeze
|
|
23
23
|
|
|
24
|
-
def initialize(locale: "en", string_format: nil, options: {},
|
|
24
|
+
def initialize(locale: "en", string_format: nil, options: {},
|
|
25
|
+
precision: nil)
|
|
25
26
|
super(
|
|
26
27
|
locale,
|
|
27
28
|
localize_number: string_format,
|
|
@@ -34,14 +35,38 @@ module Plurimath
|
|
|
34
35
|
default_options = self.class::DEFAULT_OPTIONS
|
|
35
36
|
self.precision ||= default_options[:precision]
|
|
36
37
|
options ||= default_options
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
unless options.key?(:fraction_group_digits)
|
|
39
|
+
options[:fraction_group_digits] =
|
|
40
|
+
default_options[:fraction_group_digits]
|
|
41
|
+
end
|
|
42
|
+
unless options.key?(:fraction_group)
|
|
43
|
+
options[:fraction_group] =
|
|
44
|
+
default_options[:fraction_group]
|
|
45
|
+
end
|
|
46
|
+
unless options.key?(:exponent_sign)
|
|
47
|
+
options[:exponent_sign] =
|
|
48
|
+
default_options[:exponent_sign]
|
|
49
|
+
end
|
|
50
|
+
unless options.key?(:group_digits)
|
|
51
|
+
options[:group_digits] =
|
|
52
|
+
default_options[:group_digits]
|
|
53
|
+
end
|
|
54
|
+
unless options.key?(:number_sign)
|
|
55
|
+
options[:number_sign] =
|
|
56
|
+
default_options[:number_sign]
|
|
57
|
+
end
|
|
58
|
+
unless options.key?(:significant)
|
|
59
|
+
options[:significant] =
|
|
60
|
+
default_options[:significant]
|
|
61
|
+
end
|
|
62
|
+
unless options.key?(:notation)
|
|
63
|
+
options[:notation] =
|
|
64
|
+
default_options[:notation]
|
|
65
|
+
end
|
|
66
|
+
unless options.key?(:decimal)
|
|
67
|
+
options[:decimal] =
|
|
68
|
+
default_options[:decimal]
|
|
69
|
+
end
|
|
45
70
|
options[:group] = default_options[:group] unless options.key?(:group)
|
|
46
71
|
options[:times] = default_options[:times] unless options.key?(:times)
|
|
47
72
|
options[:e] = default_options[:e] unless options.key?(:e)
|
|
@@ -5,17 +5,19 @@ module Plurimath
|
|
|
5
5
|
class Transform < Parslet::Transform
|
|
6
6
|
rule(text: simple(:text)) { Math::Function::Text.new(text) }
|
|
7
7
|
rule(unary: simple(:unary)) { Utility.get_class(unary).new }
|
|
8
|
-
rule(symbol: simple(:symbol))
|
|
8
|
+
rule(symbol: simple(:symbol)) do
|
|
9
|
+
Utility.symbols_class(symbol, lang: :html)
|
|
10
|
+
end
|
|
9
11
|
rule(number: simple(:number)) { Math::Number.new(number) }
|
|
10
12
|
rule(expression: simple(:exp)) { exp }
|
|
11
|
-
|
|
13
|
+
|
|
12
14
|
rule(expression: sequence(:exp)) { exp }
|
|
13
15
|
rule(sequence: simple(:sequence)) { sequence }
|
|
14
16
|
rule(tr_value: simple(:tr_value)) { Math::Function::Tr.new([tr_value]) }
|
|
15
17
|
rule(td_value: simple(:td_value)) { Math::Function::Td.new([td_value]) }
|
|
16
18
|
rule(sequence: sequence(:sequence)) { sequence }
|
|
17
19
|
rule(td_value: sequence(:td_value)) { Math::Function::Td.new(td_value) }
|
|
18
|
-
|
|
20
|
+
|
|
19
21
|
rule(parse_parenthesis: simple(:parse_paren)) { parse_paren }
|
|
20
22
|
rule(unary_function: simple(:unary_function)) { unary_function }
|
|
21
23
|
|
|
@@ -82,7 +84,7 @@ module Plurimath
|
|
|
82
84
|
rule(unary_function: simple(:unary_function),
|
|
83
85
|
sequence: sequence(:sequence)) do
|
|
84
86
|
Math::Formula.new(
|
|
85
|
-
|
|
87
|
+
[unary_function] + sequence,
|
|
86
88
|
)
|
|
87
89
|
end
|
|
88
90
|
|
|
@@ -211,7 +211,7 @@ module Plurimath
|
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
def parenthesis
|
|
214
|
-
@@parens ||= {"\\(" => "\\)", "\\[" => "\\]", "\\{" => "\\}"}
|
|
214
|
+
@@parens ||= { "\\(" => "\\)", "\\[" => "\\]", "\\{" => "\\}" }
|
|
215
215
|
rejected_paren(:close?).each do |paren, klass|
|
|
216
216
|
@@parens[paren] = klass.new.closing::INPUT[:latex].flatten
|
|
217
217
|
end
|
|
@@ -221,7 +221,7 @@ module Plurimath
|
|
|
221
221
|
private
|
|
222
222
|
|
|
223
223
|
def symbols_hash
|
|
224
|
-
latex_symbols.
|
|
224
|
+
latex_symbols.filter_map { |sym, _klass| [sym, :symbols] }.to_h
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
def latex_symbols
|
|
@@ -7,9 +7,13 @@ module Plurimath
|
|
|
7
7
|
rule(:power) { str("^") }
|
|
8
8
|
rule(:slash) { str("\\") }
|
|
9
9
|
rule(:under_over) { slash >> underover_classes }
|
|
10
|
-
rule(:array_args) {
|
|
11
|
-
rule(:array_begin)
|
|
12
|
-
|
|
10
|
+
rule(:array_args) { str("{") >> expression.as(:args) >> str("}") }
|
|
11
|
+
rule(:array_begin) do
|
|
12
|
+
str("\\begin{") >> str("array").as(:environment) >> str("}")
|
|
13
|
+
end
|
|
14
|
+
rule(:optional_args) do
|
|
15
|
+
(str("[") >> intermediate_exp.maybe.as(:options) >> str("]")).maybe
|
|
16
|
+
end
|
|
13
17
|
|
|
14
18
|
rule(:color) do
|
|
15
19
|
(str("{") >> (str("}").absent? >> any).repeat.as(:symbol) >> str("}")) |
|
|
@@ -94,7 +98,7 @@ module Plurimath
|
|
|
94
98
|
|
|
95
99
|
rule(:symbol_text_or_integer) do
|
|
96
100
|
str('"').as(:symbol) |
|
|
97
|
-
rparen.absent? >> symbol_class_commands |
|
|
101
|
+
(rparen.absent? >> symbol_class_commands) |
|
|
98
102
|
(slash >> math_operators_classes) |
|
|
99
103
|
match["a-zA-Z"].as(:symbols) |
|
|
100
104
|
(match["0-9"].repeat(0) >> str(".").maybe >> match["0-9"].repeat(1)).as(:number) |
|
|
@@ -111,7 +115,7 @@ module Plurimath
|
|
|
111
115
|
end
|
|
112
116
|
|
|
113
117
|
rule(:parsing_text_values) do
|
|
114
|
-
(str("{") >> parsing_text_values >> str("}")) >> parsing_text_values |
|
|
118
|
+
((str("{") >> parsing_text_values >> str("}")) >> parsing_text_values) |
|
|
115
119
|
(str("{") >> parsing_text_values >> str("}")) |
|
|
116
120
|
(match("[^}]") >> parsing_text_values) |
|
|
117
121
|
match("[^}]").repeat
|
|
@@ -149,12 +153,11 @@ module Plurimath
|
|
|
149
153
|
(slash >> environment >> intermediate_exp).as(:table_data) |
|
|
150
154
|
power_base |
|
|
151
155
|
intermediate_exp |
|
|
152
|
-
intermediate_exp.as(:intermediate_exp) >> rparen.as(:symbol)
|
|
156
|
+
(intermediate_exp.as(:intermediate_exp) >> rparen.as(:symbol))
|
|
153
157
|
end
|
|
154
158
|
|
|
155
159
|
rule(:left_right) do
|
|
156
|
-
(
|
|
157
|
-
str("\\left").as(:left) >> (left_parens | str(".").maybe) >>
|
|
160
|
+
str("\\left").as(:left) >> (left_parens | str(".").maybe) >>
|
|
158
161
|
(
|
|
159
162
|
(expression.repeat.as(:dividend) >> str("\\over") >> expression.repeat.as(:divisor)) |
|
|
160
163
|
expression.as(:expression).maybe
|
|
@@ -162,7 +165,6 @@ module Plurimath
|
|
|
162
165
|
(
|
|
163
166
|
str("\\right").as(:right).maybe >> (right_parens | str(".").maybe)
|
|
164
167
|
)
|
|
165
|
-
)
|
|
166
168
|
end
|
|
167
169
|
|
|
168
170
|
rule(:over_class) do
|
|
@@ -197,7 +199,10 @@ module Plurimath
|
|
|
197
199
|
|
|
198
200
|
def hash_to_expression(hash)
|
|
199
201
|
@@expression ||= hash.reduce do |expression, (key, value)|
|
|
200
|
-
|
|
202
|
+
if expression.is_a?(Array)
|
|
203
|
+
expression = dynamic_rules(expression.first,
|
|
204
|
+
expression.last)
|
|
205
|
+
end
|
|
201
206
|
expression | dynamic_rules(key, value)
|
|
202
207
|
end
|
|
203
208
|
end
|
|
@@ -206,26 +211,32 @@ module Plurimath
|
|
|
206
211
|
first_value = str(expr.to_s)
|
|
207
212
|
case name
|
|
208
213
|
when :operant
|
|
209
|
-
(first_value.as(:operant) |
|
|
214
|
+
(first_value.as(:operant) | slashed_value(first_value, :symbols))
|
|
210
215
|
when :symbols
|
|
211
216
|
slashed_value(first_value, :symbols)
|
|
212
217
|
when :unary
|
|
213
218
|
unary_rules(first_value)
|
|
214
219
|
when :fonts
|
|
215
|
-
(slashed_value(first_value,
|
|
220
|
+
(slashed_value(first_value,
|
|
221
|
+
:fonts) >> (binary_functions | intermediate_exp).as(:intermediate_exp))
|
|
216
222
|
when :power_base
|
|
217
|
-
(slashed_value(first_value,
|
|
218
|
-
|
|
223
|
+
(slashed_value(first_value,
|
|
224
|
+
:binary) >> dynamic_power_base).as(:power_base) |
|
|
225
|
+
slashed_value(first_value, :binary)
|
|
219
226
|
when :underover
|
|
220
227
|
(slashed_value(first_value, :underover) >> dynamic_power_base) |
|
|
221
|
-
(slashed_value(first_value,
|
|
222
|
-
|
|
228
|
+
(slashed_value(first_value,
|
|
229
|
+
:underover) >> intermediate_exp.maybe.as(:first_value) >> dynamic_power_base) |
|
|
230
|
+
slashed_value(first_value, :underover)
|
|
223
231
|
when :binary
|
|
224
|
-
(slashed_value(first_value,
|
|
232
|
+
(slashed_value(first_value,
|
|
233
|
+
:binary) >> intermediate_exp.as(:first_value) >> intermediate_exp.as(:second_value)).as(:binary)
|
|
225
234
|
when :text
|
|
226
|
-
(slashed_value(first_value,
|
|
235
|
+
(slashed_value(first_value,
|
|
236
|
+
:text) >> (str("{") >> parsing_text_values.as(:first_value) >> str("}")))
|
|
227
237
|
when :ternary
|
|
228
|
-
(slashed_value(first_value,
|
|
238
|
+
(slashed_value(first_value,
|
|
239
|
+
:ternary_functions) >> dynamic_power_base >> sequence.as(:third_value).maybe).as(:ternary_class) |
|
|
229
240
|
slashed_value(first_value, :ternary)
|
|
230
241
|
end
|
|
231
242
|
end
|
|
@@ -236,8 +247,10 @@ module Plurimath
|
|
|
236
247
|
|
|
237
248
|
def unary_rules(first_value)
|
|
238
249
|
(slashed_value(first_value, :unary_functions) >> dynamic_power_base) |
|
|
239
|
-
(slashed_value(first_value,
|
|
240
|
-
|
|
250
|
+
(slashed_value(first_value,
|
|
251
|
+
:unary) >> left_right.as(:first_value)).as(:unary_functions) |
|
|
252
|
+
(slashed_value(first_value,
|
|
253
|
+
:unary) >> intermediate_exp.as(:first_value)).as(:unary_functions) |
|
|
241
254
|
slashed_value(first_value, :unary)
|
|
242
255
|
end
|
|
243
256
|
|
|
@@ -5,7 +5,7 @@ module Plurimath
|
|
|
5
5
|
class Parser
|
|
6
6
|
attr_accessor :text
|
|
7
7
|
|
|
8
|
-
TEXT_REGEX = %r(\\(?:mbox|text)\{[
|
|
8
|
+
TEXT_REGEX = %r(\\(?:mbox|text)\{[^}]+\})
|
|
9
9
|
|
|
10
10
|
def initialize(text)
|
|
11
11
|
@enti = ::HTMLEntities.new
|
|
@@ -26,17 +26,17 @@ module Plurimath
|
|
|
26
26
|
text_functions = text.scan(TEXT_REGEX)
|
|
27
27
|
text = @enti.encode(@enti.decode(text), :hexadecimal)
|
|
28
28
|
text = gsub_space_and_unicodes(text)
|
|
29
|
-
text.gsub(TEXT_REGEX) { |
|
|
29
|
+
text.gsub(TEXT_REGEX) { |_str| text_functions.shift }
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
def gsub_space_and_unicodes(text)
|
|
33
33
|
text
|
|
34
34
|
.gsub(/((?<!\\) )|\n+/, "")
|
|
35
|
-
.gsub(
|
|
36
|
-
.gsub(
|
|
37
|
-
.gsub(
|
|
35
|
+
.gsub("\\\\ ", "\\\\\\\\")
|
|
36
|
+
.gsub("&", "&")
|
|
37
|
+
.gsub(""", "\"")
|
|
38
38
|
.gsub(/(?<!\\\\)\\
/, "\\ ")
|
|
39
|
-
.gsub(
|
|
39
|
+
.gsub("
", "")
|
|
40
40
|
end
|
|
41
41
|
end
|
|
42
42
|
end
|