I’d like to include multiline LaTeX panes in my panel GUI and have a couple of questions:
is this possible? My test case is a multiline string as below but unfortunately it does not seem to support a lot of LaTeX phrases
\begin{eqnarray}
...
\end{eqnarray}
if yes, is there a way for pn.pane.LaTeX (or other method) to read in whole LaTeX chunks you would see in a .tex file, or do I have to carefully edit my .tex file text in order to make it compatible with panel?
KaTeX and **MathJax** do not support the use of LaTeX packages in the same way
that a full LaTeX environment does.
KaTeX: It is not a full TeX parser, so packages written in TeX cannot be directly used. Instead, they would need to be rewritten into JavaScript. KaTeX supports some functions from various packages, but it does not allow the use of the \usepackage{...} command to import third-party LaTeX packages.
MathJax: Similar to KaTeX, MathJax is primarily focused on rendering mathematical expressions and does not support the direct use of LaTeX packages. It provides its own set of extensions and configurations for rendering math, but it does not allow importing external LaTeX packages in the traditional sense.