PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
254 stars 203 forks source link

Options to MathJax extensions #2090

Open rbeezer opened 7 months ago

rbeezer commented 7 months ago

We load MathJax extensions via the dead-simple, purpose-built, \require{} macro.

But they can be loaded from within the MathJax configuration. And then you can specify options to the extension. Not sure if we need this or not. Unclear if the configuration is a better place that using the \require{} macro.

But witha new specification at 16ab3b7aab686e48de3fcfe951acdf5541a9d749 we could add an attribute like @mathjax-options that would be a string in JSON-ish format giving these.