Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一些建议 #147

Open
sikouhjw opened this issue Mar 11, 2021 · 13 comments
Open

一些建议 #147

sikouhjw opened this issue Mar 11, 2021 · 13 comments

Comments

@sikouhjw
Copy link
Contributor

  • README.md 加上:遇到 bug 优先考虑使用最新版的模板
  • 在 cls 中添加版本号,便于区别「是不是最新版」
  • main.tex 最前面加上:请先阅读 README.md 再使用
  • 让用户手动选择(中文)字体选项,个人感觉这样更好,也方便 Overleaf 用户使用 fontset=ubuntu(不需要额外字体)
  • 西文字体,我更希望摆脱操作系统的束缚,直接选择 texlive 内自带的字体,如 XITS
    \documentclass{article}
    \usepackage{fontspec}
    \newfontfamily\mytime{Times New Roman}
    \newfontfamily\myxits{XITS}
    \def\test{123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZCVBNM}
    \begin{document}
      {\mytime   \test}\par
      {\myxits   \test}\par
      {\mytime\bfseries \test}\par
      {\myxits\bfseries \test}\par
      {\mytime\itshape  \test}\par
      {\myxits\itshape  \test}\par
      {\mytime\bfseries\itshape \test}\par
      {\myxits\bfseries\itshape \test}
    \end{document}
    我认为一般人认不出有什么区别
    当然,考虑到格式检查系统,西文估计是改不了了(我还挺好奇 mac/思源的宋体能不能过审)
@sikouhjw
Copy link
Contributor Author

  • 我不太明白为什么不直接用 gbt7714 宏包,模板的 bst 经常出问题的感觉

@sikouhjw
Copy link
Contributor Author

  • zhlineskip 宏包设置行距,原因:可以避免数学公式内出现不正常的间距
    \documentclass{article}
    \usepackage{amsmath}
    \linespread{1.391}
    \begin{document}
    $\begin{pmatrix}
      T_1 & T_2
    \end{pmatrix}$
    \end{document}

@sikouhjw
Copy link
Contributor Author

sikouhjw commented Mar 12, 2021

@bdebye
Copy link
Owner

bdebye commented Mar 13, 2021

gbt7714跟学校的规范有出入,而且他的条目定义跟主流的数据库引用格式不一样,没法直接复制。

@bdebye
Copy link
Owner

bdebye commented Mar 13, 2021

格式检查系统只是参考吧,我记得最终还是看审查员的结论。

@sikouhjw
Copy link
Contributor Author

* 用 `zhlineskip` 宏包设置行距,原因:可以避免数学公式内出现不正常的间距
  ```
  \documentclass{article}
  \usepackage{amsmath}
  \linespread{1.391}
  \begin{document}
  $\begin{pmatrix}
    T_1 & T_2
  \end{pmatrix}$
  \end{document}
  ```

补充:还会影响到 H 选项浮动体中的表格的行距

@sikouhjw
Copy link
Contributor Author

补充:还会影响到 H 选项浮动体中的表格的行距

临时解决方法:

\AtBeginEnvironment{figure}{\linespread{1}}

@sikouhjw
Copy link
Contributor Author

sikouhjw commented Mar 22, 2021

  • 目录:

    • 本科毕业设计(论文)管理办法.doc 规定

      章标题不缩进,一级节标题缩进2个半角空格,二级节标题缩进4个半角空格,三级节标题缩进6个半角空格。

    • 12.电子科技大学学士学位论文撰写范例.docx 显示效果同模板现状相同

    有人提出格式审查会有问题,我感觉这里也可以加个选项,是同规定一样还是同范例一样
    临时解决方法(同规定一样):

    \cftsetindents{section}{12pt}{22pt}
    \cftsetindents{subsection}{24pt}{31pt}
    \cftsetindents{subsubsection}{36pt}{41pt}

@sikouhjw
Copy link
Contributor Author

  • 页边距:
    页边距严格意义上不是完全按照要求的:

    页边距上下左右:30mm,页眉、页脚距边界:20mm

    参考了一下 chinathesis 项目,他是这么解释的:

    页面设置:上、下 2.54 cm,左、右 3.17 cm,页眉 1.5 cm,页脚 1.75 cm。
    注意这里指的是页眉顶部到纸张顶部的距离为 1.5 cm,所以应该是 2.54cm - 0.8cm - 0.24cm = 1.5cm

    因此,严格按照规定的代码为

    \documentclass{article}
    \usepackage{geometry}
    \geometry{
      paper       = a4paper,
      margin      = 30mm,
      footskip    = 10mm,
      headheight  = 0.75cm,
      headsep     = 0.25cm,
      showframe,
    }
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \fancyhf{}
    \fancyfoot[C]{1}
    \fancyhead[C]{1}
    \renewcommand{\headrulewidth}{0pt}
    \begin{document}
      test
    \end{document}

    在模板导言区添加

    \geometry{
      paper       = a4paper,
      margin      = 30mm,
      footskip    = 10mm,
      headheight  = 0.75cm,
      headsep     = 0.25cm,
    }

    即可

@bdebye
Copy link
Owner

bdebye commented Mar 25, 2021

我找时间改一下。

@sikouhjw
Copy link
Contributor Author

sikouhjw commented Apr 8, 2021

  • \floatcontinue 的用法
    subfig 宏包中的例子是两个浮动体都需要 \caption,不然会导致引用出现问题
    MWE:
    \documentclass[master]{thesis-uestc}
    \begin{document}
    \chapter{test}
    \ref{1}\ref{2}\ref{3}\ref{4}
    \begin{figure}
      \subfloat[]{\label{1}
        \includegraphics{example-image.pdf}
      }
    
      \subfloat[]{\label{2}
        \includegraphics{example-image.pdf}
      }
      % \caption{}
      \floatcontinue
      \subfloat[]{\label{3}
        \includegraphics{example-image.pdf}
      }
      \caption{test}\label{4}
    \end{figure}
    \end{document}
    最好在 README.md 里面加上这个说明

@zepinglee
Copy link

gbt7714跟学校的规范有出入,而且他的条目定义跟主流的数据库引用格式不一样,没法直接复制。

哪些条目的定义跟主流的数据库引用格式不一样?

@sikouhjw
Copy link
Contributor Author

gbt7714跟学校的规范有出入,而且他的条目定义跟主流的数据库引用格式不一样,没法直接复制。

哪些条目的定义跟主流的数据库引用格式不一样?

最新规范已经让用 GB/T 7714-2015 了,这个 issue 可能没太大意义了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants