# Gravity and time dilation

**URL:** <https://boards.straightdope.com/t/gravity-and-time-dilation/920109>\
**Category:** Factual Questions\
**Created:** [September 8, 2020, 5:38pm UTC](https://boards.straightdope.com/t/gravity-and-time-dilation/920109 "2020-09-08T17:38:00Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Dr.Strangelove](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dr.strangelove/32/6613_2.png) [@Dr.Strangelove](https://boards.straightdope.com/u/Dr.Strangelove)\
**Post date:** [September 10, 2020, 10:35pm UTC](https://boards.straightdope.com/t/gravity-and-time-dilation/920109/25 "2020-09-10T22:35:14Z")

</div>

> [@Hari\_Seldon](#):
>
> admittedly non-standard LaTeX, but it works

The formula itself I got from Wikipedia, so blame any quirks on them.

I did develop an okayish flow for posting LaTeX here. It’s more cumbersome than it should be, but not too bad.

1. Write the LaTeX. I used the editor [here](https://editor.codecogs.com/).
2. Append the string `\phantom{.png`. Note that this is invalid LaTeX, but that’s ok and is required for Discourse to pick it up.
3. Take the string and paste it into the upper box [here](https://www.urlencoder.org/). Click ENCODE to get a new string.
4. Prepend the URL `https://latex.codecogs.com/png.latex?`. This is a site that will take the input LaTeX and render it to an image.
5. Paste the string on a new line in your post. Discourse will see it as an image and display it inline.

See [this post](https://boards.straightdope.com/t/calculus-of-similar-shapes/920218) for several examples of the technique. Once you get going, and have a browser tabset going with the right tools, it only takes an extra 10 seconds or so to convert the LaTeX into a pasteable URL.

[![](https://latex.codecogs.com/png.latex?%5C%5C%20%5Ctextrm%7B%5CLaTeX%20%5C%20%20rocks%21%7D%20%5Cphantom%7B.png) ](https://latex.codecogs.com/png.latex?%5C%5C%20%5Ctextrm%7B%5CLaTeX%20%5C%20%20rocks%21%7D%20%5Cphantom%7B.png)

> [@LSLGuy](#):
>
> But the next time I need help deciphering a long regex I know who I’m gonna call.

It clearly comes as no surprise to you that at work, I am in fact the local “regex guy.”

---

_[View the full topic](https://boards.straightdope.com/t/gravity-and-time-dilation/920109)._
