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
Iterations
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
NJU LUG
NJU LaTeX Templates
NJUThesis
Commits
61394369
Commit
61394369
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
docs: 更新README
parent
664ed1ef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+17
-15
17 additions, 15 deletions
README.md
with
17 additions
and
15 deletions
README.md
+
17
−
15
View file @
61394369
...
...
@@ -12,10 +12,21 @@
## 快速开始
从0.9.0版以后,本模板以
`.dtx`
格式发布,同时在release区提供cls文件。
### 使用`.dtx`文件
`.dtx`
合并了LaTeX源代码和文档,更有利于宏包的发布。要使用该文件,请在当前工作目录下打开终端:
-
输入
`xetex njuthesis.ins`
以解出常规使用的
`.cls`
文件
-
输入
`latexmk -pv njuthesis.dtx`
以生成并查看内置的文档
请注意,目前由于文件重名原因,编译论文模板与生成说明文档得到的PDF文件会冲突,只能保留一个。
### 本地编译
1.
推荐
[
从南大镜像站下载
](
https://mirror.nju.edu.cn/download/app/TeX%20%E6%8E%92%E7%89%88%E7%B3%BB%E7%BB%9F
)
并安装TeXLive或者MiKTeX最新版
2.
下载
[
模板全部文件
](
https://github.com/nju-lug/NJUThesis/releases/latest
)
2.
从release下载包含
[
模板全部文件
](
https://github.com/nju-lug/NJUThesis/releases/latest
)
的压缩包
3.
根据需要更改
`njuthesis.tex`
文件中的内容
4.
在模板根目录下运行
`latexmk -xelatex`
编译文件,得到对应的PDF
...
...
@@ -28,32 +39,23 @@
### [南大TeX](https://tex.nju.edu.cn)编译
1.
下载
[
模板全部文件
](
https://github.com/nju-lug/NJUThesis/releases/latest
)
2.
登录
[
南大TeX
](
https://tex.nju.edu.cn
)
,点击New Project -> Upload Project上传刚刚得到的zip文件,上传后
`njuthesis.tex`
、
`njuthesis.cls`
等文件应在根目录,目录结构如下所示:
1.
从release下载包含
[
模板全部文件
](
https://github.com/nju-lug/NJUThesis/releases/latest
)
的压缩包
2.
登录
[
南大TeX
](
https://tex.nju.edu.cn
)
,点击New Project -> Upload Project上传刚刚得到的zip文件,上传后
`njuthesis.tex`
、
`njuthesis.cls`
等文件应在根目录,
0.9.0以后的
目录结构如下所示:
```
ba
sh
```sh
ell
NJUThesis-master/
│
├─figure/
│ njulogo.pdf
│ njuname.pdf
│
├─profile/
│ abstract.sty
│ components.sty
│ cover.sty
│ font.sty
│ packages.sty
│ page.sty
│ reference.sty
│
│ njuthesis.bib
│ njuthesis.cls
│ njuthesis.tex
```
3.
在南大TeX项目内页面左上角的
`Menu`
中,将编译器改为
`XeLaTeX`
4.
编写
tex
文档
4.
编写
TeX
文档
### 其他
...
...
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