Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NJUThesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wendi Zheng
NJUThesis
Commits
99e27235
Commit
99e27235
authored
3 years ago
by
mc
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/nju-lug/NJUThesis
parents
1b623ef5
99975559
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+2
-4
2 additions, 4 deletions
README.md
njuthesis-logos.dtx
+3
-3
3 additions, 3 deletions
njuthesis-logos.dtx
njuthesis.dtx
+47
-23
47 additions, 23 deletions
njuthesis.dtx
with
52 additions
and
30 deletions
README.md
+
2
−
4
View file @
99e27235
...
...
@@ -45,10 +45,8 @@ DocStrip格式合并了LaTeX源代码和说明文档,更有利于宏包的发
```shell
NJUThesis-master/
│
├─figure/
│ njulogo.pdf
│ njuname.pdf
│
│ njulogo.tikz
│ njuname.tikz
│ njuthesis.bib
│ njuthesis.cls
│ njuthesis-sample.tex
...
...
This diff is collapsed.
Click to expand it.
njuthesis-logos.dtx
+
3
−
3
View file @
99e27235
...
...
@@ -25,9 +25,10 @@
%
% \begin{implementation}
%
% \section{
代码实现
}
% \
sub
section{
南大徽标
}
%
% 以下为南京大学校徽及校名
% 以下为南京大学校徽及校名。矢量图来自南京大学视觉形象规范化标准,可以从校长办公室的
% \href{https://xiaoban.nju.edu.cn/c7/7b/c684a509819/page.psp}{相关页面}下载。
%
% \begin{macrocode}
%<*njulogo>
...
...
@@ -69,7 +70,6 @@
%</njulogo>
% \end{macrocode}
%
%
% \begin{macrocode}
%<*njuname>
\def \globalscale {1.000000}
...
...
This diff is collapsed.
Click to expand it.
njuthesis.dtx
+
47
−
23
View file @
99e27235
...
...
@@ -72,10 +72,8 @@ DocStrip格式合并了LaTeX源代码和说明文档,更有利于宏包的发
```shell
NJUThesis-master/
│
├─figure/
│ njulogo.pdf
│ njuname.pdf
│
│ njulogo.tikz
│ njuname.tikz
│ njuthesis.bib
│ njuthesis.cls
│ njuthesis-sample.tex
...
...
@@ -177,10 +175,9 @@ through XeTeX.
%<*install>
\usedir{doc/latex/njuthesis}
\nopreamble\nopostamble
\file{README_EN.md} {\from{\jobname.dtx}{readme-en}}
\file{njuname.tikz} {\from{\jobname-logos.dtx}{njulogo}}
\file{njulogo.tikz} {\from{\jobname-logos.dtx}{njuname}}
\file{README.md} {\from{\jobname.dtx}{readme-zh}}
\file{njuname.tikz} {\from{\jobname-logos.dtx}{njulogo}}
\file{njulogo.tikz} {\from{\jobname-logos.dtx}{njuname}}
}
\obeyspaces
...
...
@@ -191,6 +188,8 @@ through XeTeX.
\Msg{* *}
\Msg{* The recommended directory is TDS:tex/latex/njuthesis *}
\Msg{* *}
\Msg{* njulogo.tikz *}
\Msg{* njuname.tikz *}
\Msg{* njuthesis.cls *}
\Msg{* njuthesis.ins *}
\Msg{* README.md *}
...
...
@@ -441,21 +440,36 @@ through XeTeX.
%
% \section{使用方法}
%
% \subsection{
模板选项
}
% \subsection{
标准结构
}
%
%
尖括号内列出了若干个允许的选项,其中加粗的为默认选项。
%
典型的\cls{njuthesis}主文件结构应该如下所示:
%
% 封面标题留空即可自动化换行
% \begin{ctexexam}
% \documentclass[<options>]{njuthesis}
% \njusetup { info = {<info>} }
% \graphicspath{{figure/}}
% \addbibresource{njuthesis.bib}
% \begin{document}
% \maketitle
% <abstract>
% <preface>
% \tableofcontents
% \listoffigures
% \listoftables
% \mainmatter
% <text>
% \printbibliography[heading=bibintoc,title=参考文献]
% <acknowledgement>
% \appendix
% <appendix>
% \end{document}
% \end{ctexexam}
%
%
第二导师不填则留空,目前来说拥有两位指导老师并不是一种普遍状况。
%
\subsection{模板选项}
%
% \begin{function}[added=2021-09-07]{nlcover}
% \begin{syntax}
% nlcover = <\TTF>
% \end{syntax}
% 模板选项位于|\documentclass|后的方括号内,用于指定模板的行为。
% 下文中尖括号内列出了若干个允许的选项,其中加粗的为默认选项。
%
% 通过此项可选择是否添加国家图书馆封面,本选项仅对于研究生有效
% \end{function}
%
%
% \subsubsection{学位信息}
...
...
@@ -467,7 +481,14 @@ through XeTeX.
% 选择学位,可选:
% \opt{ug}(默认本科),\opt{mg}即学术硕士,\opt{mf},\opt{phd}。
% \end{function}
%
%
% \begin{function}[added=2021-09-07]{nlcover}
% \begin{syntax}
% nlcover = <\TTF>
% \end{syntax}
%
% 通过此项可选择是否添加国家图书馆封面,本选项仅对于研究生有效
% \end{function}
%
% \begin{function}[added=2021-09-07]{type}
% \begin{syntax}
...
...
@@ -579,6 +600,10 @@ through XeTeX.
%
% 本科生可以参考如下列表输入个人信息。注意不能有空行,有空格的内容需要将空格替换为波浪线或者两端加上大括号
%
% 封面标题留空即可自动化换行。
%
% 第二导师不填则留空,目前来说拥有两位指导老师并不是一种普遍状况。
%
% \begin{ctexexam}
% \njusetup {
% info = {
...
...
@@ -668,7 +693,7 @@ through XeTeX.
%
% \subsubsection{图片}
%
% 所有图片默认存放在主目录下的\texttt{figure/}文件夹内,允许的文件名包括\file{*.jpg}, \file{*.png}, \file{*.pdf}, \file{*.eps}。
可以
在导言区通过以下命令添加图片存放路径。
% 所有图片默认存放在主目录下的\texttt{figure/}文件夹内,允许的文件名包括\file{*.jpg}, \file{*.png}, \file{*.pdf}, \file{*.eps}。
使用自己的图片时,需要
在导言区通过以下命令添加图片存放路径。
%
% \begin{ctexexam}
% \graphicspath{{img/}{images/}}
...
...
@@ -820,7 +845,6 @@ through XeTeX.
% \end{englishabstract}
% \end{ctexexam}
%
% 在使用\hologo{LuaLaTeX}编译时,研究生中文摘要页的标题会出现空格无下划线的问题,目前正在积极寻求解决方法。
%
% \subsubsection{前言页}
%
...
...
@@ -2239,7 +2263,7 @@ through XeTeX.
\thispagestyle{empty}
\pagenumbering{Roman}
% Start
\pdfbookmark{封面}{
封面
} % 将封面插入pdf书签
\pdfbookmark{封面}{
cover
} % 将封面插入pdf书签
\begin{spacing}{1.25}
\vskip 0mm
\hspace{-10mm}
...
...
@@ -2274,7 +2298,7 @@ through XeTeX.
\thispagestyle{empty}
\pagenumbering{Roman}
% Start
\pdfbookmark{封面}{
封面
} % 将封面插入pdf书签
\pdfbookmark{封面}{
cover
} % 将封面插入pdf书签
\begin{spacing}{1.25}
\begin{center}
\hspace{0pt} \vskip 5mm
...
...
@@ -2329,7 +2353,7 @@ through XeTeX.
\cs_new_protected:Npn \@@_print_cover_en:
{
\thispagestyle{empty}
\pdfbookmark{英文封面}{
English~
cover} % 将封面插入pdf书签
\pdfbookmark{英文封面}{cover
-en
} % 将封面插入pdf书签
\begin{center}
\vspace*{20pt}
\bf\sffamily\zihao{2}\l_@@_info_title_en_tl
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment