• Home
  • About
    • INCHEONY photo

      INCHEONY

      in my twenties.. immersing myself in every single thing possible!

    • Learn More
    • Email
    • Facebook
    • Instagram
  • Contents
    • Categories
    • All Tags
  • Posts
    • Mathematics
    • Statistics
    • Machine Learning
    • Deep Learning
    • R
    • Python
    • SQL
  • Projects
  • Photographs

MathJax Example

10 Aug 2015

Reading time ~1 minute

MathJax is a simple way of including Tex/LaTex/MathML based mathematics in HTML webpages. To get up and running you need to include the MathJax script in the header of your github pages page, and then write some maths. For LaTex, there are two delimiters you need to know about, one for block or displayed mathematics \[ ... \], and the other for inline mathematics \( ... \).

Usage

To enable MathJax support be sure Kramdown is your Markdown flavor of choice and MathJax is set to true in your _config.yml file.

markdown: kramdown
mathjax: true
Here is an example MathJax inline rendering \\( 1/x^{2} \\), and here is a block rendering: 
\\[ \frac{1}{n^{2}} \\]

Here is an example MathJax inline rendering \( 1/x^{2} \), and here is a block rendering: \[ \frac{1}{n^{2}} \]

The only thing to look out for is the escaping of the backslash when using markdown, so the delimiters become \\[ ... \\] and \\( ... \\) for inline and block maths respectively.



markdownmathjaxexampletestjekyll Share Tweet +1
Read More

폴더 내 여러 파일 일괄 불러오기

먼저 특정 폴더 내에서 여러 개의 파일을 한번에 불러오는 방법은 여러가지가 있습니다. 따라서 불러올 데이터가 어떤 형식인지, 어떠한 데이터로 구성되어 있는지 파악해야 합니다. 제가 불러오고자 하는 파일은 'dat'파일 형식이며, 사내 온라인 ...… Continue reading