Skip to content

一些小建议和subfigure包报错 #5

@JeffTsuiCUG

Description

@JeffTsuiCUG

感谢Timozer大佬的模版,非常好用,小论文的内容基本上用这个可以无缝贴过来。使用过程中也发现了一些比较小的建议和bug:

  1. 中文封面下面的月份显示。如果是下半年毕业的同学要稍微注意一下,月份填11或12会显示“一一”或“一二”而不是“十一”或“十二”。需要把cugthesis.cls中的\date{\zhdigits{[bug] when use fig-content and tab-content at same time #1}年\zhdigits{update template and the demo #2}月}修改为\date{\zhdigits{[bug] when use fig-content and tab-content at same time #1}年\zhnumber{update template and the demo #2}月}。
  2. 英文封面如果专业名太长可能会自动换行,加\mbox就不会换行了。例如\cugthesismajor{计算机科学与技术}{\mbox{Earth Exploration and Information Technology}}。
  3. 作者简介authorcv.tex的“基本情况”如果想对齐,可以搞个表格环境。
    \cugauthorcvsection{基本情况}
    \begin{table}[H]
    \centering
    \begin{tabular}{llll}
    姓名:xxx & 性别:x & 民族:xx & \
    出生年月:xx & 籍贯:xx & & \
    2022.09 - 2025.06 & 中国地质大学(武汉) & xx专业 & 工学硕士 \
    2018.09 - 2022.06 & 中国地质大学(武汉) & xx专业 & 工学学士
    \end{tabular}
    \end{table}
  4. 使用XeLaTeX编译器,2024版TeXLive编译出现超链接包的警告
    Package hyperref: Unexpected value for option hidelinks' (hyperref) is ignored. 可以不管,实在想消掉,可以把cugthesis.cls中的hidelinks=true修改为hidelinks。 还有一些字体的警告 LaTeX Font: Font shape U/rsfs/m/n' in size <16.06> not available (Font) size <17.28> substituted.
    LaTeX Font: Size substitutions with differences(Font) up to 1.22pt have occurred.
    也可以不管,强迫症不想看到可以用silence包关掉。
    在导言区加上
    \usepackage{silence}
    \WarningFilter{latexfont}{Font shape `U/rsfs/m/n'}
    \WarningFilter{latexfont}{Size substitutions}
    警告就都消失了。
  5. 如果参考文献不想使用GB/T 7714-2005标准,而想使用新版的GB/T 7714-2015标准,可以去https://github.com/zepinglee/gbt7714-bibtex-style 下一个[[gbt7714-2005-numerical.bst]
    然后把cugthesis.cls的
    \bibliographystyle{gbt7714-2005-sec}
    \else
    \bibliographystyle{gbt7714-2005}
    修改为
    \bibliographystyle{gbt7714-numerical}
  6. 不知道为什么使用subfigure包就报错,对于这种拼接的子图似乎无法使用本模版编译?目前只能使用一幅图的figure环境。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions