hfuttug / hfut_thesis Goto Github PK
View Code? Open in Web Editor NEWLaTeX Thesis Template for Hefei University of Technology
License: LaTeX Project Public License v1.3c
LaTeX Thesis Template for Hefei University of Technology
License: LaTeX Project Public License v1.3c
看编译完的示例后,发现pdf的二级标题没有加粗。感觉有点奇怪,于是阅读了《[合肥工业大学研究生学位论文写作规范》,发现这个规范本身就很不规范,比如说:
《规范》定义二级标题:
二级(节)标题:黑体,小四号,左对齐
然而规范本身二级标题却加了粗
《规范》定义正文:
正文:宋体,小四号,左对齐,首行缩进2字符
然而规范正文却是居中对齐。
所以要是想在pdf中加粗二级标题,要修改哪里呢?(这些奇怪的格式问题我还是找个时间问问导员去吧。。)
hfutthesis-doc.pdf
《合肥工业大学2023届毕业设计(论文)》 的文档的第24页要求 页眉的设置:位于正文部分,内容为“合肥工业大学本科毕业设计(论文)”。 而模板编译的结果是 “合肥工业大学毕业设计(论文)”
无需代码复现
hfutthesis-doc.pdf
我是直接用的overleaf上的模板开始编写的,但是今天在看issue的时候发现overleaf的版本似乎并不是跟GitHub上同步的,因为现在答辩迫在眉睫,重新开始用github上的模板有点来不及了,所以我想知道overleaf的版本和github上的有什么地方不同吗?
比如 #31 提到的问题,overleaf上的模板仍然存在,在修改了htutthesis.cls后问题才解决。
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
hfutthesis-doc.pdf
在生成pdf后,参考文献部分的标题不能被其他地方识别,即不能复制出去,复制出去为乱码,但是显示无任何异常。
导致在查重时发现不了这几个字,引用一片红。
复现上述问题的代码:
可以尝试用mac下编译一次尝试复现,win下好像未出现这个问题
用的默认代码
\bibliography{bib/hfut}
1.在win10的编译过程中出现错误,错误信息为**LaTeX3 Error: The key 'ctex/tocdepth' is unknown and is being ignored. \begin{publications}
**
但是当我运行的时候虽然出错但是可以编译出main.pdf文件,并且在修改内容可以成功,但是还是会报错上述问题。
2.于是我尝试在linux环境下进行编译,当我编译执行make doc 命令可以生成hfutthesis-doc.pdf文件,但是当我make时,会出现错误:```
make: *** No rule to make target 'hfutthesis-authoryear.bst', needed by 'main.pdf'. Stop.
截图:
![image](https://user-images.githubusercontent.com/67585051/157816950-80f0bd4e-4c65-43f6-92e3-b23fb1cebbae.png)
我想linux下错误可能与我没安装字体有关,但是make doc会使用默认字体可以成功,同时win10下的错误使我很纠结,到底是什么原因导致的
main.tex
hfutthesis-doc.tex
changelog.md
获得,Assets:包含 hfutthesis-doc.pdf
及master分支源码hfutthesis-doc.pdf
《合肥工业大学研究生学位论文写作规范》的 xx 文档的第xx页要求……而模板编译的结果是……
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf 和 http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unimath-symbols.pdf 显示404了
我注意到你们的参考文献格式跟 GB/T 7714—2015 并不完全一致。如果能把《写作规范》的示例整理为 .bib
格式的话(用于测试,参考 https://github.com/CTeX-org/gbt7714-bibtex-style/blob/master/test/testbst/support/standard.bib),我可以帮你们修改 bst。
另《写作规范》没有提到著者-出版年制的参考文献格式,可以把相关的 *-author-year.*
去掉。
hfutthesis-doc.pdf
生成pdf中空白页的问题
在hfutsetup.tex文件中加入如下代码:
\let\cleardoublepage\clearpage%%去除空白页
Makefile文件里的 第四行
BSTFILES =
是否需要更新为
BSTFILES =
hfutthesis-doc.pdf
Macintosh平台使用的字体可能导致标题、章标题、一级节标题等部分在PDF阅读器内复制乱码。
在其他平台编译,或是手动指定使用Noto系列字体则无此问题。
hfutthesis-doc.pdf
《合肥工业大学研究生学位论文写作规范》的 xx 文档的第xx页要求……而模板编译的结果是……
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
ci test on macos-latest
failed with the following log,
/usr/local/texlive/2022/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-macnew.d
[72](https://github.com/HFUTTUG/HFUT_Thesis/runs/5966403167?check_suite_focus=true#step:4:72)
ef:99: Package fontspec Error: The font "Kaiti SC" cannot be found.
The same issue can also be checked from here. One contributor from the CTex team suggested that using macnew
fontset instead of mac
fontset(ref: link).
Lines 674 to 689 in f3319fa
Line680
-> \hfutsetup{fontset = macnew}
However, I do not have that much confidence about this revision. Hence, raise this issue for discussion.
hfutthesis-doc.pdf
“博士2份平装,要求从封面、序言、目录开始按照“1、2、3、. . . 、N ”自然数顺序编页码,学位论文中间的页码不编、保持原页码不变,最后在总页码上加上前面“封面、序言、目录等”内容多出的页数。”
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
hfutthesis-doc.pdf
hfutthesis-doc.pdf
\documentclass[degree-type = professional]{hfutthesis}
这行代码加入后编译报错
截图:
复现上述问题的代码:
\documentclass[degree=master]{hfutthesis}
\documentclass[degree-type = professional]{hfutthesis}
hfutthesis-doc.pdf
《合肥工业大学研究生学位论文写作规范》的 xx 文档的第xx页要求……而模板编译的结果是……
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
hfutthesis-doc.pdf
华文字库和 Fandol 字库虽然不违反《规范》的要求,但是其字形跟中易字库有所差别,可能被审查老师认为格式不符合要求。所以建议在提交最终版前使用 Windows 平台的字体进行编译。
所以我在最开始设置了平台为windows,但是报错了,错误如下:
复现上述问题的代码:
\documentclass[fontset=windows, degree=bachelor]{hfutthesis}
% degree = doctor | master | bachelor
% degree-type = academic | professional
% language = chinese | english
% fontset = windows | mac | ubuntu | fandol
hfutthesis-doc.pdf
相关要求:《合肥工业大学研究生学位论文写作规范》的要求英文使用Times New Roman
字体。
相关问题:若在bachelor
模板分支中中的chapter
或者section
环境中使用中英文混合编排,英文字体会使用SimHei
的设置。
复现上述问题的代码:
\chapter{这是一个章节 chapter}
\section{这是一个 section}
相关环境字体设置代码块:
Lines 2515 to 2520 in 32dd5e2
优秀啊,前来兹磁!
hfutthesis-doc.pdf
《合肥工业大学研究生学位论文写作规范》的 xx 文档的第xx页要求……而模板编译的结果是……
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
hfutthesis-doc.pdf
《合肥工业大学研究生学位论文写作规范》的 xx 文档的第xx页要求……而模板编译的结果是……
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
目前没有检查出问题,但是希望能作相应的改进
如题
hfutthesis-doc.pdf
附录中图表的题注在清单中编号又从1.1开始编号,应该为附录图1.1这种类型吧
hfutthesis-doc.pdf
Line 64 in 9b4e50f
This is XeTeX, Version 3.14159[26](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:26)53-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
26
\write18 enabled.
[27](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:27)
entering extended mode
[28](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:28)
(./main.tex
[29](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:29)
LaTeX2e <2021-11-15> patch level 1
[30](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:30)
L3 programming layer <2022-02-24> (./hfutthesis.cls
[31](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:31)
Document Class: hfutthesis 2021/08/15 {v1.0.3} hfut thesis template
[32](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:32)
(/opt/texlive/texdir/texmf-dist/tex/generic/iftex/iftex.sty)
[33](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:33)
(/opt/texlive/texdir/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
[34](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:34)
(/opt/texlive/texdir/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)
[35](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:35)
(/opt/texlive/texdir/texmf-dist/tex/latex/kvoptions/kvoptions.sty
[36](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:36)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics/keyval.sty)
[37](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:37)
(/opt/texlive/texdir/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty))
[38](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:38)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/ctexbook.cls
[39](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:39)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/config/ctexbackend.cfg)
[40](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:40)
(/opt/texlive/texdir/texmf-dist/tex/latex/l3kernel/expl3.sty
[41](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:41)
(/opt/texlive/texdir/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
[42](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:42)
(|extractbb --version)))
[43](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:43)
Document Class: ctexbook 2021/12/12 v2.5.8 Chinese adapter for class book (CTEX
[44](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:44)
)
[45](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:45)
(/opt/texlive/texdir/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
[46](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:46)
(/opt/texlive/texdir/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
[47](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:47)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/ctexhook.sty)
[48](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:48)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/ctexpatch.sty)
[49](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:49)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/fix-cm.sty
[50](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:50)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/ts1enc.def))
[51](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:51)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/config/ctexopts.cfg)
[52](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:52)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/book.cls
[53](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:53)
Document Class: book 2021/10/04 v1.4n Standard LaTeX document class
[54](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:54)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/bk12.clo))
[55](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:55)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def
[56](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:56)
(/opt/texlive/texdir/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
[57](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:57)
(/opt/texlive/texdir/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty)
[58](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:58)
(/opt/texlive/texdir/texmf-dist/tex/latex/fontspec/fontspec.sty
[59](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:59)
(/opt/texlive/texdir/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
[60](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:60)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/fontenc.sty)
[61](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:61)
(/opt/texlive/texdir/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
[62](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:62)
(/opt/texlive/texdir/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg)))
[63](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:63)
(/opt/texlive/texdir/texmf-dist/tex/latex/zhnumber/zhnumber.sty
[64](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:64)
(/opt/texlive/texdir/texmf-dist/tex/latex/zhnumber/zhnumber-utf8.cfg))
[65](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:65)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-book.de
[66](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:66)
f) (/opt/texlive/texdir/texmf-dist/tex/latex/ctex/ctex-cs4size.clo))
[67](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:67)
(/opt/texlive/texdir/texmf-dist/tex/latex/ctex/config/ctex.cfg)
[68](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:68)
(/opt/texlive/texdir/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
[69](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:69)
(/opt/texlive/texdir/texmf-dist/tex/latex/amsmath/amsmath.sty
[70](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:70)
For additional information on amsmath, use the `?' option.
[71](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:71)
(/opt/texlive/texdir/texmf-dist/tex/latex/amsmath/amstext.sty
[72](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:72)
(/opt/texlive/texdir/texmf-dist/tex/latex/amsmath/amsgen.sty))
[73](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:73)
(/opt/texlive/texdir/texmf-dist/tex/latex/amsmath/amsbsy.sty)
[74](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:74)
(/opt/texlive/texdir/texmf-dist/tex/latex/amsmath/amsopn.sty))
[75](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:75)
(/opt/texlive/texdir/texmf-dist/tex/latex/geometry/geometry.sty
[76](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:76)
(/opt/texlive/texdir/texmf-dist/tex/generic/iftex/ifvtex.sty))
[77](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:77)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics/graphicx.sty
[78](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:78)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics/graphics.sty
[79](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:79)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics/trig.sty)
[80](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:80)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
[81](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:81)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics-def/xetex.def)))
[82](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:82)
(/opt/texlive/texdir/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
[83](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:83)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics/color.sty
[84](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:84)
(/opt/texlive/texdir/texmf-dist/tex/latex/graphics-cfg/color.cfg))
[85](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:85)
(/opt/texlive/texdir/texmf-dist/tex/latex/titlesec/titletoc.sty)
[86](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:86)
(/opt/texlive/texdir/texmf-dist/tex/latex/caption/caption.sty
[87](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:87)
(/opt/texlive/texdir/texmf-dist/tex/latex/caption/caption3.sty))
[88](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:88)
(/opt/texlive/texdir/texmf-dist/tex/latex/footmisc/footmisc.sty
[89](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:89)
(/opt/texlive/texdir/texmf-dist/tex/latex/bigfoot/perpage.sty))
[90](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:90)
(/opt/texlive/texdir/texmf-dist/tex/latex/url/url.sty)
[91](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:91)
(/opt/texlive/texdir/texmf-dist/tex/latex/tools/calc.sty)
[92](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:92)
(/opt/texlive/texdir/texmf-dist/tex/generic/ulem/ulem.sty)
[93](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:93)
(/opt/texlive/texdir/texmf-dist/tex/latex/multirow/multirow.sty)
[94](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:94)
(/opt/texlive/texdir/texmf-dist/tex/latex/enumitem/enumitem.sty)
[95](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:95)
(/opt/texlive/texdir/texmf-dist/tex/latex/caption/bicaption.sty)
[96](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:96)
(/opt/texlive/texdir/texmf-dist/tex/latex/filehook/filehook.sty
[97](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:97)
(/opt/texlive/texdir/texmf-dist/tex/latex/filehook/filehook-2020.sty)))
[98](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:98)
(./hfutsetup.tex
[99](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:99)
(/opt/texlive/texdir/texmf-dist/tex/latex/unicode-math/unicode-math.sty
[100](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:100)
(/opt/texlive/texdir/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
[101](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:101)
(/opt/texlive/texdir/texmf-dist/tex/latex/unicode-math/unicode-math-table.tex))
[102](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:102)
) (/opt/texlive/texdir/texmf-dist/tex/latex/amscls/amsthm.sty)
[103](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:103)
(/opt/texlive/texdir/texmf-dist/tex/latex/booktabs/booktabs.sty)
[104](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:104)
(/opt/texlive/texdir/texmf-dist/tex/latex/tools/longtable.sty)
[105](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:105)
(/opt/texlive/texdir/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
[106](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:106)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/ifthen.sty)
[107](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:107)
(/opt/texlive/texdir/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty)
[108](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:108)
(/opt/texlive/texdir/texmf-dist/tex/latex/tools/xspace.sty)
[109](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:109)
(/opt/texlive/texdir/texmf-dist/tex/latex/relsize/relsize.sty))
[110](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:110)
(/opt/texlive/texdir/texmf-dist/tex/latex/siunitx/siunitx.sty
[111](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:111)
(/opt/texlive/texdir/texmf-dist/tex/latex/translations/translations.sty
[112](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:112)
(/opt/texlive/texdir/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
[113](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:113)
(/opt/texlive/texdir/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
[114](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:114)
(/opt/texlive/texdir/texmf-dist/tex/latex/tools/array.sty))
[115](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:115)
(/opt/texlive/texdir/texmf-dist/tex/latex/natbib/natbib.sty))
[116](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:116)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/hyperref.sty
[117](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:117)
(/opt/texlive/texdir/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
[118](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:118)
(/opt/texlive/texdir/texmf-dist/tex/latex/hycolor/hycolor.sty)
[119](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:119)
(/opt/texlive/texdir/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
[120](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:120)
(/opt/texlive/texdir/texmf-dist/tex/latex/auxhook/auxhook.sty)
[121](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:121)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/pd1enc.def)
[122](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:122)
(/opt/texlive/texdir/texmf-dist/tex/generic/intcalc/intcalc.sty)
[123](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:123)
(/opt/texlive/texdir/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
[124](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:124)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/puenc.def)
[125](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:125)
(/opt/texlive/texdir/texmf-dist/tex/generic/bitset/bitset.sty
[126](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:126)
(/opt/texlive/texdir/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
[127](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:127)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
[128](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:128)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/hxetex.def
[129](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:129)
(/opt/texlive/texdir/texmf-dist/tex/generic/stringenc/stringenc.sty)
[130](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:130)
(/opt/texlive/texdir/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
[131](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:131)
(/opt/texlive/texdir/texmf-dist/tex/latex/base/atveryend-ltx.sty)
[132](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:132)
(/opt/texlive/texdir/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
[133](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:133)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/puenc-greekbasic.def)
[134](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:134)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/psdextra.def) (./main.aux)
[135](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:135)
*geometry* detected driver: xetex
[136](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:136)
(/opt/texlive/texdir/texmf-dist/tex/latex/caption/ltcaption.sty)
[137](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:137)
(/opt/texlive/texdir/texmf-dist/tex/latex/translations/translations-basic-dicti
[138](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:138)
onary-english.trsl)
[139](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:139)
(/opt/texlive/texdir/texmf-dist/tex/latex/hyperref/nameref.sty
[140](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:140)
(/opt/texlive/texdir/texmf-dist/tex/latex/refcount/refcount.sty)
[141](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:141)
(/opt/texlive/texdir/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty))
[142](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:142)
[143](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:143)
Package hyperref Warning: Rerun to get /PageLabels entry.
[144](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:144)
[145](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:145)
[1] [2] [3] [4] [5] [6] [7] [8] (./chapters/abstract.tex [9]) [10] [11]
[146](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:146)
[12] (./chapters/notation.tex [13]) [14] (./chapters/intro.tex
[147](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:147)
1
[148](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:148)
) (./chapters/floats.tex [1]
[149](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:149)
2
[150](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:150)
[151](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:151)
LaTeX Warning: Reference `tab:exampletable' on page 2 undefined on input line 7
[152](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:152)
.
[153](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:153)
[154](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:154)
[155](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:155)
LaTeX Warning: `h' float specifier changed to `ht'.
[156](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:156)
[157](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:157)
[158](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:158)
LaTeX Warning: Reference `fig:example-zh-en' on page 2 undefined on input line
[159](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:159)
66.
[160](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:160)
[161](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:161)
[162](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:162)
LaTeX Warning: `h' float specifier changed to `ht'.
[163](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:163)
[164](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:164)
[2]) (./chapters/math.tex [3]
[165](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:165)
3
[166](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:166)
[4]
[167](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:167)
[168](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:168)
./chapters/math.tex:64: Package siunitx Error: Invalid number '1+-2i'.
[169](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:169)
[170](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:170)
For immediate help type H <return>.
[171](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:171)
...
[172](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:172)
[173](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:173)
l.64 \item \num{1+-2i}
[174](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:174)
[175](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:175)
Output written on main.xdv (18 pages, 87984 bytes).
[176](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:176)
SyncTeX written on main.synctex.gz.
[177](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:177)
Transcript written on main.log.
[178](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:178)
Latexmk: ====List of undefined refs and citations:
[179](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:179)
Reference `tab:exampletable' on page 2 undefined on input line 7
[180](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:180)
Reference `fig:example-zh-en' on page 2 undefined on input line 66
[181](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:181)
Latexmk: If appropriate, the -f option can be used to get latexmk
[182](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:182)
to try to force complete processing.
[183](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:183)
Latexmk: Getting log file 'main.log'
[184](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:184)
Latexmk: Examining 'main.fls'
[185](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:185)
Latexmk: Examining 'main.log'
[186](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:186)
Latexmk: References changed.
[187](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:187)
Latexmk: Log file says output to 'main.xdv'
[188](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:188)
Latexmk: Summary of warnings from last run of *latex:
[189](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:189)
Latex failed to resolve 2 reference(s)
[190](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:190)
Latexmk: Errors, so I did not complete making targets
[191](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:191)
Collected error summary (may duplicate other messages):
[192](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:192)
xelatex: Command for 'xelatex' gave return code 1
[193](https://github.com/ter-li/HFUT_Thesis/runs/5844737325?check_suite_focus=true#step:5:193)
Refer to 'main.log' for details
hfutthesis-doc.pdf
在规范中,奇数页页眉应该为本章标题,偶数页页眉应该为“合肥工业大学博士研究生学位论文”。但是用overleaf编译出来的结果是:奇数页和偶数页都是本章标题。
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
博士论文中致谢应放在正文开头,即摘要之前。(学位办给的word模版是这么排的)
对应Tex文件main.tex中,部分内容需要修改一下。如:% 致谢页,硕博 请将该行注释去掉。和\input{chapters/acknowledgements.tex} % 致谢页,本科生 请将该行注释去掉。
总之就是一小小小问题,感谢!!
hfutthesis-doc.pdf
插图清单和表格清单中默认各章节之间的出现一个空行,但是注意到《合肥工业大学本科毕业设计(论文)工作实施细则》中的模板是没有的
虽然我论文都写完了,但是还是给个star支持一下!
你好,
当图标题内容少于一行时,中英文图标题都会居中显示
但是当图标题内容超过一行时,中英文标题都会自动左对齐显示
请问,该如何解决
hfutthesis-doc.pdf
《合肥工业大学研究生学位论文写作规范》的 xx 文档的第xx页要求……而模板编译的结果是……
截图:
复现上述问题的代码:
\documentclass[degree=master,pdf]{hfutthesis}
hfutthesis-doc.pdf
符合《合肥工业大学研究生学位论文写作规范》
“学术硕士” 四字 错打成 “学历硕士”
复现上述问题的代码:
\documentclass[degree=master,degree-type=academic]{hfutthesis}
\begin{document}
abc
\end{document}
hfutthesis-doc.pdf
大佬,我想修改页眉,请问需要修改哪里啊
截图:
复现上述问题的代码:
\documentclass[degree=doctor]{hfutthesis}
\begin{document}
abc
\end{document}
hfutthesis-doc.pdf
关于取消 图表目录 章节之间存在的间距
hfutthesis
目录是 根据 \pkg{titletoc}
宏包设置目录内容的格式。
至于图表目录章节之间的间距,如果需要一致,
Lines 38 to 43 in f3319fa
main.tex
做 如下修改
\tableofcontents
\let\origAddvspace\addvspace
\renewcommand\addvspace[1]{}
\listoffigures
\listoftables
\let\addvspace\origAddvspace
hfutthesis-doc.pdf
根据《合肥工业大学研究生学位论文写作规范》或《合肥工业大学本科毕业设计(论文)工作实施细则》,合肥工业大学学位论文,本科生封面页 题目默认一行,研究生默认两行。
如果需要修改可以参考以下描述:
hfutthesis.cls
定位到makecover
Lines 1989 to 2098 in 32dd5e2
Lines 2050 to 2069 in 32dd5e2
{\fontsize{16bp}{20bp}\selectfont
\begin{tabular}{>{\bfseries\fontsize{16bp}{20bp}\selectfont}l>{\centering\arraybackslash\fontsize{16bp}{20bp}\selectfont}p{8.5cm}}%
类\hspace{2\ccwd}型:& \hfut@ugtype \\
\cline{2-2}
\end{tabular}\par%
\begin{tabular}{>{\rmfamily\bfseries\fontsize{16bp}{20bp}\selectfont}lp{8.5cm}}%
题\hspace{2\ccwd}目:& \multirow[t]{2}{8.5cm}{
\centering\linespread{1.5}\fontsize{16bp}{20bp}\selectfont
\hfut@title} \\
\cline{2-2}
& \\
\cline{2-2}
\end{tabular}\par
\begin{tabular}{>{\bfseries\fontsize{16bp}{20bp}\selectfont}l>{\centering\arraybackslash\fontsize{16bp}{20bp}\selectfont}p{8.5cm}}
\hfut@speciality@name:& \hfut@speciality\\
\cline{2-2}
入学年份:& \hfut@hfuteryear \\
\cline{2-2}
学生姓名:& \hfut@author \\
\cline{2-2}
指导教师:& \hfut@supervisor@names \\
\cline{2-2}
系\hspace{0.5\ccwd}名\hspace{0.5\ccwd}称:& \hfut@department \\
\cline{2-2}
完成时间:& \hfut@date@zh \\
\cline{2-2}
\end{tabular}\par}%
Lines 2071 to 2093 in 32dd5e2
\multirow[t]{n}{8.5cm}
这里的n
代表设置的行数): \begin{tabular}{>{\rmfamily\bfseries\fontsize{16bp}{20bp}\selectfont}lp{8.5cm}}%
论文题目:& \multirow[t]{3}{8.5cm}{
\centering\linespread{1.5}\fontsize{16bp}{20bp}\selectfont
\hfut@title} \\
\cline{2-2}
& \\
\cline{2-2}
& \\
\cline{2-2}
\end{tabular}
\renewcommand\arraystretch{1.5}
\begin{tabular}{>{\bfseries\fontsize{16bp}{20bp}\selectfont}l>{\centering\arraybackslash\fontsize{16bp}{20bp}\selectfont}p{8.5cm}}
\ifhfut@degree@master
学位类别:& \hfut@degreetype@name\\
\cline{2-2}
\fi
\hfut@speciality@name:& \hfut@speciality\\
\cline{2-2}
作者姓名:& \hfut@author \\
\cline{2-2}
导师姓名:& \hfut@supervisor@names \\
\cline{2-2}
完成时间:& \hfut@date@zh \\
\cline{2-2}
\end{tabular}\par%
Lines 2044 to 2048 in 32dd5e2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.