Giter Site home page Giter Site logo

nwpumetaphysicsoffice / yet-another-latex-template-for-npu-thesis Goto Github PK

View Code? Open in Web Editor NEW
318.0 8.0 82.0 23.36 MB

西北工业大学硕博学位论文模版 | Yet Another Thesis Template for Northwestern Polytechnical University

Home Page: https://nwpumetaphysicsoffice.github.io/Yet-Another-LaTeX-Template-for-NPU-Thesis/

License: GNU General Public License v3.0

TeX 98.46% Makefile 0.78% Shell 0.31% Python 0.42% Dockerfile 0.04%
npu-thesis thesis-template latex latex-template phd-thesis master-thesis nwpu-metaphysics-office thesis

yet-another-latex-template-for-npu-thesis's People

Contributors

cfrpg avatar congzhuofang avatar itf0x avatar kidozh avatar likunyao avatar polossk avatar wayne17 avatar wilmerwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yet-another-latex-template-for-npu-thesis's Issues

[Suggestion]Abstract page header is not correct

In your template:
image
In the Standers:
image

And it will be much more thanks if a brief introduction for phd and master thesis change is provided !

And Thanks for all your works. It's very useful for me. Thanks you!

Best regard!

[BUG]Mac上编译报错,应该是字体原因,不知道怎么解决

编译报错

报错信息:
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:128: Undefined control sequence. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:128: Undefined control sequence. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:128: Undefined control sequence. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:128: Package fontspec Error: The font "" cannot be found. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:129: Undefined control sequence. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:129: Undefined control sequence. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:129: Undefined control sequence. [...ltKai, BoldFont=\defaultHei]{\defaultSog}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:131: Undefined control sequence. [\setmonofont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Package fontspec Error: The font "" cannot be found. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:132: Undefined control sequence. [\setmainfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Package fontspec Error: The font "" cannot be found. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:134: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:135: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:136: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:137: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:138: Undefined control sequence. [\setCJKfamilyfont]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/settings/thesis-setting.tex:140: Undefined control sequence. [\newcommand]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/coverpage.tex:6: Package fontspec Error: The font "" cannot be found. [^^I^^I\fHei]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/coverpage.tex:21: Package fontspec Error: The font "" cannot be found. [^^I^^I\fSong]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/coverpage.tex:65: Package fontspec Error: The font "" cannot be found. [^^I^^I\sSanhao\fKai]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/coverpage.tex:81: Package fontspec Error: The font "" cannot be found. [...R{20XX}\fSong{年}\fTNR{X}\fSong{月}} \hfill}]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Undefined control sequence. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/frontmatter/frontpage_eng.tex:8: Package fontspec Error: The font "" cannot be found. [^^I^^I^^I\sSanhao]
/Users/Desktop/Yet-Another-LaTeX-Template-for-NPU-Thesis/chapters/chapter01.tex:31: Package fontspec Error: The font "" cannot be found. [...$,超高公式会被压缩$\frac{1}{2}=0.5$或者使用\lstinline`]

分析了一下:是字体原因,但是不知道怎么解决。。

[BUG] 中文姓名在英文版封面显示为方框

描述您的问题 (Describe the bug)

中文姓名在英文版封面显示为方框

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):master分支最新版本6118d50
  2. 操作系统 (OS):overleaf
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):overleaf-TexLive 2019
  4. Tex 编译器 (Tex compiler, eg. XeTeX): XeLaTeX

可复现内容 (Reproduceable steps)

document.tex\authorname使用中文姓名。
frontpage_eng.tex会在作者一栏显示方框。

可能的解决方案 (Possible fix)

Add a new defined command: \newcommand{\authornameeng}{SomeBody} and let frontpage_eng.tex use \authornameeng.

[BUG] 中文封面“题目”二字应为一号大小

描述您的问题 (Describe the bug)

中文封面“题目”二字应为一号大小

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):master-6118d50
  2. 操作系统 (OS):Overleaf
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):Overleaf-2019
  4. Tex 编译器 (Tex compiler, eg. XeTeX): XeLaTeX

错误内容 (Error contents)

根据西北工业大学博士研究生学位论文编写规则(试用版),中文封面“题目”二字字号应为26,即一号。

当前版本为二号大小。

[Suggestion]关于section和subsection以及subsubsection的编号没有左对齐的问题

关于section和subsection以及subsubsection的编号没有左对齐的问题。
正常编译之后发现小标题(如:1.2 国内外研究现状,1.2.1 xxxx)没有左对齐。
经过测试,发现cls文件第169行的命令\titleformat{\section}[hang]{\sffamily\fHei\sSihao}{\sffamily\fHei\sSihao\thesection}{0.5em}{}{}被写成了两行,即多了一个回车(subsection和subsubsection同理)。将回车删除之后编译,即可左对齐。

[Suggestion]建议收容所有需要的字体,linux下一般无预装字体

欢迎您对PaddlePaddle提出建议,非常感谢您对PaddlePaddle的贡献!
在留下您的建议时,辛苦您同步提供如下信息:

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):
  4. Tex 编译器 (Tex compiler, eg. XeTeX):

你的建议是否和一个已知问题有关 (Is your feature request related to a problem? Please describe.)
简洁、精准的概括您的问题(A clear and concise description of what the problem is. Ex. I'm always frustrated when [...])

告诉我们你想要的解决方案(Describe the solution you'd like)
简介而精准的告诉我们你想要怎么样 (A clear and concise description of what you want to happen.)

告诉我们你想到的其他替代方案(Describe alternatives you've considered)
简介而精准的告诉我们其他替代方案 (A clear and concise description of any alternative solutions or features you've considered.)

其他信息(Additional context)
添加有关这个建议的其他信息,例如截图(Add any other context or screenshots about the feature request here.)

[BUG]TexLive 2021下xelatex编译报错" LaTeX Error: Command \CJKglue already defined"

使用最新的1.5.3模板,在win10下使用texlive2021编译时出错。

! LaTeX Error: Command \CJKglue already defined. Or name \end... illegal, see p.192 of the manual.

尝试参考"CJKnumb 不再可用",似乎是xeCJK与CJKnumb产生了冲突。做了以下尝试:

  1. 将settings/thesis-setting设置中文字体的\usepackage{CJKnumb}更换为\RequirePackage{CJKnumb}错误依然存在;
  2. 将\usepackage{CJKnumb}注释后,xelatex可以顺利编译;但不知道CJKnumb的功能是否保留?
  3. 将CJKnumb更换为zhnumber,xelatex可以正常编译;但不知道功能是否正常?

摘要和目录的页码

你好,摘要和目录的页码应该是罗马数字大写,tex文件中是大写Roman,但是生成的pdf文件是小写

[Suggestion]上下页边距不满足要求

模板中设置的上下边距为2.54cm,但是打印出来上边距偏大3cm下边距小2cm。
请问有没有遇到这种问题?

windows环境,texstudio,xelatex编译

sublime 上运行不了

运行document.tex 文件会出现 CJKnumb.sty:67: Undefined control sequence. [\CJKaddEncHook] 这个错误,请问怎么解决?
image

[BUG]标题数字部分也应该黑体吧

示例给的是黑体,包括英文部分(数字)。
3.5.1 标题
一级标题:黑体,三号,段前0.5行,段后0行,固定行间距20pt。编辑时,在一级标题前、后各留一空行(宋体,小四号,单倍行距)。
二级标题:黑体,四号,段前0.5行,段后0行,固定行间距20pt。
三级标题:黑体,小四号,段前0.5行,段后0行,固定行间距20pt。

mac版本字体问题

作者您好:
这个模版是不是没有考虑mac os的兼容问题。我编译过程遇到字体问题。对于字体选择这块我不是很懂,如果我自己想操作的话,是不是需要自己把字体拷贝过来。然后具体改thesis-setting的哪一块,谢谢您!

插入算法问题,文本复制问题[BUG]

我使用macOS 12.0.1,使用TexPad软件,XeLaTeX,碰到两个问题

  1. 使用\usepackage{algorithm}和\usepackage{algpseudocode}两个包后,\State正常,无法使用while/if/for,示例代码:
    \renewcommand{\algorithmicrequire}{\textbf{Input:}}
    \renewcommand{\algorithmicensure}{\textbf{Output:}}
    \begin{algorithm}[h]
    \caption{Operating process}
    \begin{algorithmic}[1]
    \Require $N_p$.
    \Ensure $\mathcal{H}$.
    \State {Definition of the function}
    \While {not terminated}
    \State {$fitness$}
    \For {Each individual}
    \State {$fitness$}
    \EndFor
    \State {execute}
    \EndWhile
    \Return {$\mathcal{H}$}
    \end{algorithmic}
    \end{algorithm}

报错为
./chapters/chapter04.tex:151: Missing number, treated as zero.

\ALG@b@2@EndFor@0
l.151 \EndFor

  1. 不加伪代码,可正常编译为PDF,但复制PDF中的字出来是乱码,例如复制PDF中“基于”二字,复制结果为“ะӄ”。

补充:参考 https://www.zhihu.com/question/32207411/answer/334313251 后,在coverpage插入了一个全角空格,文中宋体可以正常复制了,但楷体和黑体无论是否加粗都仍旧复制出乱码。
有意思的一点是,coverpage中“学校代码”等几个字可以正常复制。求大佬定位问题!

感谢大佬!

[BUG] Reference is not correct

In your method:
image

In the Standard:
image
image

Hello developer : I found a few bugs in reference:
Journal(in bibtex:article) and Phd thesis(in bibtex:phdthesis) is very important for fix,but 学位论文thesis\会议论文conference paper\专利pattern\研究报告research paper\专著book requires a location in the reference which is not support in bibtex, which can be avoid as ref the author's paper.

So my only request is fit the journal's reference in standard:

  1. et al should have a comma in the frount.
  2. there have a space
    image
  3. That's all! Thanks!

I give you my reference:

@Article{sajadi20193d,
title={3D printed tubulanes as lightweight hypervelocity impact resistant structures},
author={Sajadi, Seyed Mohammad and Woellner, Cristiano F and Ramesh, Prathyush and Eichmann, Shannon L and Sun, Qiushi and Boul, Peter J and Thaemlitz, Carl J and Rahman, Muhammad M and Baughman, Ray H and Galv{~a}o, Douglas S and others},
journal={Small},
volume={15},
number={52},
pages={1904747},
year={2019},
publisher={Wiley Online Library}
}
@Article{cai2020adaptive,
title={An adaptive bubble method for structural shape and topology optimization},
author={Cai, Shouyu and Zhang, Weihong and Yang, Chen},
journal={Computer Methods in Applied Mechanics and Engineering},
volume={360},
number={52},
pages={112778},
year={2020},
publisher={Elsevier}
}

[BUG]硕士论文格式不对

硕士论文格式调不出来,初步认为是因为cls文件里面mst勿敲为了全称master

32-34行应为:
\def\set@type@mst{@NPU@type@phdfalse@npu@type@msttrue@npu@type@bclfalse}
\def\set@type@bcl{@NPU@type@phdfalse@npu@type@mstfalse@npu@type@bcltrue}

感谢作者的模板!

[BUG] proof使用proof命令时报错

在Mac OS系统下使用Tex Live 2021编译,证明环境无法使用。
错误提示为

Undefined control sequence.
\\proof [#1]->\par \pushQED 

复现代码

\begin{proof}
    证明内容
\end{proof}

如果证明环境这段代码注释掉,则能够正常编译通过。

\renewenvironment{proof}[1][\proofname]{\par  % 证明环境
    \normalfont\topsep{0pt}\partopsep{0pt}\trivlist\item[   %
        \hspace{5\labelsep}\strong #1\@addpunct{:}          %
    ]\ignorespaces}{\popQED\endtrivlist\@endpefalse}        %

如果是需要添加什么包,或者使用命令的使用方式不对,请告知,多谢!

[BUG]中文摘要后没有空白页

描述您的问题 (Describe the bug)

简洁、精准的概括您的问题(A clear and concise description of what the bug is.)例如:“在Mac OS系统下使用Tex Live 2019编译失败”

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):
  4. Tex 编译器 (Tex compiler, eg. XeTeX):

错误内容 (Error contents)

如果您能提供错误信息(比如编译器),请在此粘贴 (Provide the error information if you could)

可复现内容 (Reproduceable steps)

请详细描述您的问题,同步贴出报错信息、日志、可复现的代码片段 (Describe your current behavior and code to reproduce the issue)

** 附加内容 (Other info, bugs and logs)**

如果您对于此BUG有何见解或者有一些附加信息,请在此键入(Tell us your hints and thought about the bug)

符号表的问题

您好!我看您里面的sample文件里面有符号表,但是我用latex编译后,编译后的pdf就没有符号表。

[BUG] 英文封面部分内容没有按要求加粗

描述您的问题 (Describe the bug)

Overleaf下英文封面部分没有加粗。

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):master-6118d50
  2. 操作系统 (OS):Overleaf
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):2019
  4. Tex 编译器 (Tex compiler, eg. XeTeX): XeLaTeX

错误内容 (Error contents)

Overleaf下英文封面部分没有加粗。

可复现内容 (Reproduceable steps)

fontpage_eng.tex中重复定义了\setmainfont{\defaultEngFont}。在Overleaf中,为了使英文可加粗,需要修改thesis-setting.tex\setmainfont{\defaultEngFont}\setmainfont[BoldFont=timesbd.ttf]{\defaultEngFont}以使用上传到Overleaf的粗体罗马英文字体。frontpage_eng.tex中重复定义了\defaultEngFont,故覆盖了全局设定,造成英文封面无法加粗英文。

可能的解决方案:frontpage_eng.tex中注释掉相关部分。

[BUG]按照readme说明,编译硕士论文失败

描述您的问题 (Describe the bug)
按照readme说明,将degree=phd改为degree=mst后,编译的pdf仍然为博士论文的版本

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):macOS
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):MacTex
  4. Tex 编译器 (Tex compiler, eg. XeTeX): XeLaTex

** 附加内容 (Other info, bugs and logs)**

在yanputhesis.cls中的31-33行中定义如下
\def\set@type@phd{ @NPU@type@phdtrue@npu@type@mstfalse@npu@type@bclfalse}
\def\set@type@master{ @NPU@type@phdfalse@npu@type@msttrue@npu@type@bclfalse}
\def\set@type@bachelor{@NPU@type@phdfalse@npu@type@mstfalse@npu@type@bcltrue}

所以在tex文件中应该使用degree=master来生成硕士学位论文

[BUG] 单页页眉格式问题

*单页页眉编译出来的格式为 1 1. 章节标题

单页页眉编译出来的格式为 1 1. 章节标题。多了一个1. ”

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):win10
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):tex live 2020
  4. Tex 编译器 (Tex compiler, eg. XeTeX): xelatex

单页页眉编译出来的格式为“1 1. 章节标题”。多了一个1. 但是你们的原版pdf是没有这个1. 的,请问是什么问题啊。

[Suggestion] 关于英文部分的逗号问题及名单问题

  1. Xi’an P. R. China 按照手册,应该没有逗号
  2. 学位论文一般由十一个部分组成,依次为:1.封面;2.中文、英文题名页;3.评阅人和答辩委员会名单;4.中文、英文摘要;5.目录页;6.正文;7.参考文献;8.附录;9.致谢;10.在学期间发表的学术成果和参加科研情况;11.声明。 第三部分没有

[BUG]CTEX无法运行

win11 使用ctex2.9无法成功编译

报错信息、日志、可复现的代码片段 (Describe your current behavior and code to reproduce the issue)*(Xelatex)
! Undefined control sequence.
l.263 \theorempreskip
{0pt}

使用\bibliographystyle{nputhesis-noslash}依然无法去掉参考文献中的双斜杠

描述您的问题 (Describe the bug)

简洁、精准的概括您的问题(A clear and concise description of what the bug is.)例如:“在Mac OS系统下使用Tex Live 2019编译失败”

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):
  4. Tex 编译器 (Tex compiler, eg. XeTeX):

错误内容 (Error contents)

如果您能提供错误信息(比如编译器),请在此粘贴 (Provide the error information if you could)

可复现内容 (Reproduceable steps)

请详细描述您的问题,同步贴出报错信息、日志、可复现的代码片段 (Describe your current behavior and code to reproduce the issue)

** 附加内容 (Other info, bugs and logs)**

如果您对于此BUG有何见解或者有一些附加信息,请在此键入(Tell us your hints and thought about the bug)

[Suggestion] Check out a new branch working for Overleaf

在留下您的建议时,辛苦您同步提供如下信息:

  1. 代码版本(Code version)(留空则默认最新):master分支最新版本
  2. 操作系统 (OS):Overleaf
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):2020
  4. Tex 编译器 (Tex compiler, eg. XeTeX): XeLaTex

你的建议是否和一个已知问题有关 (Is your feature request related to a problem? Please describe.)
No

告诉我们你想要的解决方案(Describe the solution you'd like)
Checkout a new branch, for example, whose name is overleaf. Do some necessary changes to make it work for Overleaf. Keep the style same as that produced by a local TeX system on a local machine.

Overleaf is really a good platform widely used by researchers. I believe that a lot of Ph.D. candidates are using it to draft their thesis. The necessary changes should be minimal. For example, in order to use FangSong, you need to set \newcommand\defaultSog{simsun.ttc} with the font file simsun.ttc uploaded to Overleaf. The master branch now is \newcommand\defaultSog{SimSun}. Overleaf does not understand what SimSun is.

告诉我们你想到的其他替代方案(Describe alternatives you've considered)
简介而精准的告诉我们其他替代方案 (A clear and concise description of any alternative solutions or features you've considered.)

Of course, if you choose not to provide such a solution for Overleaf users, they could make their own changes to adapt to Overleaf. That is OK.

I do think Overleaf version is necessary. And it is not hard.

其他信息(Additional context)
添加有关这个建议的其他信息,例如截图(Add any other context or screenshots about the feature request here.)

[BUG]如何修改学位

描述您的问题 (Describe the bug)

在tex中修改degree=bcl或mst,生成的pdf仍然是博士学位论文。

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):windows
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):2022
  4. Tex 编译器 (Tex compiler, eg. XeTeX): xelatex

可复现内容 (Reproduceable steps)

修改了.tex初始语句,\documentclass[lang=chs, degree=bcl, blindreview=false, adobe=true]{yanputhesis},生成的pdf仍然是博士学位论文。

** 附加内容 (Other info, bugs and logs)**

可能还需要同步修改yanputhesis.cls的格式内容?

摘要代码不熟悉误报

描述您的问题 (Describe the bug)
英文摘要的空行被编译为大段无意义文字

环境与版本信息

  1. 代码版本(Code version)(留空则默认最新):
  2. 操作系统 (OS):win10
  3. Tex Live版本,其他Tex版本也请注明 (Version of Tex Live or other Tex distribution):2020
  4. Tex 编译器 (Tex compiler, eg. XeTeX):

错误内容 (Error contents)

无报错

可复现内容 (Reproduceable steps)

可参考原来模板和readme.md中的英文摘要的示例,原代码中英文摘要处无实际内容
Snipaste_2022-12-08_13-31-08
然而/blindtext编译出一段无意义文字
Snipaste_2022-12-08_13-27-41

** 附加内容 (Other info, bugs and logs)**

[BUG] 页眉编号有误?大概

页眉部分编译后会出现章节编号重复。

比方说绪论,编译之后页眉显示“1 1. 绪论”,尝试编辑cls页眉块,失败了T_T

总之就是,前面的章节编号显示两遍,“2 2. 相关知识”。类似这种。

章节数字+空格+章节数字+.+章节标题。

此外不知道是不是我的问题,win10环境,adobe song std字体无法编译,所以在document里面改为adobe=false。因为下载下来的adobe song std字体都是叫做adobe song std light。编译会出现一些符号already defined或者缺少adobe song std。
如果可以的话,希望提供一些指导。

感谢你们的工作,latex比word好用多了!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.