LaTeX Just opened a blog and want to LaTex it. Help?

  • Thread starter Thread starter dextercioby
  • Start date Start date
  • Tags Tags
    Blog Latex
AI Thread Summary
To use LaTeX in a Blogger blog, MathJax is a recommended solution for rendering mathematical formulas. Users need to embed specific MathJax configuration code at the beginning of their HTML content for each post. The inline LaTeX should be formatted with \( and \), while display equations use $$ for proper rendering. The blog admin does not need to enable MathJax; it can be implemented directly by the user. Following these steps allows for effective integration of LaTeX in blog posts.
dextercioby
Science Advisor
Insights Author
Messages
13,388
Reaction score
4,035
Hi, people,

so I saw this: https://www.physicsforums.com/threads/who-here-blogs-not-pf-blog-and-uses-latex.571791/ using the search function, but still didn't quite get it. :(

I've just created a personal blog under the blogger.com website (or htpt:/notadvertisingit.blogspot.com) and of course I want to LaTex some formulas. I know Mathjax http://docs.mathjax.org/en/latest/configuration.html is an option, but how do I 'embed' it in the blog's 'inner being'? I'm more with pure maths than php codes, so please, help me.
 
Last edited:
Physics news on Phys.org
I tried some suggestions from the links in post#3. Didn't get it yet. :(

I finally got it. It looks like I'll have to copy-paste some standard code at the beginning of each HTML content for a post (see below). Then MathJax will render the LaTex code I typed but with \( and \) i/o $ and $ for inline. $$ for display works fine.

The current code is:

<script type="text/x-mathjax-config">
MathJax.Hub.Config({TeX:{equationNumbers:{autoNumber:"AMS"}}});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript">
</script>
 
Last edited:

Similar threads

Replies
4
Views
2K
Replies
8
Views
3K
Replies
4
Views
3K
Replies
11
Views
5K
Replies
14
Views
2K
Replies
3
Views
2K
Replies
8
Views
3K
Back
Top