Reference:
https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
1、 絕對值和範數(Absolute values and norms)
The absolute value of some expression can be denoted as \lvert x\rvert
or, more generally, as \left\lvert … \right\rvert
. It renders as .
The norm of a vector (or similar) can be denoted as \lVert v\rVert
or, more generally, as \left\lVert … \right\rVert
. It renders as . (You may also write \left|…\right|
instead.)
In both cases, the rendering is better than what you’d get from |x|
or ||v||
, which render with bars that don’t descend low enough and sub-optimal spacing. or .
It was typeset as
2、Arbitrary Operator
If an operator is not available as a built-in command, use \operatorname{…}
. So for things like
write \operatorname{arsinh}(x) since \arsinh(x) will give an error and arsinh(x) has wrong font and spacing: arsinh(x).
For operators which need limits above and below the operator, use \operatorname*{…}
, as in
爲什麼 不是在 的下面