J. An's Blog


  • Home
  • Archive
  • Tags
  •    

© 2021 J. An

Hello World & LaTeX Testing

Posted on 2020-08-02 Hexo $\LaTeX$ 

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. $\LaTeX$

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

$\LaTeX$ Testing

$\pi$

I love eating $\pi$

\\(a_1,...,a_n\\)

We have \(a_1,…,a_n\)

$$P(A \mid B) = \frac{P(AB)}{P(B)}$$

Bayes:
$$P(A \mid B) = \frac{P(AB)}{P(B)}$$

$$
\begin{eqnarray}
\nabla\cdot\vec{E} &=& \frac{\rho}{\epsilon_0} \\\\
\nabla\cdot\vec{B} &=& 0 \\\\
\nabla\times\vec{E} &=& -\frac{\partial B}{\partial t} \\\\
\nabla\times\vec{B} &=& \mu_0\left(\vec{J}+\epsilon_0\frac{\partial E}{\partial t} \right)
\end{eqnarray}
$$

Maxwell’s Equations:
$$
\begin{eqnarray}
\nabla\cdot\vec{E} &=& \frac{\rho}{\epsilon_0} \\
\nabla\cdot\vec{B} &=& 0 \\
\nabla\times\vec{E} &=& -\frac{\partial B}{\partial t} \\
\nabla\times\vec{B} &=& \mu_0\left(\vec{J}+\epsilon_0\frac{\partial E}{\partial t} \right)
\end{eqnarray}
$$

Syntax Highlighting Testing

import numpy as np
for i in range(10):
    print("Yes")
    return i

Reference:

  • MathJax and Markdown Compatibility Solutions
  • Using MathJax to Support LaTeX in The Hexo Theme Generated by Jade
  • Using MathJax to Support LaTeX in Hexo

 Previous post: Load Third-party Netflix Subtitles    

© 2021 J. An