Skip to content

Commit

Permalink
fix: 公式阿拉伯数字连续编号
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhldr committed Oct 31, 2023
1 parent a9933ff commit c011f15
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions LZUThesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,16 @@
% \RequirePackage{amssymb}
\RequirePackage{mathrsfs}


% 3.公式。毕业论文(设计)中的公式应另起一行,并缩格书写。如有两个以上公式,应用从“1”开始的阿拉伯数字进行编号,并将编号置于括号内,如“(1)”。公式需要转行时,应尽可能在“=”、“+”、“-”、“×”、“/”等记号处转行。编号及标题字体为宋体,五号。
\RequirePackage{chngcntr}
% 设置公式编号格式为连续的阿拉伯数字
\renewcommand{\theequation}{\arabic{equation}}


% 确保公式编号在整个文档中连续
\counterwithout{equation}{chapter}

\RequirePackage{graphicx}
\graphicspath{{figures/}{figure/}{pictures/}
{picture/}{pic/}{pics/}{image/}{images/}}
Expand Down
Binary file modified template.pdf
Binary file not shown.
5 changes: 4 additions & 1 deletion template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ \section{二级标题}

绪论其实也可以有二级标题,要不然,论文要求:“包括毕业论文(设计)的研究目的、意义、范围、研究设想、方法、实验设计、选题依据等;还包括毕业论文(设计)研究领域的历史回顾,文献追溯,理论分析等内容”全部写成一堆不成?


% 测试公式第二章继续编号,而不是从1开始
\begin{equation}
E=mc^2
\end{equation}

\chapter{latex部分用法简介}

Expand Down

0 comments on commit c011f15

Please sign in to comment.