Sujet : Re: How to read Web pages with funny backslashes?
De : ud.usenetcorrespondence (at) *nospam* web.de (Ulrich D i e z)
Groupes : comp.text.texDate : 01. Aug 2024, 04:07:46
Autres entêtes
Message-ID : <v8eu64$kk16$1@solani.org>
References : 1 2
User-Agent : Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
Stefan Ram schrieb:
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
|\[ \eta_{\mu\nu}=\begin{pmatrix}-1&0&0&0\0&1&0&0\0&0&1&0 . . .
Now I see that it seems to be required to activate JavaScript
in the browser as the source code of the HTML web page is:
|<p><script type="text/x-mathjax-config">
| MathJax.Hub.Config({
| extensions: ["tex2jax.js"],
| jax: ["input/TeX","output/HTML-css"],
| tex2jax: {inlineMath: [["$","$"],["\(","\)"]]}
| });
|</script>
|<script type="text/javascript" src="/mathjax/MathJax.js"></script>
|
|Here's something that caused me undue confusion over the
|years as I was learning about tensors.</p>
|
|<p>Many textbooks, for instance, will tell you that the
|metric tensor of special relativity takes a form like</p>
|
|<p>\[
|\eta_{\mu\nu}=\begin{pmatrix}-1&0&0&0\0&1&0 . . .
|\]</p>
. Still, it would be interesting if anyone could comment
on what "dialect" of TeX/LaTeX is used there and how one
could format it using an implementation of TeX or LaTeX!
That is a conglomerate of commands that are frequently seen in the
source code for documents that are to be compiled by a LaTeX compiler
like latex or lualatex or xelatex or pdflatex and that are defined in
the LaTeX 2ε-kernel or in some packages for LaTeX 2ε.
But, actually, this is not LaTeX 2ε code or code for whatsoever flavor
of TeX or LaTeX at all. This is code for MathJax.
MathJax is a JavaScript display engine for LaTeX, MathML, and AsciiMath
notation. Unlike TeX, which is a print layout engine, MathJax renders
web content that is to be displayed on some display device.
More information about MathJax can be found at
https://www.mathjax.org/https://docs.mathjax.org/en/latest/basic/mathjax.htmlhttps://docs.mathjax.org/en/latest/input/tex/index.htmlSincerely
Ulrich