Create or open any InDesign document and select Object > Insert MathML.
- InDesign User Guide
- Get to know InDesign
- Introduction to InDesign
- Workspace
- Generative AI (Not available in mainland China)
- Introduction to InDesign
- Create and layout documents
- Documents and pages
- Create documents
- Work with parent pages
- Work with document pages
- Set page size, margins, and bleed
- Work with files and templates
- Convert PDFs to InDesign files in InDesign (Beta)
- Create book files
- Add basic page numbering
- Number pages, chapters, and sections
- Convert QuarkXPress and PageMaker documents
- Share content
- Understand a basic managed-file workflow
- Save documents
- Grids
- Layout aids
- Documents and pages
- Add content
- Text
- Add text to frames
- Threading text
- South-East Asian Scripts
- Arabic and Hebrew features in InDesign
- Create type on a path
- Bullets and numbering
- Insert MathML to create math expressions
- Glyphs and special characters
- Text composition
- Text variables
- Generate QR codes
- Edit text
- Align text
- Wrap text around objects
- Anchored objects
- Linked content
- Format paragraphs
- Format characters
- Typography
- Format text
- Review text
- Spell check and language dictionaries
- Add references
- Styles
- Tables
- Interactivity
- Graphics
- Color and transparency
- Text
- Find and replace
- Share
- Export, import, and publish
- Place, export, and publish
- Publish online
- Publish online dashboard
- Copy, insert graphics
- Export to Adobe Express
- Export content for EPUB
- Adobe PDF options
- Export to HTML5
- Export content to HTML (Legacy)
- Export to Adobe PDF
- Export to JPEG format
- Import SVG files
- DPS and AEM Mobile overview
- Supported File Formats
- Export and import User Settings
- Printing
- Place, export, and publish
- Extend InDesign
- Automation
- Troubleshooting
Learn how to insert MathML code to create, style, and edit math expressions.
MathML is an XML-based markup language that describes mathematical notation. It facilitates integrating and displaying complex mathematical equations in web pages and documents. With the new MathML panel in InDesign, you can ingest math expressions within the document, style, and format them to match the document text.
Try it in the app
Follow along with any project to learn how to insert, edit, and style math expressions.
Insert a math expression
-
Tip:
You can also go to Window > Math Expressions and then select the Insert MathML button.
-
Add the MathML code in the MathML Input section.
-
Select the Preview Expression icon to see the expression in the Expression Preview section.
-
Select Place. Your math expression is placed as an SVG file in your document. You can anchor it just like any other SVG.
Tip:- You can also place the math expression in a text frame, it will align with the baseline of the flowing text.
- You can drag the corners to adjust the size and move the frame to place it anywhere.
- You can also place the math expression in a text frame, it will align with the baseline of the flowing text.
-
Update the Font Size and Fill color (including document colors) in the Math Expressions panel to match the rest of your document.
You can export your InDesign document with math expressions to PDF (with accessibility), ePub, HTML (with accessibility), IDML (in the same version), PNG, JPEG, XML, and Publish Online (as SVG) formats.
Edit a math expression
-
Right-click the math expression and select Edit MathML.
Tip:You can also go to Window > Math Expressions and select Edit MathML.
-
Update the MathML code in the MathML Input section.
-
Select the Preview Expression icon to see the updated expression in the Expression Preview section.
-
Select Save.
Here's a list of known limitations, and we're actively working to resolve these in future updates:
- Some glyphs, such as Closed surface integral, Thick Space, Differential D, Imaginary I, Exponential E, and a rare closing bracket symbol, are not supported and appear as missing glyphs in the generated expression.
- MENA letters are reversed when entered in the MathML expression.
- By default, stroke is set to 1pt for the bounding box of math expressions. This is governed by the object style applied to it.
- In some export scenarios, math expressions will show blank frames.
Please share your feedback on our uservoice forum.
More like this
Have a question or an idea?
If you have a question to ask or an idea to share, come and participate in Adobe InDesign Community. We would love to hear from you and see your creations.