Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New sjtu/info interface #36

Merged
merged 13 commits into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions sjtutex/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module = "sjtutex"

sourcefiledir = "source"
sourcefiles = {"sjtutex.dtx","sjtu-vi-*.pdf"}
installfiles = {"*.cls","*.def","*.cfg","*.pdf"}
installfiles = {"*.cls","*.def","*.pdf"}

docfiledir = "doc"

Expand All @@ -20,7 +20,6 @@ unpackfiles = {"sjtutex.dtx"}
packtdszip = true

tdslocations = {
"tex/latex/sjtutex/config/*.cfg",
"tex/latex/sjtutex/fd/sjtu-*-font-*.def",
"tex/latex/sjtutex/vi/sjtu-vi-*.pdf"
}
Expand Down
8 changes: 5 additions & 3 deletions sjtutex/doc/sample-article-zh.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
\title{上海交通大学 \LaTeX{} 文稿模板示例文档}
% 作者
\author{某\quad{}某}
% 日期
\date{\today}
% 主题
\subject{XX期末课程论文}
% 关键词
\keywords{上海交大, 饮水思源, 爱国荣校}

\begin{document}

Expand Down Expand Up @@ -47,4 +49,4 @@ \section{结论}
\nocite{*}
\printbibliography[heading=bibintoc]

\end{document}
\end{document}
12 changes: 10 additions & 2 deletions sjtutex/doc/sample-report-zh.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
\documentclass{sjtureport}

\input{common-package}
\input{common-setup-report}

% 标题
\title{上海交通大学 \LaTeX{} 文稿模板示例文档}
% 作者
\author{某\quad{}某}
% 主题
\subject{XX期末课程论文}
% 关键词
\keywords{上海交大, 饮水思源, 爱国荣校}

\begin{document}

Expand All @@ -22,4 +30,4 @@
\nocite{*}
\printbibliography[heading=bibintoc]

\end{document}
\end{document}
6 changes: 5 additions & 1 deletion sjtutex/doc/sample-thesis-en.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
% 前置部分
\frontmatter

\begin{abstract}
\begin{abstract}[zh]
\input{common-abstract-zh.tex}
\end{abstract}

\begin{abstract}[en]
\input{common-abstract-en.tex}
\end{abstract}

Expand Down
6 changes: 3 additions & 3 deletions sjtutex/doc/sample-thesis-zh.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
% 前置部分
\frontmatter

\begin{abstract}
\begin{abstract}[zh]
\input{common-abstract-zh.tex}
\end{abstract}

\begin{abstract*}
\begin{abstract}[en]
\input{common-abstract-en.tex}
\end{abstract*}
\end{abstract}

% 目录
\tableofcontents
Expand Down
Loading