This response area allows users to type, write or upload mathematics, and then displays how the user's response was interpreted back to them through the 'live preview' feature.
Text block to be displayed to the left of the input field. Markdown and LaTeX are allowed following the usual syntax.
Text block to be displayed to the left of the input field. Markdown and LaTeX are allowed following the usual syntax.
Enables a handwriting canvas in the browser, which allows a student to draw their expression, rather than type using Sympy's syntax.
Allows a student to upload their expression as an image, as an alternative to handwriting if the student isn't using a phone or tablet.
Handwriting and students photo uploads are handled with MathPix.
Our default parameters include:
- formats:
['text']- Returns Mathpix Markdown text with math inside delimiters - include_line_data:
true- Adds line-by-line data with geometric information about detected elements - rm_spaces:
true- Omits spaces around LaTeX groups and other places where spaces are superfluous - rm_fonts:
true- Omitsmathbb,mathbf,mathcal, andmathrmfont commands - idiomatic_braces:
true- Returns more compact LaTeX (e.g.,x^2instead ofx^{2}) - numbers_default_to_math:
false- Standalone numbers are treated as text, not automatically wrapped in math mode - math_fonts_default_to_math:
false- Text with math fonts is not automatically converted to math mode - math_inline_delimiters:
['$', '$']- Delimiters for inline math mode in text output - math_display_delimiters:
['$$', '$$']- Delimiters for display/block math mode in text output