Re: How to read Web pages with funny backslashes?

Liste des GroupesRevenir à ct tex 
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.tex
Date : 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&amp;0&amp;0&amp;0\0&amp;1&amp;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.html
https://docs.mathjax.org/en/latest/input/tex/index.html


Sincerely

Ulrich

Date Sujet#  Auteur
31 Jul 24 * How to read Web pages with funny backslashes?7Stefan Ram
31 Jul 24 +* Re: How to read Web pages with funny backslashes?5Stefan Ram
31 Jul 24 i+- Re: How to read Web pages with funny backslashes?1Axel Berger
31 Jul 24 i+* Re: How to read Web pages with funny backslashes?2Marc Olschok
31 Jul 24 ii`- Re: How to read Web pages with funny backslashes?1Stefan Ram
1 Aug 24 i`- Re: How to read Web pages with funny backslashes?1Ulrich D i e z
1 Aug 24 `- Re: How to read Web pages with funny backslashes?1Ulrich D i e z

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal