Skip to content

Where to put LaTeX Macros? #1893

Answered by rowanc1
mstoll1602 asked this question in General
Discussion options

You must be logged in to vote

Please remove the macros: indentation. Docs are here: https://mystmd.org/guide/math#math-macros

demo.

You can put the macros in the myst.yml:

project:
  math:
    '\x': '...'

Or in the frontmatter block in your article.md:

---
math:
  '\x': '...'
---

This macro is only available on this page $\x$.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rowanc1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #1892 on March 05, 2025 16:55.