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
92a28326
Commit
92a28326
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
chore: 修改编译配置文件
parent
40dc7ab9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
latexmkrc
+11
-1
11 additions, 1 deletion
latexmkrc
njuthesis.dtx
+32
-12
32 additions, 12 deletions
njuthesis.dtx
with
43 additions
and
13 deletions
latexmkrc
+
11
−
1
View file @
92a28326
...
...
@@ -9,7 +9,17 @@ $bibtex_use = 1.5;
$clean_ext
=
"
hd loe ptc run.xml synctex.gz thm xdv
";
$makeindex
=
"
makeindex -s gind.ist %O -o %D %S
";
$makeindex
=
"
makeindex %O -s gind.ist -o %D %S
";
add_cus_dep
('
glo
','
gls
',
0
,'
makeindex
');
sub
makeindex
{
if
(
$silent
)
{
system
(
"
makeindex -q -s gglo.ist -o
\"
$_
[0].gls
\"
\"
$_
[0].glo
\"
"
);
}
else
{
system
(
"
makeindex -s gglo.ist -o
\"
$_
[0].gls
\"
\"
$_
[0].glo
\"
"
);
};
}
$makeindex_silent_switch
=
"
-q
";
add_cus_dep
('
nlo
',
'
nls
',
0
,
'
nlo2nls
');
sub
nlo2nls
{
...
...
This diff is collapsed.
Click to expand it.
njuthesis.dtx
+
32
−
12
View file @
92a28326
...
...
@@ -207,12 +207,12 @@ through XeTeX.
%
%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\RequirePackage{expl3}
%<
class>
\GetIdInfo $Id: njuthesis.dtx 0.9.0 2020-09-14 12:00:00 +0800 NJU LUG <my@yaoge123.com> $
%<
!readme>
\GetIdInfo $Id: njuthesis.dtx 0.9.0 2020-09-14 12:00:00 +0800 NJU LUG <my@yaoge123.com> $
%<class> {Thesis template for Nanjing University}
%<class>\ProvidesExplClass{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
%
%<*driver>
\ProvidesFile{
\ExplFileName
.dtx}
\ProvidesFile{
njuthesis
.dtx}
\documentclass{ctxdoc}
\begin{document}
\DocInput{njuthesis.dtx}
...
...
@@ -332,26 +332,46 @@ through XeTeX.
% 各个系统的默认字体请参考{tab:defaultfontset}。可以看到,不同系统上使用的字体有所差别,实际输出结果可能存在细微不同, 使用时请注意。例如,在Linux平台或者使用了Ubuntu后端的南大\hologo{TeX}上,宋体加粗效果更明显;另一方面,在Windows平台进行编译的效果更接近Word加粗\footnote{因为SimSun没有原生粗体,通过AutoFakeBold=2.17进行模仿}。
%
%
% \section{
Usage
}
% \section{
使用方法
}
%
% Put text here.
% \subsubsection{格式信息}
% 用于控制封面标题的行数。可选值为1、2、3,缺省值为1。
%
% {第二导师}
% 用于在封面和摘要添加第二导师,缺省值为false。
%
% {国家图书馆封面}
% 缺省值为false。
%
% \subsubsection{学位信息}
% \begin{function}[added=2021-09-07]{type}
% \begin{syntax}
% type = <mg|mf|phd|(ug)>
% \end{syntax}
%
% \subsection{学位}
% \DescribeOption{degree}
% 选择学位,可选:
% -option{ug}(默认),-option{mg},-option{mf},-option{phd}。
% \opt{ug}(默认本科),\opt{mg},\opt{mf},\opt{phd}。
% \end{function}
%
%
% \subsection{类型}
% \DescribeOption{type}
%
选择学位,可选:
%
-
opt
ion
{thesis}(默认),
-
opt
ion
{design}。
%
用于选择文档类型并将相关字段输出在封面和摘要页。可选值包括thesis(表示毕业论文)和design(表示毕业设计),缺省值为thesis。
%
\
opt{thesis}(默认),
\
opt{design}。
%
% \subsubsection{指定字体}
% \DescribeOption{systemfont}
% 是否使用系统预装的字体,可选:
% -option{true}(默认),-option{false}。
% \opt{true}(默认),\opt{false}。
%
% \DescribeOption{customlatinfont}
% 是否使用系统预装的字体,可选:
% \opt{true}(默认),\opt{false}。
%
% \DescribeOption{customchinesefont}
% 是否使用系统预装的字体,可选:
% \opt{true}(默认),\opt{false}。
%
% This is a stub file to allow extraction of \texttt{l3docstrip}: all
% functionality has been moved to the main DocStrip program.
%
% \end{documentation}
%
...
...
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