That is to bad. Is mathjax the default math renderer for HTML output?
Am Mittwoch, 3. Juni 2020 15:17:53 UTC+2 schrieb Komiya Takeshi:
>
> There are no proper way to do that. But I guess `mathjax_display` will
> help you to insert custom command before each display equation as a
> workaround:
> ```
> # in conf.py
> mathjax_display = [r'\[\newcommand{\myCustomCmd}{}', r'\]']
> ```
>
> Thanks,
> Takeshi KOMIYA
>
> 2020年6月3日(水) 21:05 'CaptFugu' via sphinx-users <[email protected]
> <javascript:>>:
> >
> > Is there a way to configure custom Latex commands for the math directive
> in HTML output? For the latex build itself I can use
> >
> > latex_elements = {"preamble": r"""\newcommand{\myCustomCmd}{}"""}
> >
> > but I can't find something similar for the the HTML output.
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sphinx-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected] <javascript:>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sphinx-users/8d7ccf28-08fa-4c7c-a9e7-11953f0580c6%40googlegroups.com.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/a190917f-19fd-4b19-bb22-0896fc1bb052%40googlegroups.com.