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
91c25047
Commit
91c25047
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
feat: 初始化njudoc
parent
e1567fa0
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
njuthesis-doc.dtx
+8
-59
8 additions, 59 deletions
njuthesis-doc.dtx
njuthesis-sample.tex
+1
-1
1 addition, 1 deletion
njuthesis-sample.tex
njuthesis.cls
+4
-2
4 additions, 2 deletions
njuthesis.cls
njuthesis.dtx
+7
-9
7 additions, 9 deletions
njuthesis.dtx
with
20 additions
and
71 deletions
njuthesis-doc.dtx
+
8
−
59
View file @
91c25047
% \iffalse
%
%% File l3dosctrip.dtx
%
% Copyright (C) 2012,2014-2021 The LaTeX Project
% \iffalse meta-comment
% !TeX program = XeLaTeX
% !TeX encoding = UTF-8
%
% Copyright (C) 2021 by Nanjing University Linux User Group <my@yaoge123.com>
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
% license or (at your option) any later version. The latest version
...
...
@@ -11,68 +11,17 @@
%
% https://www.latex-project.org/lppl.txt
%
% This file is part of the "l3kernel bundle" (The Work in LPPL)
% and all files in that bundle must be distributed together.
%
% -----------------------------------------------------------------------
%
% The development version of the
bundl
e can be found at
% The development version of the
templat
e can be found at
%
% https://github.com/
latex3/latex3
% https://github.com/
nju-lug/NJUThesis
%
% for those people who are interested.
%
%<*driver|program>
%</driver|program>
%<*driver>
% The same approach as used in \textsf{DocStrip}: if \cs{documentclass}
% is undefined then skip the driver, allowing the file to be used to extract
% \texttt{l3docstrip.tex} from \texttt{l3docstrip.dtx} directly. This works
% as the \cs{fi} is only seen if \LaTeX{} is not in use. The odd \cs{jobname}
% business allows the extraction to work with \LaTeX{} provided an appropriate
% \texttt{.ins} file is set up.
%<*gobble>
\ifx\jobname\relax\let\documentclass\undefined\fi
\ifx\documentclass\undefined
\else \csname fi\endcsname
%</gobble>
\def\filename{docstrip.dtx}
\documentclass[full,kernel]{l3doc}
\ExplSyntaxOn
\cs_set_eq:NN \__codedoc_replace_at_at:N \use_none:n
\ExplSyntaxOff
\begin{document}
\DocInput{\jobname.dtx}
\end{document}
%<*gobble>
\fi
%</gobble>
%</driver>
% \fi
%
% \title{^^A
% The \pkg{l3docstrip} package\\ Code extraction and manipulation^^A
% }
%
% \author{^^A
% The \LaTeX{} Project\thanks
% {^^A
% E-mail:
% \href{mailto:latex-team@latex-project.org}
% {latex-team@latex-project.org}^^A
% }^^A
% }
%
% \date{Released 2021-08-27}
%
% \maketitle
%
% \begin{documentation}
%
% This is a stub file to allow extraction of \texttt{l3docstrip}: all
% functionality has been moved to the main DocStrip program.
%
% \end{documentation}
% \EnableImplementation
%
% \begin{implementation}
%
...
...
This diff is collapsed.
Click to expand it.
njuthesis-sample.tex
+
1
−
1
View file @
91c25047
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NJU Thesis
% 南京大学毕业论文LaTeX模板
% Version 0.
8.3
(2021-09-1
2
)
% Version 0.
9.0
(2021-09-1
4
)
%
% 请关注项目地址以获取最新变化
% https://github.com/nju-lug/NJUThesis
...
...
This diff is collapsed.
Click to expand it.
njuthesis.cls
+
4
−
2
View file @
91c25047
...
...
@@ -21,11 +21,13 @@
%% To produce the documentation run the original source files ending with `.dtx'
%% through XeTeX.
%%
\NeedsTeXFormat
{
LaTeX2e
}
\RequirePackage
{
expl3
}
\def\ExplFileName
{
njuthesis
}
\def\ExplFileDescription
{
Nanjing University thesis template class
}
\def\ExplFileDate
{
2021-09-14
}
\def\ExplFileVersion
{
v
0.9.0
}
\ProvidesExplClass
{
\ExplFileName
}{
\ExplFileDate
}
\ExplFileVersion
}{
\ExplFileDescription
}
\def\ExplFileVersion
{
0.9.0
}
\ProvidesExplClass
{
\ExplFileName
}{
\ExplFileDate
}
{
\ExplFileVersion
}{
\ExplFileDescription
}
\LoadClass
[
a4paper,
twoside,
...
...
This diff is collapsed.
Click to expand it.
njuthesis.dtx
+
7
−
9
View file @
91c25047
...
...
@@ -175,7 +175,7 @@ through XeTeX.
\usedir{doc/latex/njuthesis}
\nopreamble\nopostamble
\file{README.md} {\from{\jobname.dtx}{readme}}
\file{README_EN.md}
{\from{\jobname.dtx}{readme-en}}
\file{README_EN.md} {\from{\jobname.dtx}{readme-en}}
}
\obeyspaces
...
...
@@ -188,7 +188,8 @@ through XeTeX.
\Msg{* *}
\Msg{* njuthesis.cls *}
\Msg{* njuthesis.ins *}
\Msg{* README_EN.md *}
\Msg{* README.md *}
\Msg{* README_EN.md *}
\Msg{* *}
\Msg{* To produce the documentation, run the file njuthesis.dtx *}
\Msg{* through XeLaTeX. *}
...
...
@@ -204,18 +205,15 @@ through XeTeX.
\fi
%</internal>
%
%
%<*class>
%\NeedsTeXFormat{LaTeX2e}
%\RequirePackage{expl3}
%</class>
%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\RequirePackage{expl3}
%<*driver|class>
\def\ExplFileName{njuthesis}
\def\ExplFileDescription{Nanjing University thesis template class}
\def\ExplFileDate{2021-09-14}
\def\ExplFileVersion{
v
0.9.0}
\def\ExplFileVersion{0.9.0}
%</driver|class>
%<class>\ProvidesExplClass{\ExplFileName}{\ExplFileDate}\ExplFileVersion}{\ExplFileDescription}
%<class>\ProvidesExplClass{\ExplFileName}{\ExplFileDate}
{
\ExplFileVersion}{\ExplFileDescription}
%
%<*driver>
\ProvidesFile{\ExplFileName.dtx}
...
...
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