Further improvements to use formulas authored by joha2's avatar joha2
...@@ -53,8 +53,15 @@ Line breaks are possible to, just by inserting `\\`. ...@@ -53,8 +53,15 @@ Line breaks are possible to, just by inserting `\\`.
If you use python2 you may use the following code snipped If you use python2 you may use the following code snipped
import urllib import urllib
urllib.quote(r'ds^2 = -c^2 dt^2 + dx^2 + dy^2 + dz^2\\ ds^2 = \eta_{\mu\nu} dx^\mu dx^\nu') s = urllib.quote(r'ds^2 = -c^2 dt^2 + dx^2 + dy^2 + dz^2\\ ds^2 = \eta_{\mu\nu} dx^\mu dx^\nu')
print(s)
to get to get
![equation](http://latex.codecogs.com/gif.latex?ds%5E2%20%3D%20-c%5E2%20dt%5E2%20%2B%20dx%5E2%20%2B%20dy%5E2%20%2B%20dz%5E2%5C%5C%20ds%5E2%20%3D%20%5Ceta_%7B%5Cmu%5Cnu%7D%20dx%5E%5Cmu%20dx%5E%5Cnu) ![equation](http://latex.codecogs.com/gif.latex?ds%5E2%20%3D%20-c%5E2%20dt%5E2%20%2B%20dx%5E2%20%2B%20dy%5E2%20%2B%20dz%5E2%5C%5C%20ds%5E2%20%3D%20%5Ceta_%7B%5Cmu%5Cnu%7D%20dx%5E%5Cmu%20dx%5E%5Cnu)
If there is no python console available then you may use:
http://doc.pyschools.com/console
and type in the code given above there. Then copy the string printed by the print statement into the url http://latex.codecogs.com/gif.latex? right after the ?.
\ No newline at end of file