- Add
\text{},\textrm{},\textbf{},\textit{},\textsf{},\texttt{}for rendering non-Latin text alongside math — supports CJK, Devanagari, Arabic, Hebrew, Cyrillic, and any other script handled by CoreText system-font cascade. - Add prime shorthand:
f'parses asf^{\prime},f''asf^{\prime\prime}, etc. - Add ~100 new symbols from amssymb: negated relations (
\nleq,\ngeq,\nmid,\nparallel, …), harpoon and extended arrows (\rightleftharpoons,\upharpoonright,\hookleftarrow,\twoheadrightarrow, …), boxed/circled operators (\boxplus,\circledast,\barwedge, …), and logic/set-theory/suit symbols (\vdash,\therefore,\because,\lozenge,\complement, …). - Add aliases:
\implies,\impliedby,\dotsc,\dotsb,\dotsm,\dotsi,\square,\vartriangle,\restriction.
- Add support for explicit-size big delimiters:
\bigl,\bigr,\Bigl,\Bigr,\biggl,\biggr,\Biggl,\Biggr. - Add over/under accent commands:
\overrightarrow,\overleftarrow,\overbrace,\underbrace, and relatives, backed by a new genericMTMathStackatom.
- Raise deployment targets to iOS 18+ and macOS 15+.
- Remove CocoaPods support; distribute via Swift Package Manager only.
- Add explicit
module.modulemapcontrolling the public API surface. - Add GitHub Actions CI.
- Add Swift example app (
SwiftMathExample) with Examples and Gallery tabs.
- Add colorbox command (#121)
- Cyrillic support (#108)
- When there is only one element in row, an array error is reported. (#111)
- Fix: on macOS 10.13, NSSegmentItemImageView returns nil for layer.backgroundColor. Need to check for this and return a default color (clear)
- Added textrm (#61)
- Support for color (\textcolor) (Thanks to Markus)
- Fix issue with cramped style in tables (Thanks to Jacob)
- Support for changing font styles: (\mathrm, \mathcal, \mathbf etc.)
- Support for the \text command.
- Fix issue with \$ not being rendered correctly.
- Support for \limits and \nolimits
- Support for MacOS (Thanks to AnZhg)
- Better AutoLayout support (Thanks to zhubofei)
- Support for custom defined commands.
- Bug fixes for error label.
- Removing error logging (Thanks to saagarjha)
- API changes:
- Replace
paddingfields withcontentInsetsinMTMathUILabel.
- Replace
- Support for constructing arbitrarily tall delimiters and radicals.
- Fix placement of limits on large operators for the XITS font.
- Allow MTMathUILabel to be used in the interface builder.
- Added support for matrix environments (matrix, pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix)
- Added support for equation alignment (eqalign, displaylines, gather, split, aligned, eqnarray)
- Added support for the \\ command to split long equations
- Added support for math accents (e.g. \hat, \tilde etc.)
- Added support for
casesenvironment. - Added support for style commands (e.g. \displaystyle etc.)
- Improve rendering of square roots and large symbols
- API changes:
- Updated API for
MTMathAtomFactory. - Rename
MTLargeGlyphDisplaytoMTGlyphDisplay
- Updated API for
- Fix crash for \epsilon and \varrho
- Add commands: \mho, \angstrom and \AA
- Add
textColorfield toMTMathUILabelto set the color of the rendered equation. - Fixed issue with height of tall radicals set incorrectly.
- Support for \overline and \underline
- Includes math spacing: \, \; \> \! \quad \qquad \' '
- Added support for binomials
- New commands supported: \over, \atop, \choose, \brack, \brace, \binom.
- Added support for \left and \right
- New API for constructing
MTMathList - Improved LaTeX error reporting
- Made internal rendering functions and APIs private
- Nullability annotations for using with Swift
- Improved documentation
- Tests for rendering
- Moved all font-related files into their own bundle.
- Added
MTMathListIndex
- Improved documentation.
- Added
latexproperty to set the latex directly on MTMathUILabel. - Improved error handling.
- Support for multiple fonts.
- Includes large operators (\sum, \prod)
- Includes arrow symbols
- Includes showing limits (\lim etc.)
- Includes integrals
- Added italic correction
The MTFontManager API has been rewritten.
Introduce MTFont class to represent a font for the label.
This release contains backwards incompatible API changes.
- Include
MTFontManagerin public API.
- Fix issues with Greek letters being incorrect.
- Many common math symbols added.
- Improved example program.
- Minor rendering fixes.
- Fix the bundle to work correctly with Cocoapods.
- Inital public release.