Test Page for Math Fomulas

Berrylium Lv1

\KaTeXLATEXTEX

{Dt=×H,(Loi de Faraday)Bt=×E,(Loi d’Ampere)B=0,(Loi de Gauss)D=0.(Loi de Colomb)

Line Breaks

They must appear inside certain environments.

12
$1\\2$

12
$\displaylines{1\\2}$

12
$\begin{aligned} 1\\2 \end{aligned}$

Defining Macros

When the characters { and # appear together, all following content will be discarded due to a Hexo bug


H2O,H2O,limn

1
2
$\newcommand{\water}{H_2O} \def\wate{H_2O}\def\liminfty#1{\lim_{ #1\to\infty}}$
$\water,\wate,\liminfty n$

Equation Labeling

(1)1
(2)1

(b)2

2,b

1
2
3
4
$\begin{equation}1\end{equation}$
$\begin{equation}1\label{asd.sdsd}\end{equation}$
$$2\tag{b}\label{l2}$$
$\ref{asd.sdsd},\ref{l2}$

You must define am equation label before referencing it.

The hyper link for labeled equation is {postURL}#mjx-eqn%3A{label} — where spaces are replaced with underscores — according to the MathJax3.2 Documentation

Enabling Extension Packs

colorv2:

redblue

$\color{red}{red\color{ #0000ff}{blue}}$

physics:

sinx|0π

$\eval{\sin x}_0^\pi$

setoptions:

$\setOptions[physics]{arrowdel=true} \grad \setOptions[physics]{arrowdel=false} \grad$

Note: require and autoload will not work properly — avoid using them.

  • Title: Test Page for Math Fomulas
  • Author: Berrylium
  • Created at : 2025-06-06 23:19:41
  • Updated at : 2025-06-08 10:46:13
  • Link: https://berrylium0078.github.io/2025/06/06/build-site/math-test/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments