Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Dec 8, 2014 #1

    dextercioby

    User Avatar
    Science Advisor
    Homework Helper

    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: Dec 9, 2014
  2. jcsd
  3. Dec 8, 2014 #2

    jedishrfu

    Staff: Mentor

  4. Dec 8, 2014 #3
  5. Dec 9, 2014 #4

    dextercioby

    User Avatar
    Science Advisor
    Homework Helper

    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: Dec 9, 2014
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Just opened a blog and want to LaTex it. Help?
  1. Latex Help (Replies: 9)

  2. LaTeX help (Replies: 2)

Loading...