方法
导言区加入:
% 设置公式的编号为短杠形式
\renewcommand\theequation{%
\thechapter-\arabic{equation}}
% 设置图, 表的编号为短杠形式
\renewcommand\thefigure{\arabic{chapter}-\arabic{figure}}
\renewcommand\thetable{\arabic{chapter}-\arabic{table}}
即可.
其中, chapter
这一参数是指以哪一文档层次作为表(图)编号的参照, 如果是article文档类, 建议修改为section
.
可能需要的宏包:mathtools
.