Spring Nature latex 中报错 Getting the error "Missing $ inserted" in LaTeX
之前一直使用的是IJICAI,NeurIPS的模板,但今天把内容搬运到spring nature 的latex template上时,出现了格式错误:
Getting the error "Missing $ inserted" in LaTeX
source:
recompile:
经检查,发现是因为 绝对值符号 “|” 的表示出现问题:
当用 \vert 代替“|” 来表示绝对值时:
recomplie:
经证明,该方法有效。
references:
https://blog.csdn.net/qq_39453388/article/details/121359187