Sujet : Re: How to read Web pages with funny backslashes?
De : nobody (at) *nospam* nowhere.invalid (Marc Olschok)
Groupes : comp.text.texDate : 01. Aug 2024, 00:33:21
Autres entêtes
Message-ID : <v8ee3h$k9gv$2@solani.org>
References : 1 2
User-Agent : tin/2.4.4-20191224 ("Millburn") (Linux/2.6.33.4 (i686))
On Wed, 31 Jul 2024 15:56:47 Stefan Ram wrote:
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!
It is ordinary LaTeX inside the \[ ... \] marks (if you happen to use
math.stackechange or mathoverflow ore the nlab etc. you probably have
already seen this). The strange thing is that the & inside the matrix
are replaced by the & , so they will display as & but of course not
compile. I do not know if this is meant to be this way or an error on
the web page.
-- M.O.