Skip to content

Feature: Comprehensive LaTeX Support for Mathematical and Scientific Notation #17

@ImGajeed76

Description

@ImGajeed76

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 $E=mc^2$.

Scope of Implementation:

LaTeX support should be integrated into all relevant content creation and consumption areas, including:

  1. 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}$$).
  2. Flashcards: Ability to include LaTeX in both question and answer fields for technical subjects.
  3. Interactive Exercises: Allow creation of questions and display of solutions containing LaTeX.
  4. (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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeatures displayed on the website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions