Deutsch English Français Italiano |
<v8ee3h$k9gv$2@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: nobody@nowhere.invalid (Marc Olschok) Newsgroups: comp.text.tex Subject: Re: How to read Web pages with funny backslashes? Date: Wed, 31 Jul 2024 22:33:21 -0000 (UTC) Sender: <marc@darkstar.home.org> Message-ID: <v8ee3h$k9gv$2@solani.org> References: <webpage-20240731143147@ram.dialup.fu-berlin.de> <JavaScript-20240731145623@ram.dialup.fu-berlin.de> Injection-Date: Wed, 31 Jul 2024 22:33:21 -0000 (UTC) Injection-Info: solani.org; logging-data="665119"; mail-complaints-to="abuse@news.solani.org" User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/2.6.33.4 (i686)) Cancel-Lock: sha1:EniJFN5im8bMU/GMVaZXYcGcRTg= X-User-ID: eJwFwYEBwCAIA7CXVlfacQ6i/H/CkngFtakQY2KcORfPqln7sDFdmy7RH5O3oOshjkF0q34mZBFh Bytes: 2482 Lines: 38 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.