Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MathJax Support #368

Merged
merged 1 commit into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -128,4 +128,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 @@ -53,7 +53,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.