Using TeX: ∫x2dx∫x2dx\int x^2dx - Printable Version +- Hidden Variables ( https://ilja-schmelzer.de/hidden-variables)+-- Forum: General ( https://ilja-schmelzer.de/hidden-variables/forumdisplay.php?fid=1)+--- Forum: Welcome to the Hidden Variable forum ( https://ilja-schmelzer.de/hidden-variables/forumdisplay.php?fid=2)+--- Thread: Using TeX: ∫x2dx∫x2dx\int x^2dx ( /showthread.php?tid=6) |

Using TeX: ∫x2dx∫x2dx\int x^2dx - Schmelzer - 12-19-2015
One can use TeX to write formulas. It works like usual in TeX texts, only that one does not have to use the usual brackets ($ or $$), but, instead, the more modern \ ( ... \ ) and \ [ ... \ ] brackets. Inline formulas To obtain an inline formula, you can use \ ( ... \ ) bracket, so that Code: `\( \tau = \int_\gamma \sqrt{g_{mn}\frac{d\gamma^m}{dt}\frac{d\gamma^n}{dt}} dt \)` Note also that the \ ( ... \ ) brackets work even in thread titles - as you can see in the title of this thread. But if, in a summary, the formula does not completely fit into the available space and is cutted, it does not work. Separate formulas Instead, to obtain a separate formula, you can use \ [ ... \ ] brackets, which gives Code: `\[ \tau = \int_\gamma \sqrt{g_{mn}\frac{d\gamma^m}{dt}\frac{d\gamma^n}{dt}} dt \]` \[ \tau = \int_\gamma \sqrt{g_{mn}\frac{d\gamma^m}{dt}\frac{d\gamma^n}{dt}} dt, \] which is also greater than the inline formula, as usual in LaTeX. How to use TeX on your own homepage: Mathjax is quite easy to use. All one needs is to include the following script line into the header of the webpage: Code: `<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>` Note: In an earlier version of this post, the link the matjax.org was given as http:// instead of https://. As a consequence, when the site was used via https://, Mathjax did not work. |