Skip to content

Commit

Permalink
Merge pull request #368 from JeS24/master
Browse files Browse the repository at this point in the history
Added MathJax Support
  • Loading branch information
shreyasbapat authored May 19, 2020
2 parents cc50a0b + de1b7c0 commit 0e76fc1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ defaults:
layout: "post"
comments: true # add comments to all blog posts
social-share: true # add social media sharing buttons to all blog posts
ext-js: "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"
-
scope:
path: "" # all files
Expand Down
11 changes: 11 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,15 @@
<link rel="stylesheet" href="{{ "/css/staticman.css" | prepend: site.baseurl }}" />
{% endif %}

<!-- MathJax -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
inlineMath: [['$','$'], ['\\(','\\)']]
}
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML" type="text/javascript" async></script>

</head>
6 changes: 3 additions & 3 deletions _posts/2020-05-18-GSoC-20-Brief-History.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: GSoC 2020 - Blog 0 - Brief History
title: GSoC 2020 - Blog 0 - A Brief History...
author: jes24
subtitle: Here we go...
gh-repo: einsteinpy/einsteinpy
Expand All @@ -9,7 +9,7 @@ tags: [News, GSoC]
comments: true
---

![EPY Logo](../img/gsoc20_intro/EPY%20Whitespace%20-%20Inverted.png)
![EPY Logo](../img/gsoc20_intro/EPY%20Whitespace.png)

```
>>> print("Hello, World!")
Expand Down Expand Up @@ -55,7 +55,7 @@ And so, we have assembled all the parts for getting a basic understanding of "Nu

I plan to document my progress with the project here, with biweekly blogs. While this blog was physics-heavy, the plan for the next blog is to post a distilled summary of the actual code implementation. Nonetheless, I hope, you found this small introduction into the domain of Relativity interesting. If you wish to play around with some numerical relativity (especially during this pandemic, when most are home and bored), you can try out EinsteinPy. For now, I will leave here with a small tidbit:

> If you've watched Chris Nolan's brilliant movie, Interstellar, and ever wanted to simulate and obtain a Black Hole "image" similar to Gargantua, all you would need to solve is the geodesic equation alongside a couple more complicated equations. A brilliant resource to do that is a [Mathematica Notebook](http://www.its.caltech.edu/~kip/Interstellar/RayBundleDerive.nb), hosted on Dr. Kip Thorne's personal Caltech homepage.
> If you've watched Chris Nolan's brilliant movie, Interstellar, and wanted to simulate and obtain a Black Hole "image" similar to Gargantua, all you would need to solve is the geodesic equation alongside a couple more complicated equations. A brilliant resource to do that is a [Mathematica Notebook](http://www.its.caltech.edu/~kip/Interstellar/RayBundleDerive.nb), hosted on Dr. Kip Thorne's personal Caltech homepage.
![Gargantua, Accreting (from Interstellar)](../img/gsoc20_intro/Gargantua.png)

Expand Down
Binary file removed img/gsoc20_intro/EPY Whitespace - Inverted.png
Binary file not shown.
Binary file added img/gsoc20_intro/EPY Whitespace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e76fc1

Please sign in to comment.