设置了
ctexset
{
section =
{
format = \heiti \bfseries ,
number = \chinese { section } ,
aftername = { 、 } ,
}
}
之后编译报错
package zhnumber Error: ` section ' is not a LaTeX counter.
是不是因为zhnumber里面缺少chinese{section}的命令?
MWE 如下:
% !TEX program = xelatex
documentclass[UTF8,12pt,heading = true,]{article}
usepackage{ctex}
ctexset
{
section =
{
format = \heiti \bfseries ,
number = \chinese { section } ,
aftername = { 、 } ,
}
}
begin{document}
\section{选择题}
这是一段文字。
end{document}