|
| 1 | +# |
| 2 | + |
| 3 | +Math is a library written in pure PHP that provides a set of classes to manipulate different formula file formats, i.e. [MathML](https://en.wikipedia.org/wiki/MathML) and [Office MathML (OOML)](https://en.wikipedia.org/wiki/Office_Open_XML_file_formats#Office_MathML_(OMML)). |
| 4 | + |
| 5 | +Math is an open source project licensed under the terms of [MIT](https://github.com/PHPOffice/PHPWord/blob/master/LICENCE). Math is aimed to be a high quality software product by incorporating [continuous integration and unit testing](https://github.com/PHPOffice/Math/actions/workflows/php.yml). You can learn more about Math by reading this Developers'Documentation and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/develop/) |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- Insert elements: |
| 10 | + |
| 11 | + * Basic : |
| 12 | + |
| 13 | + * Identifier : <math display="inline"><mi>a</mi></math> |
| 14 | + * Operator : <math display="inline"><mo>+</mo></math> |
| 15 | + * Numeric : <math display="inline"><mn>2</mn></math> |
| 16 | + |
| 17 | + * Simple : |
| 18 | + |
| 19 | + * Fraction : <math display="inline"><mfrac><mi>a</mi><mn>3</mn></mfrac></math> |
| 20 | + * Superscript : <math display="inline"><msup><mi>a</mi><mn>3</mn></msup></math> |
| 21 | + |
| 22 | + * Architectural : |
| 23 | + |
| 24 | + * Row |
| 25 | + * Semantics |
| 26 | + |
| 27 | +## Support |
| 28 | + |
| 29 | +### Readers |
| 30 | + |
| 31 | +| Features | | MathML | Office MathML | |
| 32 | +|---------------------------|----------------------|:----------------:|:----------------:| |
| 33 | +| **Basic** | Identifier | :material-check: | :material-check: | |
| 34 | +| | Operator | :material-check: | :material-check: | |
| 35 | +| | Numeric | :material-check: | :material-check: | |
| 36 | +| **Simple** | Fraction | :material-check: | :material-check: | |
| 37 | +| | Superscript | :material-check: | | |
| 38 | +| **Architectural** | Row | :material-check: | | |
| 39 | +| | Semantics | :material-check: | | |
| 40 | + |
| 41 | +### Writers |
| 42 | + |
| 43 | +| Features | | MathML | Office MathML | |
| 44 | +|---------------------------|----------------------|:----------------:|:----------------:| |
| 45 | +| **Basic** | Identifier | :material-check: | :material-check: | |
| 46 | +| | Operator | :material-check: | :material-check: | |
| 47 | +| | Numeric | :material-check: | :material-check: | |
| 48 | +| **Simple** | Fraction | :material-check: | :material-check: | |
| 49 | +| | Superscript | :material-check: | | |
| 50 | +| **Architectural** | Row | :material-check: | :material-check: | |
| 51 | +| | Semantics | | | |
| 52 | + |
| 53 | +## Contributing |
| 54 | + |
| 55 | +We welcome everyone to contribute to Math. Below are some of the things that you can do to contribute: |
| 56 | + |
| 57 | +- [Fork us](https://github.com/PHPOffice/Math/fork) and [request a pull](https://github.com/PHPOffice/Math/pulls) to the [master](https://github.com/PHPOffice/Math/tree/master) branch |
| 58 | +- Submit [bug reports or feature requests](https://github.com/PHPOffice/Math/issues) to GitHub |
| 59 | +- Follow [@PHPOffice](https://twitter.com/PHPOffice) on Twitter |
0 commit comments