Closed Utopia97 closed 1 year ago
\documentclass{whu-thesis}
\ctexset{chapter/format+=\raggedright}
\begin{document}
\chapter{title1}
\chapter{title2}
\chapter{title3}
\chapter{title4}
\end{document}
\centering
去掉,可以达到居左的效果\centering
加回去,摘要后再去掉
https://github.com/whutug/whu-thesis/blob/6f19c2e0d34bbfc752f86a7ea505154a185ff595/whu-thesis.cls#L1374-L1417
\ctexset{
chapter/format += {\centering}
}
% or
\ctexset{
chapter/format += {\raggedright}
}
可以局部生效。
\documentclass{whu-thesis}
\begin{document}
{\ctexset{chapter/format+=\raggedright}\chapter{title1}}
\chapter{title2}
\chapter{title3}
\chapter{title4}
\end{document}
- 哪个格式要求的变化?本科还是硕博?
把这段代码的
\centering
去掉,可以达到居左的效果在摘要前把
\centering
加回去,摘要后再去掉 https://github.com/whutug/whu-thesis/blob/6f19c2e0d34bbfc752f86a7ea505154a185ff595/whu-thesis.cls#L1374-L1417\ctexset{ chapter/format += {\centering} } % or \ctexset{ chapter/format += {\raggedright} }
大大你好,是硕士。硕士论文写作指南(暂行).pdf
可以局部生效。
\documentclass{whu-thesis} \begin{document} {\ctexset{chapter/format+=\raggedright}\chapter{title1}} \chapter{title2} \chapter{title3} \chapter{title4} \end{document}
感谢大佬!
检查
编译环境
操作系统
TeX 发行版
whu-thesis 版本
格式要求变化,需要把一级标题居左
经管院2021年发布地格式要求中,要求:一级标题1,2 ……用黑体小二号字,居左,上下隔1 行(段前段后空1 行)。 但是摘要也用的chapter,我把chapter中的\centering去掉后摘要也没法居中了,不知道怎么办,求大大帮忙