自定义的cls中使用、ctexset{section={format = {raggedright heiti zihao{-2} fseries}}如何 设置成:一级标题:黑体小二加粗,单倍行距,段前0.5行,段后0行
看这里的代码,自己练习下,大致保持一致即可。
\ctexset{
part/pagestyle = empty,
chapter ={
break = {},
name={},
number=\arabic{chapter},
format =\bfseries\heiti\zihao{-3},
beforeskip={-10pt plus .2ex minus -.2ex},
afterskip={5pt plus 3pt minus 3pt}},
section = {
format=\raggedright\bfseries\heiti\zihao{4},numberformat =\rmfamily,
beforeskip={2ex},
afterskip={2ex plus 3pt minus 3pt}
},
subsection = {
format=\raggedright\bfseries\heiti\zihao{-4},numberformat =\rmfamily,
beforeskip={2ex},
afterskip={2ex plus 3pt minus 3pt}
},}