Young老师的教学主页
  • Home
  • Categories
  • Tags
  • Archives

equation test

测试pelican插件render_math对公式的支持能力(需配置参数为MATH_JAX)。

Inlined Math

  • Relevant inline math: $e=mc^2$
  • Will not render as inline math: $40 vs $50

  • 质能方程 : \(e=mc^2\)

Displayed Math

Math between $$..$$, for example, $$x^2$$, will be rendered centered in a new paragraph.

简单示例

$$x^2$$

Latex Macros

Latex macros are supported, and are automatically treated like displayed math (i.e. it is wrapped in div tag). For example, begin{equation} x^2 \end{equation}, will be rendered in its own block with a right justified equation number at the top of the block. This equation number can be referenced in the document. To do this, use a label inside of the equation format and then refer to that label using ref. For example: begin{equation} \label{eq} X^2 \end{equation}. Now refer to that equation number by $\ref{eq}$.

\begin{equation} \label{eq} X^2 \end{equation}

参见公式\(\ref{eq}\)...

$$A_\text{c} = (\pi/4) d^2$$
$$α_t(i) = P(O_1, O_2, … O_t, q_t = S_i λ)$$
Comments
comments powered by Disqus

Published

1 3, 2016

Category

教学

Tags

  • Equation 1
  • Latex 1
  • Markdown 3
  • Pelican 3

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor