Switch from online latex to Markdownpad

Source: Internet
Author: User

Using the word Formula Editor, MathType and the online latex formula editor, both Word and PDF formula editing, or Web formula editing, were often inconvenient. Therefore, I have not been interested in blogging for a long time, because when the formula is much, the layout of the blog is too ugly.
It's been a lot better since CSDN supported Markdown. If the PDF formula is edited, Ctex and Sharelatex are recommended. In the case of web formula editing, CSDN provides markdown and Stackedit are good.
The problem to be solved today is how to use Mathjax in Markdownpad, which has been in the past for some time, but the method is incorrect, so no configuration is successful. In fact, the configuration process is fairly straightforward, and in Markdownpad, click the HTML Head Editor, Tools, Options, Advanced, to add custom content to the ' section of the generated HTML document. Add the content as follows:

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

The edited formula can be previewed in the Web page, and the Markdownpad shortcut is F6.
Here's an example to illustrate the following:

$$ \varGamma  (x) = \frac  { \int  _{ \alpha  }  ^{ \beta  }  g (t) (x-t) ^2\text  { d}  t }  Span class= "hljs-special" >{ \phi  (x) \sum  _{ i=0}  ^{  n-1}  \omega  _i   $$   

The effect is displayed as follows:
Gamma (x)= ∫ beta α g (T)(x?T ) 2 DT?(x) ∑ n ? 1   i = 0   ω i  

Reference documents:
[1] Markdown, you just need to master these few: Http://www.tuicool.com/articles/fmeMbqR
[2] Markdown] Use latex basic mathematical formula: http://blog.csdn.net/bendanban/article/details/44196101
[3] Markdownpad using mathjax:http://www.mamicode.com/info-detail-108808.html
[4] Loading and configuring mathjax:http://mathjax-chinese-doc.readthedocs.org/en/latest/configuration.html
[5] Excellent textual editing thought big collision: http://www.cnblogs.com/youxia/p/linux014.html

Switch from online latex to Markdownpad

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.