Syntax & Examples

  1. LaTeX reference
  2. KaTeX reference
  3. $$\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.$$

    \[\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.\]
  4. $$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$

    \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\]
  5. $${x}_{1,2}=\frac{-b\pm \sqrt{b^2-4ac}}{2a}$$

    \[{x}_{1,2}=\frac{-b\pm \sqrt{b^2-4ac}}{2a}\]
  6. $$f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$

    \[f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi\]
  7. This apartment has an area of $100m^2$, one must consider the value of $x_z$ This apartment has an area of $100m^2$ One must consider the value of $x_z$
  8. y^(a+b)^ then something like x~y,z~ y^(a+b)^ then something like x~y,z~
  9. This formula $f(x) = x^2$ is an example. This formula $f(x) = x^2$ is an example.
  10. $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$

$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$

Work In Progress: GitHub Pages Integration

  1. Rendering LaTeX using KaTeX and Jekyll
  2. Math support with KaTeX on Github Pages
  3. Math on GitHub Pages
  4. Type on Strap theme already has KaTeX enabled but will it work on GitHub Pages? Maybe.
     # /_config.yml
     remote_theme: Sylhare/Type-on-Strap
     theme_settings:
       katex: true # to Enable it
    
  5. How to enable mathjax/latex in github pages
  6. Search for themes that might come with math support enabled.

Written with StackEdit.