From Online LaTeX to MarkdownPad and latexmarkdownpad

Source: Internet
Author: User
Tags blog layout

From Online LaTeX to MarkdownPad and latexmarkdownpad

In the past, the Word formula Editor, MathType and online LaTeX formula editors were often used, which were inconvenient for both Word and PDF formula editing and Web formula editing. Therefore, I have not been interested in blogging for a long time, because when there are many formulas, the blog layout is too ugly.
Since CSDN supports Markdown, it is much better. For PDF formula editing, CTeX and ShareLatex are recommended. For Web formula editing, the Markdown and StackEdit provided by CSDN are both good.
The problem to be solved today is how to use MathJax in MarkdownPad. It has been around for a while before, but the method is incorrect, so it is not configured successfully. In fact, the configuration process is quite simple. In MarkdownPad, Click Tools> Options> Advanced> HTML Head Editor to add custom content to the 'section of the generated HTML document. The added content is as follows:

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

In this way, you can preview the edited formula on the webpage. The shortcut key of MarkdownPad is F6.
The following is an example:

$$ \varGamma(x) = \frac{\int_{\alpha}^{\beta} g(t)(x-t)^2\text{ d}t }{\phi(x)\sum_{i=0}^{N-1} \omega_i} $$

The display effect is as follows:
Gamma (x) = β α g (t) (x −t) 2 dt percentile (x) Σ N −1 I = 0 ω I

References:
[1] Markdown, you only need to master these: http://www.tuicool.com/articles/fmeMbqR
[2] Markdown] Using 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 disruptive editing ideas collision: http://www.cnblogs.com/youxia/p/linux014.html

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.