请教markdown表格嵌入绝对值符号问题

学术版

WeLikeStudying @ 2024-11-28 17:55:26

当我想打一个表格的时候,里面无法使用绝对值符号(因为有竖线)

|$x^2$|
|:-:|
的显示效果是: x^2

但是

|$|x|$|
|:-:|
的显示效果却是: $ x $

by __LePetitPrince__ @ 2024-11-28 17:56:22

\mid $\mid$


by WeLikeStudying @ 2024-11-28 17:57:31

\mid x\mid
$\mid x\mid$

有一定差异

|x|
$|x|$

by gdf_yhm @ 2024-11-28 18:00:37

\lvert x\rvert
$\lvert x\rvert$

by WeLikeStudying @ 2024-11-28 18:03:04

@gdf_yhm感谢!


by LionBlaze @ 2024-11-28 18:15:30

@gdf_yhm \backslash\texttt{lvert}\backslash\texttt{rvert} 有什么区别啊


by jxp2013 @ 2024-11-28 18:20:38

\vert a \vert
 $\vert a \vert$ 

by ljy05 @ 2024-11-28 18:22:57

@WeLikeStudying


by cjrawa @ 2024-11-28 18:24:01

@LionBlaze 显示效果上没有任何区别


by ljy05 @ 2024-11-28 18:24:23

@ljy05

或者 \left\vert x^{2^2} \right\vert \left\vert x^{2^2} \right\vert


by WeLikeStudying @ 2024-11-28 18:24:57

@jxp2013 感谢!


| 下一页