Loading .github/workflows/close-issue.ymldeleted 100644 → 0 +0 −17 Changes for .github/workflows/close-issue.yml: 0 added lines, 17 removed lines. Original line number Diff line number Diff line name: 'Close stale issues and PRs' on: schedule: - cron: '30 1 * * *' jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v7 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.' close-issue-message: 'This issue was closed because it has been stalled for 3 days with no activity.' days-before-stale: 7 days-before-close: 3 any-of-labels: 'needs-more-info,needs-demo,answered,fixed' .github/workflows/release.yml +6 −6 Changes for .github/workflows/release.yml: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -18,9 +18,9 @@ jobs: if: github.repository_owner == 'SUSTech-CRA' steps: - name: Checkout uses: actions/checkout@v3 uses: actions/checkout@v4 - uses: actions/setup-python@v3 - uses: actions/setup-python@v5 if: ${{ !startsWith(github.ref, 'refs/tags/v') }} with: python-version: '3.9' Loading @@ -42,13 +42,13 @@ jobs: exclusions: '*.git* /*node_modules/* .editorconfig' - name: Upload release artifact uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: 'sustech-thesis-dev-build' path: 'sustech-thesis-dev-build.zip' - name: Upload Pre-release artifact uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: 'pre-release-artifacts_action_build' path: | Loading @@ -62,7 +62,7 @@ jobs: needs: build_latex if: github.event_name == 'push' steps: - uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4 name: Download artifact - uses: "marvinpinto/action-automatic-releases@latest" name: Auto pre-release Loading @@ -83,7 +83,7 @@ jobs: needs: build_latex if: startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4 name: Download artifact - name: Get the version Loading .github/workflows/verify-compile.yml +4 −4 Changes for .github/workflows/verify-compile.yml: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,15 +7,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: texlive: [latest, TL2022-historic, TL2021-historic, TL2020-historic] texlive: [latest, TL2023-historic, TL2022-historic, TL2021-historic] # 多版本 TexLive 兼容性测试 # 版本号选自:https://hub.docker.com/r/texlive/texlive/tags container: texlive/texlive:${{ matrix.texlive }} steps: - name: Checkout uses: actions/checkout@v3 uses: actions/checkout@v4 - uses: actions/setup-python@v3 - uses: actions/setup-python@v5 with: python-version: '3.9' Loading @@ -26,7 +26,7 @@ jobs: run: make doc test - name: Publish PDF as actions assets uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: Example-PDFs-texlive-${{ matrix.texlive }} path: | Loading data/acknowledgements.tex +12 −4 Changes for data/acknowledgements.tex: 12 added lines, 4 removed lines. Original line number Diff line number Diff line % !TeX root = ../sustechthesis-example.tex \begin{acknowledgements} 衷心感谢导师×××教授和物理系××副教授对本人的精心指导。他们的言传身教将使我终生受益。 在美国麻省理工学院化学系进行九个月的合作研究期间,承蒙 Robert Field 教授热心指导与帮助,不胜感激。 衷心感谢导师×××教授对本人的精心指导。他的言传身教将使我终生受益。 感谢×××××实验室主任×××教授,以及实验室全体老师和同窗们学的热情帮助和支持! 感谢×××教授,以及实验室全体老师和同窗们的热情帮助和支持! 本课题承蒙××××基金资助,特此致谢。\\ \textcolor{red}{\textbf{以下内容为提示,仔细阅读后删除。}} 致谢应另起页,放置在参考文献、附录之后,标题和页眉均为“致谢”。语言要诚恳、恰当、简短。 致谢对象可以包括指导教师,在研究工作中提出建议和提供帮助的人,给予转载和引用权的资料、图片、文献、研究和调查的所有者,其他应感谢的组织和个人,资助研究工作的项目基金、奖学金基金、合同单位、资助或支持的企业、组织或个人,协助完成研究工作和提供便利条件的组织或个人。致谢字数以不超过一页纸为宜。 学位论文应由学生在导师(组)的指导下独立完成;\textcolor{red}{\textbf{若涉及团队工作,应注明属于团队成果,并明确个人独立完成的内容}},科学严谨,恪守规范。 本课题承蒙国家自然科学基金资助,特此致谢。 \end{acknowledgements} data/chap02.tex +80 −2 Changes for data/chap02.tex: 80 added lines, 2 removed lines. Original line number Diff line number Diff line % !TeX root = ../sustechthesis-example.tex \chapter{图表示例} \chapter{图、表及条目示例} \section{插图} Loading @@ -10,6 +10,8 @@ 其他的栅格图应使用无损的 PNG 格式。 注意,LaTeX 不支持 TIFF 格式;EPS 格式已经过时。 建议图的大小一般为宽 \SI{6.67}{\centi\meter} \times 高 \SI{5.00}{\centi\meter}。特殊情况下,也可为宽 \SI{9.00}{\centi\meter} \times 高 \SI{6.75}{\centi\meter},或宽 \SI{13.5}{\centi\meter} \times 高 \SI{9.00}{\centi\meter}。总之,一篇论文中,同类图片的大小应该一致,编排美观、整齐。图应尽可能显示在同一页(屏)。 \begin{figure} \centering \includegraphics[width=0.6\linewidth]{example-image-a.pdf} Loading Loading @@ -261,7 +263,7 @@ class HelloWorldApp { \end{algorithm} \newpage \section{测试} \section{图表格式测试} 图题在图之下,段前空 6 磅,段后空 12 磅。图整体前后距离未定义,目前默认距离:段前空 12 磅,段后空 12 磅。 Loading Loading @@ -295,3 +297,79 @@ class HelloWorldApp { 表后,表后,表后,表后,表后,表后,表后,表后,表后,表后,表后。 \emph{图表前后是否有空行不影响图表与正文之间的距离}。 \section{条目编写} \subsection{支持三级目录显示} 支持三级目录显示 \subsection{条目要求} 条目要求首行左缩进 2 个汉字符,避免悬挂缩进。如需使用带括号的条目列表,请自行添加 \verb|label=<style>| 参数。 下面是两个例子,还有更多用法,查阅 \pkg{enumitem} 宏包的文档。 默认条目序号: \verb|\begin{enumerate} ... \end{enumerate}| \begin{enumerate} \item 一级 \begin{enumerate} \item 二级 \begin{enumerate} \item 三级 \begin{enumerate} \item 四级,《写作要求》未定义,请自行定义或者选择。 \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} 自定义序号样式定义如表~\ref{tab:enum-style}。 \begin{table}[h] \centering \caption{条目样式选项} \label{tab:enum-style} \begin{tabular}{@{}ll@{}} \toprule \textbf{Code} & \textbf{Description} \\ \midrule \textbackslash{}alph & Lowercase letter (a, b, c, ...) \\ \textbackslash{}Alph & Uppercase letter (A, B, C, ...) \\ \textbackslash{}arabic & Arabic number (1, 2, 3, ...) \\ \textbackslash{}roman & Lowercase Roman numeral (i, ii, iii, ...) \\ \textbackslash{}Roman & Uppercase Roman numeral (I, II, III, ...) \\ \bottomrule \end{tabular} \end{table} \subsubsection{条目测试} 条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字。 \begin{enumerate} \item 一级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。 \item 一级条目,南方科技大学,南方科技大学,南方科技大学。 \item 一级条目,南方科技大学,南方科技大学,南方科技大学。 \begin{enumerate} \item 二级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \begin{enumerate} \item 三级条目,南方科技大学,南方科技大学,南方科技大学。 \item 三级条目,南方科技大学,南方科技大学,南方科技大学。 \item 三级条目,南方科技大学,南方科技大学,南方科技大学。 \begin{enumerate} \item \textbf{四级条目及之后的条目无规定序号格式,请自行设定选择。} \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} 条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字。 Loading
.github/workflows/close-issue.ymldeleted 100644 → 0 +0 −17 Changes for .github/workflows/close-issue.yml: 0 added lines, 17 removed lines. Original line number Diff line number Diff line name: 'Close stale issues and PRs' on: schedule: - cron: '30 1 * * *' jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v7 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.' close-issue-message: 'This issue was closed because it has been stalled for 3 days with no activity.' days-before-stale: 7 days-before-close: 3 any-of-labels: 'needs-more-info,needs-demo,answered,fixed'
.github/workflows/release.yml +6 −6 Changes for .github/workflows/release.yml: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -18,9 +18,9 @@ jobs: if: github.repository_owner == 'SUSTech-CRA' steps: - name: Checkout uses: actions/checkout@v3 uses: actions/checkout@v4 - uses: actions/setup-python@v3 - uses: actions/setup-python@v5 if: ${{ !startsWith(github.ref, 'refs/tags/v') }} with: python-version: '3.9' Loading @@ -42,13 +42,13 @@ jobs: exclusions: '*.git* /*node_modules/* .editorconfig' - name: Upload release artifact uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: 'sustech-thesis-dev-build' path: 'sustech-thesis-dev-build.zip' - name: Upload Pre-release artifact uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: 'pre-release-artifacts_action_build' path: | Loading @@ -62,7 +62,7 @@ jobs: needs: build_latex if: github.event_name == 'push' steps: - uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4 name: Download artifact - uses: "marvinpinto/action-automatic-releases@latest" name: Auto pre-release Loading @@ -83,7 +83,7 @@ jobs: needs: build_latex if: startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4 name: Download artifact - name: Get the version Loading
.github/workflows/verify-compile.yml +4 −4 Changes for .github/workflows/verify-compile.yml: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,15 +7,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: texlive: [latest, TL2022-historic, TL2021-historic, TL2020-historic] texlive: [latest, TL2023-historic, TL2022-historic, TL2021-historic] # 多版本 TexLive 兼容性测试 # 版本号选自:https://hub.docker.com/r/texlive/texlive/tags container: texlive/texlive:${{ matrix.texlive }} steps: - name: Checkout uses: actions/checkout@v3 uses: actions/checkout@v4 - uses: actions/setup-python@v3 - uses: actions/setup-python@v5 with: python-version: '3.9' Loading @@ -26,7 +26,7 @@ jobs: run: make doc test - name: Publish PDF as actions assets uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: Example-PDFs-texlive-${{ matrix.texlive }} path: | Loading
data/acknowledgements.tex +12 −4 Changes for data/acknowledgements.tex: 12 added lines, 4 removed lines. Original line number Diff line number Diff line % !TeX root = ../sustechthesis-example.tex \begin{acknowledgements} 衷心感谢导师×××教授和物理系××副教授对本人的精心指导。他们的言传身教将使我终生受益。 在美国麻省理工学院化学系进行九个月的合作研究期间,承蒙 Robert Field 教授热心指导与帮助,不胜感激。 衷心感谢导师×××教授对本人的精心指导。他的言传身教将使我终生受益。 感谢×××××实验室主任×××教授,以及实验室全体老师和同窗们学的热情帮助和支持! 感谢×××教授,以及实验室全体老师和同窗们的热情帮助和支持! 本课题承蒙××××基金资助,特此致谢。\\ \textcolor{red}{\textbf{以下内容为提示,仔细阅读后删除。}} 致谢应另起页,放置在参考文献、附录之后,标题和页眉均为“致谢”。语言要诚恳、恰当、简短。 致谢对象可以包括指导教师,在研究工作中提出建议和提供帮助的人,给予转载和引用权的资料、图片、文献、研究和调查的所有者,其他应感谢的组织和个人,资助研究工作的项目基金、奖学金基金、合同单位、资助或支持的企业、组织或个人,协助完成研究工作和提供便利条件的组织或个人。致谢字数以不超过一页纸为宜。 学位论文应由学生在导师(组)的指导下独立完成;\textcolor{red}{\textbf{若涉及团队工作,应注明属于团队成果,并明确个人独立完成的内容}},科学严谨,恪守规范。 本课题承蒙国家自然科学基金资助,特此致谢。 \end{acknowledgements}
data/chap02.tex +80 −2 Changes for data/chap02.tex: 80 added lines, 2 removed lines. Original line number Diff line number Diff line % !TeX root = ../sustechthesis-example.tex \chapter{图表示例} \chapter{图、表及条目示例} \section{插图} Loading @@ -10,6 +10,8 @@ 其他的栅格图应使用无损的 PNG 格式。 注意,LaTeX 不支持 TIFF 格式;EPS 格式已经过时。 建议图的大小一般为宽 \SI{6.67}{\centi\meter} \times 高 \SI{5.00}{\centi\meter}。特殊情况下,也可为宽 \SI{9.00}{\centi\meter} \times 高 \SI{6.75}{\centi\meter},或宽 \SI{13.5}{\centi\meter} \times 高 \SI{9.00}{\centi\meter}。总之,一篇论文中,同类图片的大小应该一致,编排美观、整齐。图应尽可能显示在同一页(屏)。 \begin{figure} \centering \includegraphics[width=0.6\linewidth]{example-image-a.pdf} Loading Loading @@ -261,7 +263,7 @@ class HelloWorldApp { \end{algorithm} \newpage \section{测试} \section{图表格式测试} 图题在图之下,段前空 6 磅,段后空 12 磅。图整体前后距离未定义,目前默认距离:段前空 12 磅,段后空 12 磅。 Loading Loading @@ -295,3 +297,79 @@ class HelloWorldApp { 表后,表后,表后,表后,表后,表后,表后,表后,表后,表后,表后。 \emph{图表前后是否有空行不影响图表与正文之间的距离}。 \section{条目编写} \subsection{支持三级目录显示} 支持三级目录显示 \subsection{条目要求} 条目要求首行左缩进 2 个汉字符,避免悬挂缩进。如需使用带括号的条目列表,请自行添加 \verb|label=<style>| 参数。 下面是两个例子,还有更多用法,查阅 \pkg{enumitem} 宏包的文档。 默认条目序号: \verb|\begin{enumerate} ... \end{enumerate}| \begin{enumerate} \item 一级 \begin{enumerate} \item 二级 \begin{enumerate} \item 三级 \begin{enumerate} \item 四级,《写作要求》未定义,请自行定义或者选择。 \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} 自定义序号样式定义如表~\ref{tab:enum-style}。 \begin{table}[h] \centering \caption{条目样式选项} \label{tab:enum-style} \begin{tabular}{@{}ll@{}} \toprule \textbf{Code} & \textbf{Description} \\ \midrule \textbackslash{}alph & Lowercase letter (a, b, c, ...) \\ \textbackslash{}Alph & Uppercase letter (A, B, C, ...) \\ \textbackslash{}arabic & Arabic number (1, 2, 3, ...) \\ \textbackslash{}roman & Lowercase Roman numeral (i, ii, iii, ...) \\ \textbackslash{}Roman & Uppercase Roman numeral (I, II, III, ...) \\ \bottomrule \end{tabular} \end{table} \subsubsection{条目测试} 条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字,条目前文字。 \begin{enumerate} \item 一级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。 \item 一级条目,南方科技大学,南方科技大学,南方科技大学。 \item 一级条目,南方科技大学,南方科技大学,南方科技大学。 \begin{enumerate} \item 二级条目,超长行。南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \item 二级条目,南方科技大学,南方科技大学,南方科技大学。 \begin{enumerate} \item 三级条目,南方科技大学,南方科技大学,南方科技大学。 \item 三级条目,南方科技大学,南方科技大学,南方科技大学。 \item 三级条目,南方科技大学,南方科技大学,南方科技大学。 \begin{enumerate} \item \textbf{四级条目及之后的条目无规定序号格式,请自行设定选择。} \end{enumerate} \end{enumerate} \end{enumerate} \end{enumerate} 条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字,条目后文字。