-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Description:
To establish Axonotes as a premier tool for students and educators, particularly in STEM fields, robust LaTeX support is essential. Users need the ability to seamlessly create, render, and manage mathematical formulas, equations, and scientific notations directly within the application. This aligns with the "Rich Content Integration" mentioned in Section C of the Axonotes vision, which already highlights rendering
Scope of Implementation:
LaTeX support should be integrated into all relevant content creation and consumption areas, including:
-
Documents/Notes:
- Inline LaTeX rendering (e.g.,
$\sum_{i=1}^{n} i = \frac{n(n+1)}{2}$). - Display/block LaTeX rendering (e.g.,
$$\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}$$).
- Inline LaTeX rendering (e.g.,
- Flashcards: Ability to include LaTeX in both question and answer fields for technical subjects.
- Interactive Exercises: Allow creation of questions and display of solutions containing LaTeX.
- (Potentially) Chat/Comments: For quick sharing of formulas during collaboration.
Acceptance Criteria:
- Users can input LaTeX using standard delimiters (e.g.,
$...$for inline,$$...$$or\[...\]for display). - LaTeX is correctly rendered in real-time or upon leaving edit mode for the block.
- Rendered LaTeX is visually clear and accurate.
- LaTeX content is properly included in exports (e.g., PDF).
- Basic error handling or indication for malformed LaTeX is present.
Considerations:
- Choice of rendering engine (e.g., KaTeX, MathJax). KaTeX is generally faster and might be preferable for a snappy UI.
- Ease of input: Consider a toolbar button for inserting LaTeX blocks or auto-detection.
- Performance impact, especially with many complex equations on a single page.
Impact:
Implementing comprehensive LaTeX support will significantly enhance Axonotes' utility for a large segment of its target academic audience, making it a more viable solution and reducing the need for users to switch to other specialized tools.