Hello World & Hexo

Hello Hexo & NexT!

一键四连 x4

1
hexo clean && hexo g -d && hexo s -o

NexT v7.7.2 Support MathJax v3.0

Data Science in Visual Studio Code

妙啊,支持新增的 braket、physics 宏包了

CTAN上physics宏包的pdf文档

\(\require{physics}\) \(\Gamma(n) = (n-1)!\quad \forall n \in \mathbb{N}\)

\(\bra{\psi} \quad \ket{\psi}\)

\(\order{x^2} \quad \comm{A}{B} \quad \laplacian{\Psi}\)

\(\curl{\vb{a}} \quad \div{\vb{a}} \quad \grad{\Psi}\)

\(\Braket{ \phi | \frac{\partial^2}{\partial t^2} | \psi }\)

\(\mel{n}{H}{m}\quad \mel**{n}{H}{m}\)

\(\mel{\phi}{\frac{\partial^2}{\partial t^2}}{\psi} \quad \mel**{\phi}{\frac{\partial^2}{\partial t^2}}{\psi}\)

1
2
3
4
5
6
7
$\Gamma(n) = (n-1)!\quad \forall n \in \mathbb{N}$
$\bra{\psi} \quad \ket{\psi}$
$\order{x^2} \quad \comm{A}{B} \quad \laplacian{\Psi}$
$\curl{\vb{a}} \quad \div{\vb{a}} \quad \grad{\Psi}$
$\Braket{ \phi | \frac{\partial^2}{\partial t^2} | \psi }$
$\mel{n}{H}{m}\quad \mel**{n}{H}{m}$
$\mel{\phi}{\frac{\partial^2}{\partial t^2}}{\psi} \quad \mel**{\phi}{\frac{\partial^2}{\partial t^2}}{\psi}$
1
PolarPlot[{Cos[t]^2+2*Sin[t]^2,2*Sin[2t]^2,2*Cos[2t]^2},{t,0,2\[Pi]},PlotLabels->"Expressions"]
1
2
3
```mma
PolarPlot[{Cos[t]^2+2*Sin[t]^2,2*Sin[2t]^2,2*Cos[2t]^2},{t,0,2\[Pi]},PlotLabels->"Expressions"]
```

Font Awesome 特性

oole
oole
normal golden fa-rotate-90 fa-rotate-180 fa-rotate-270 fa-flip-horizontal fa-flip-vertical

置顶

g l e

百度 (buggy) 百度 (fixed width) NexT

歌词id more examples(v4.7.0) CDN加速查询 emoji-cheat-sheet 🎉 🕍 📗 📔

1
2
3
4
5
6
7
8
9
10
<span style="color: red">this text is red</span>
[hello-world/#Start](/4a17b156/#Start)

{% post_path pjax-intro %}
{% post_link pjax-intro '其他文本' %}
{% post_link pjax-intro %}
{% post_link pjax-intro 'use a <b>bold</b> false title' %}
{% post_link pjax-intro 'use a <b>bold</b> false title' false %}
{% post_link pjax-intro '<span style="color:red">use a <b>bold</b> false title</span>' false %}
{% post_link pjax-intro 'use a <b>bold</b> and <span style="color:blue"> false title</span>' false %}
this text is red oole
oole

hello-world/#Start

hello-world/#Start

hello-world/#Start
hello-world/#Start

hello-world/#Start

hello-world/#Start

hello-world/#Start

hello-world/#Start

/c6731e3b/ 其他文本 External Libraries use a <b>bold</b> false title use a bold false title use a bold false title use a bold and false title
酒井户:smile:
_/source/main.tex
1
2
3
4
5
6
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Hello \LaTeX{}!
\( E=mc^2 \)
\end{document}

返回前面查看

Create a new post

1
hexo new "My New Post"

More info: Writing

Run server

1
hexo server

More info: Server

Generate static files

1
hexo generate

More info: Generating

Deploy to remote sites

1
hexo deploy

使用 MathJax 给公式编号并引用公式

在新版本的 NexT 主题中,我们加入了公式自动编号和引用功能。下面简要介绍一下如何使用这项功能。

为了使用这项功能,一般来说,你必须把所使用的 \(\LaTeX\) 公式放在 equation 环境里面,采用旧的方法(也就是说,仅仅把公式的每一边用两个 $ 符号包含起来)是无效的。如何引用公式?你只需要在书写公式的时候给公式一个 \label{} 标记(tag),然后在正文中,可以使用 \ref{} 或者 \eqref{} 命令来引用对应的公式。使用 \eqref{} 是推荐的方式,因为如果你使用 \ref{},公式在文中的引用编号将没有圆括号包围。下面介绍几种常见的公式编号例子。

对于简单的公式,使用下面的方式给公式一个标记,

\[ \begin{equation} E=mc^2 \label{mass} \end{equation} \]

然后,在正文中,你可以轻松引用上述公式,一个简单的例子如下: \(a^2+b^2=c^2\) 著名的质能方程 \(\eqref{mass}\) 由爱因斯坦提出 ... 对于多行公式,在 equation 环境中,你可以使用 aligned 环境把公式分成多行,

\[\begin{equation}\label{eq2} \begin{aligned} a &= b + c \\ &= d + e + f + g \\ &= h + i \end{aligned} \end{equation}\] 要对齐多个公式,我们需要使用 align 环境。align 环境中的每个公式都有自己的编号:

\[\begin{align} a &= b + c \label{eq3} \\ x &= yz \label{eq4}\\ l &= m - n \label{eq5} \end{align}\]align 环境中,如果你不想给某个或某几个公式编号,那么在这些公式后面使用 \nonumber 命令即可。例如:

\[\begin{align} -4 + 5x &= 2+y \nonumber \\ w+2 &= -1+w \\ ab &= cb \end{align}\] 有时,你可能会希望采用更加奇特的方式来标记和引用你的公式,你可以通过使用 \tag{} 命令来实现,例如:

\[ x+1\over\sqrt{1-x^2} \tag{i}\label{eq_tag} \] 如果你想要了解更多信息,请访问 MathJax 关于公式编号的官方文档。同时,你也可以阅读 这篇文档 来获取更多细节信息。

正在加载今日诗词....
buy me a cup of coffee ☕️