# LaTeX Tweaking Latex rendering (for GitHub pages)

1. Sep 27, 2016

### ibkev

Hi there - I'm experimenting with using GitHub pages in combination with Jekyll to make a blog that allows me to write Latex equations. I've noticed is that the rendered output looks slightly different, spacing-wise, from latex rendering here. In particular I find that a \frac will actually touch what follows it when there needs to be a bit of space in between.

To solve I've used a \<space> after the \frac but does anyone know what config setting physicsforums use? I'd like to dig around to see what tweaking is possible on GitHub pages but I'm not sure what to look for.

It's worth mentioning that I'm a total Latex newb as well.

2. Sep 28, 2016

### Staff: Mentor

Perhaps @Greg Bernhardt can answer this question.

Our site uses MathPad for latex rendering so that's another place where you can look for answers.

3. Sep 29, 2016

### Staff: Mentor

I think you mean MathJax

4. Sep 29, 2016

### Dr Transport

Check Wordpress, they have a good implementation for LaTeX

5. Oct 1, 2016

### ibkev

I played around with Wordpress but by default they add drop-shadows to all equations whether they're mid-paragraph or not (!) I've learned that to remove the shadows you have to pay in order to get the level of control you need. So I switched to Github Pages - which is pretty slick actually, especially since everything you write is in a git repo and therefore you can have a local copy at all times. I like it because you write in a simplified grammar called "Markdown" which is much like editing a wiki but adding MathJax equations is similar to adding equations here on PhysicsForums ... use $$<equation>$$

Anyways, does anyone know what little tweaks to the default MathJax rendering configuration were done here at physicsforums? @Greg Bernhardt?

6. Oct 2, 2016

### Greg Bernhardt

The config is available by viewing the source of any PF page (nearly). It's between the head tags.

7. Oct 2, 2016

### ibkev

Doh! Thanks - as you can see I'm still learning how all this www stuff works LOL!

LaTeX How to type something in $\LaTeX$ in the title itself? Jan 13, 2018