Deutsch English Français Italiano |
<v8eu64$kk16$1@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Ulrich D i e z <ud.usenetcorrespondence@web.de> Newsgroups: comp.text.tex Subject: Re: How to read Web pages with funny backslashes? Date: Thu, 1 Aug 2024 05:07:46 +0200 Message-ID: <v8eu64$kk16$1@solani.org> References: <webpage-20240731143147@ram.dialup.fu-berlin.de> <JavaScript-20240731145623@ram.dialup.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 1 Aug 2024 03:07:48 -0000 (UTC) Injection-Info: solani.org; logging-data="675878"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cancel-Lock: sha1:hYZ3bTGgX17wHgbqM+4v5VJfECU= X-User-ID: eJwFwQkBwDAIA0BL0JJQ5PAM/xJ2h0tluxE0LPa4NNZ6o84wGirznvikMdsTJoaY0Bs1n9QPGTYRBA== In-Reply-To: <JavaScript-20240731145623@ram.dialup.fu-berlin.de> Content-Language: en-US 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.html https://docs.mathjax.org/en/latest/input/tex/index.html Sincerely Ulrich