Skip to content

v2 overhaul#75

Merged
colinc86 merged 9 commits into
mainfrom
develop
Apr 3, 2026
Merged

v2 overhaul#75
colinc86 merged 9 commits into
mainfrom
develop

Conversation

@colinc86

@colinc86 colinc86 commented Apr 3, 2026

Copy link
Copy Markdown
Owner

New Features

  • ♿ Accessibility — VoiceOver support via MathJax's Speech Rule Engine (SRE) with .imageAccessibility() modifier
  • 🌐 Script Scaling — CJK and non-Latin script support with .script(.cjk) for proper equation sizing
  • 📐 Line Spacing — Automatic normalization for inline equations on iOS 18+ / macOS 15+ via custom TextRenderer
  • 📊 Arrays & Tables — SVG stroke patching for array, matrix, pmatrix, vmatrix, cases borders and \hline rules
  • 🧩 Generic Environments — Any \begin{...}...\end{...} environment (align, gather, cases, etc.) now works standalone without wrapping in $$
  • 🖼️ Render to Image — New LaTeX.renderToImages() API returns [UIImage]/[NSImage] for use outside SwiftUI (UIKit, image export, PDFs)
  • 📏 Dynamic Type — Equations automatically scale with system text size / accessibility settings
  • 🔲 Redacted Placeholder — New .redactedOriginal async rendering style

Bug Fixes

Breaking Changes

  • Removed LaTeXStyle — The .latexStyle() modifier and LaTeXStyle protocol have been removed. Use direct modifiers (.parsingMode(), .errorMode(), .renderingStyle(), etc.) instead.
  • Requires Swift 6.0, iOS 15+, macOS 12+, visionOS 1+
  • MathJax updated to 3.5.0 via MathJaxSwift

Other

  • Complete README overhaul
  • Privacy manifest added
  • GitHub Actions updated to macos-15 + checkout@v4

Issues Addressed

Closes #30, closes #37, closes #42, closes #66, closes #67, closes #72

@colinc86 colinc86 merged commit cc677f6 into main Apr 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant