├── figures ├── cn_100t.png └── flow_chart.tex ├── scans └── sample-copyright.pdf ├── 04-2023-05-30-2023年本科生毕业论文形式规范解读.pdf ├── texmf └── tex │ └── latex │ └── sjtutex │ ├── vi │ ├── sjtu-vi-badge-red.pdf │ ├── sjtu-vi-logo-blue.pdf │ ├── sjtu-vi-logo-red.pdf │ ├── sjtu-vi-name-blue.pdf │ ├── sjtu-vi-name-red.pdf │ ├── sjtu-vi-badge-black.pdf │ ├── sjtu-vi-badge-blue.pdf │ ├── sjtu-vi-logo-black.pdf │ └── sjtu-vi-name-black.pdf │ ├── fd │ ├── sjtu-cjk-font-mac.def │ ├── sjtu-cjk-font-adobe.def │ ├── sjtu-cjk-font-fandol.def │ ├── sjtu-cjk-font-ubuntu.def │ ├── sjtu-cjk-font-founder.def │ ├── sjtu-cjk-font-windows.def │ ├── sjtu-text-font-lm.def │ ├── sjtu-text-font-cambria.def │ ├── sjtu-math-font-cambria.def │ ├── sjtu-text-font-times.def │ ├── sjtu-math-font-times.def │ ├── sjtu-math-font-newpx.def │ ├── sjtu-math-font-newtx.def │ ├── sjtu-text-font-xits.def │ ├── sjtu-text-font-newpx.def │ ├── sjtu-text-font-newtx.def │ ├── sjtu-cjk-font-windows-ja.def │ ├── sjtu-cjk-font-founder-ja.def │ ├── sjtu-cjk-font-windows-zh.def │ ├── sjtu-text-font-stixtwo.def │ ├── sjtu-cjk-font-founder-zh.def │ ├── sjtu-cjk-font-adobe-zh.def │ ├── sjtu-math-font-lm.def │ ├── sjtu-cjk-font-adobe-ja.def │ ├── sjtu-math-font-stixtwo.def │ ├── sjtu-cjk-font-ubuntu-zh.def │ ├── sjtu-cjk-font-ubuntu-ja.def │ ├── sjtu-math-font-xits.def │ ├── sjtu-cjk-font-mac-zh.def │ ├── sjtu-cjk-font-mac-ja.def │ ├── sjtu-cjk-font-fandol-zh.def │ ├── sjtu-text-font-newcm.def │ ├── sjtu-cjk-font-fandol-ja.def │ └── sjtu-math-font-newcm.def │ ├── sjtu-name-generic-ja.def │ ├── sjtu-name-generic-zh.def │ ├── sjtu-name-generic-de.def │ ├── sjtu-name-generic-en.def │ ├── sjtu-lang-generic-de.def │ ├── sjtu-scheme-en.def │ ├── sjtu-name-thesis-ja.def │ ├── sjtu-lang-generic-ja.def │ ├── sjtu-lang-generic-zh.def │ ├── sjtu-name-thesis-en.def │ ├── sjtu-name-thesis-de.def │ ├── sjtu-lang-generic-en.def │ ├── sjtu-scheme-ja.def │ ├── sjtu-scheme-de.def │ ├── sjtu-scheme-zh.def │ ├── sjtu-name-thesis-zh.def │ ├── sjtu-lang-thesis-de.def │ ├── sjtu-lang-thesis-ja.def │ ├── sjtu-lang-thesis-en.def │ └── sjtu-lang-thesis-zh.def ├── .editorconfig ├── contents ├── app_flow_chart.tex ├── acknowledgements.tex ├── resume.tex ├── achievements.tex ├── summary.tex ├── abstract.tex ├── nomenclature.tex ├── app_maxwell_equations.tex ├── digest.tex ├── intro.tex ├── math_and_citations.tex └── floats.tex ├── .latexmkrc ├── Makefile ├── README.md ├── main.tex ├── README_en-US.md ├── Compile.bat ├── README_origin.md ├── bibdata └── thesis.bib ├── setup.tex └── LICENSE /figures/cn_100t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/figures/cn_100t.png -------------------------------------------------------------------------------- /scans/sample-copyright.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/scans/sample-copyright.pdf -------------------------------------------------------------------------------- /04-2023-05-30-2023年本科生毕业论文形式规范解读.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/04-2023-05-30-2023年本科生毕业论文形式规范解读.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-badge-red.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-badge-red.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-logo-blue.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-logo-blue.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-logo-red.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-logo-red.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-name-blue.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-name-blue.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-name-red.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-name-red.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-badge-black.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-badge-black.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-badge-blue.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-badge-blue.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-logo-black.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-logo-black.pdf -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/vi/sjtu-vi-name-black.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytliu74/SJTUThesisBachelor2023/HEAD/texmf/tex/latex/sjtutex/vi/sjtu-vi-name-black.pdf -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 2 7 | indent_style = space 8 | insert_final_newline = true 9 | tab_width = 2 10 | 11 | [Makefile] 12 | indent_style = tab 13 | tab_width = 4 14 | 15 | [{*.bat,*.cmd}] 16 | end_of_line = crlf 17 | indent_style = tab 18 | tab_width = 4 19 | -------------------------------------------------------------------------------- /contents/app_flow_chart.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \chapter{绘制流程图} 4 | 5 | 图~\ref{fig:flow_chart} 是一张流程图示意。使用 \pkg{tikz} 环境,搭配四种预定义节 6 | 点(\verb+startstop+、\verb+process+、\verb+decision+和\verb+io+),可以容易地绘 7 | 制出流程图。 8 | 9 | \begin{figure}[!htp] 10 | \centering 11 | \resizebox{6cm}{!}{\input{figures/flow_chart.tex}} 12 | \bicaption{绘制流程图效果}{Flow chart} 13 | \label{fig:flow_chart} 14 | \end{figure} 15 | -------------------------------------------------------------------------------- /contents/acknowledgements.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \begin{acknowledgements} 4 | 感谢那位最先制作出博士学位论文 \LaTeX 模板的物理系同学! 5 | 6 | 感谢 William Wang 同学对模板移植做出的贡献! 7 | 8 | 感谢 \href{https://github.com/weijianwen}{@weijianwen} 学长开创性的工作! 9 | 10 | 感谢 \href{https://github.com/sjtug}{@sjtug} 对 0.10 及之后版本的开发和维护工作! 11 | 12 | 感谢所有为模板贡献过代码的\href{https://github.com/sjtug/SJTUThesis/graphs/contributors}{同学们}, 以及所有测试和使用模板的各位同学! 13 | 14 | 感谢 \LaTeX 和 \href{https://github.com/sjtug/SJTUThesis}{SJTUThesis},帮我节 15 | 省了不少时间。 16 | \end{acknowledgements} 17 | -------------------------------------------------------------------------------- /contents/resume.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \begin{resume} 4 | \subsection*{基本情况} 5 | 某某,yyyy 年 mm 月生于 xxxx。 6 | 7 | \subsection*{教育背景} 8 | \begin{itemize} 9 | \item yyyy 年 mm 月至今,上海交通大学,博士研究生,xx 专业 10 | \item yyyy 年 mm 月至 yyyy 年 mm 月,上海交通大学,硕士研究生,xx 专业 11 | \item yyyy 年 mm 月至 yyyy 年 mm 月,上海交通大学,本科,xx 专业 12 | \end{itemize} 13 | 14 | \subsection*{研究兴趣} 15 | \LaTeX{} 排版 16 | 17 | \subsection*{联系方式} 18 | \begin{itemize} 19 | \item 地址: 上海市闵行区东川路 800 号,200240 20 | \item E-mail: \email{xxx@sjtu.edu.cn} 21 | \end{itemize} 22 | \end{resume} 23 | -------------------------------------------------------------------------------- /.latexmkrc: -------------------------------------------------------------------------------- 1 | # Latexmk configuration file. 2 | # 3 | # WARNING: Only works with version 4.59 or higher of latexmk. 4 | # 5 | 6 | # Set timezone. 7 | $ENV{'TZ'}='Asia/Shanghai'; 8 | 9 | # Ensure './texmf//' is in '$TEXINPUTS'. 10 | ensure_path( 'TEXINPUTS', './texmf//' ); 11 | 12 | # PDF generate method 13 | # - 1 pdfLaTeX 14 | # - 3 LaTeX + DVIPDFMx 15 | # - 4 LuaLaTeX 16 | # - 5 XeLaTeX 17 | $pdf_mode = 5; 18 | 19 | # Add common patterns for tex engines. 20 | set_tex_cmds( '-synctex=1 %O %S' ); 21 | 22 | # Always try to embed fonts, ignoring licensing flags, etc. 23 | $xdvipdfmx = 'xdvipdfmx -E -o %D %O %S'; 24 | 25 | # Files to clean. 26 | $clean_ext = 'bbl glo gls hd loa run.xml thm xdv'; 27 | -------------------------------------------------------------------------------- /contents/achievements.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \begin{achievements} 4 | 5 | \subsection*{学术论文} 6 | 7 | \begin{bibliolist}{00} 8 | \item Chen H, Chan C~T. Acoustic cloaking in three dimensions using acoustic metamaterials[J]. Applied Physics Letters, 2007, 91:183518. 9 | \item Chen H, Wu B~I, Zhang B, et al. Electromagnetic Wave Interactions with a Metamaterial Cloak[J]. Physical Review Letters, 2007, 99(6):63903. 10 | \end{bibliolist} 11 | 12 | \begin{bibliolist*}{00} 13 | \item 第一作者. 中文核心期刊论文, 2007. 14 | \item 第一作者. EI 国际会议论文, 2006. 15 | \end{bibliolist*} 16 | 17 | \subsection*{专利} 18 | 19 | \begin{bibliolist}{00} 20 | \item 第一发明人,“永动机”,专利申请号202510149890.0 21 | \end{bibliolist} 22 | 23 | \begin{bibliolist*}{00} 24 | \item 第一发明人,“永动机”,专利申请号XXXXXXXXXXXX.X 25 | \end{bibliolist*} 26 | 27 | \end{achievements} 28 | -------------------------------------------------------------------------------- /contents/summary.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \chapter{全文总结} 4 | 5 | 这里是全文总结内容。 6 | 7 | 2015 年 2 月 28 日,中央在北京召开全国精神文明建设工作表彰暨学雷锋志愿服务大会, 8 | 公布全国文明城市(区)、文明村镇、文明单位名单。上海交通大学荣获全国文明单位称 9 | 号。 10 | 11 | 全国文明单位这一荣誉是对交大人始终高度重视文明文化工作的肯定,是对交大长期以来文 12 | 明创建工作成绩的褒奖。在学校党委、文明委的领导下,交大坚持将文明创建工作纳入学校 13 | 建设世界一流大学的工作中,全体师生医护员工群策群力、积极开拓,落实国家和上海市有 14 | 关文明创建的各项要求,以改革创新、科学发展为主线,以质量提升为目标,聚焦文明创建 15 | 工作出现的重点和难点,优化文明创建工作机制,传播学校良好形象,提升社会美誉度,显 16 | 著增强学校软实力。2007 至 2012 年间,上海交大连续三届荣获“上海市文明单位”称 17 | 号,成为创建全国文明单位的新起点。 18 | 19 | 上海交大自启动争创全国文明单位工作以来,凝魂聚气、改革创新,积极培育和践行社会主 20 | 义核心价值观。坚持统筹兼顾、多措并举,将争创全国文明单位与学校各项中心工作紧密结 21 | 合,着力构建学校文明创建新格局,不断提升师生医护员工文明素养,以“冲击世界一流大 22 | 学汇聚强大精神动力”为指导思想,以“聚焦改革、多元推进、以评促建、丰富内涵、彰显 23 | 特色”为工作原则,并由全体校领导群策领衔“党的建设深化、思想教育深入、办学成绩显 24 | 著、大学文化丰富、校园环境优化、社会责任担当”六大板块共 28 项重点突破工作,全面 25 | 展现近年来交大文明创建工作的全貌和成就。 26 | 27 | 进入新阶段,学校将继续开拓文明创建工作新格局,不断深化工作理念和工作实践,创新工 28 | 作载体、丰富活动内涵、凸显创建成效,积极服务于学校各项中心工作和改革发展的大局 29 | 面,在上级党委、文明委的关心下,在学校党委的直接领导下,与时俱进、开拓创新,为深 30 | 化内涵建设、加快建成世界一流大学、推动国家进步和社会发展而努力奋斗! 31 | 32 | 上海交通大学医学院附属仁济医院也获得全国文明单位称号。 33 | -------------------------------------------------------------------------------- /contents/abstract.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \begin{abstract}[zh] 4 | \addcontentsline{toc}{chapter}{摘要} 5 | 中文摘要应该将学位论文的内容要点简短明了地表达出来,应该包含论文中的基本信息, 6 | 体现科研工作的核心思想。摘要内容应涉及本项科研工作的目的和意义、研究方法、研究 7 | 成果、结论及意义。注意突出学位论文中具有创新性的成果和新见解的部分。摘要中不宜 8 | 使用公式、化学结构式、图表和非公知公用的符号和术语,不标注引用文献编号。硕士学 9 | 位论文中文摘要字数为 500 字左右,博士学位论文中文摘要字数为 800 字左右。英文摘 10 | 要内容应与中文摘要内容一致。 11 | 12 | 摘要页的下方注明本文的关键词(4~6个)。 13 | \end{abstract} 14 | 15 | \begin{abstract}[en] 16 | \addcontentsline{toc}{chapter}{ABSTRACT} 17 | Shanghai Jiao Tong University (SJTU) is a key university in China. SJTU was 18 | founded in 1896. It is one of the oldest universities in China. The University 19 | has nurtured large numbers of outstanding figures include JIANG Zemin, DING 20 | Guangen, QIAN Xuesen, Wu Wenjun, WANG An, etc. 21 | 22 | SJTU has beautiful campuses, Bao Zhaolong Library, Various laboratories. It 23 | has been actively involved in international academic exchange programs. It is 24 | the center of CERNet in east China region, through computer networks, SJTU has 25 | faster and closer connection with the world. 26 | \end{abstract} 27 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for SJTUThesis 2 | 3 | # Basename of thesis 4 | THESIS = main 5 | 6 | # Option for latexmk 7 | LATEXMK_OPT = -time -file-line-error -halt-on-error -interaction=nonstopmode 8 | LATEXMK_OPT_PVC = $(LATEXMK_OPT) -pvc 9 | 10 | # make deletion work on Windows 11 | ifdef SystemRoot 12 | RM = del /Q 13 | OPEN = start 14 | else 15 | RM = rm -f 16 | OPEN = open 17 | endif 18 | 19 | .PHONY : all pvc view wordcount clean cleanall FORCE_MAKE 20 | 21 | all : $(THESIS).pdf 22 | 23 | $(THESIS).pdf : $(THESIS).tex FORCE_MAKE 24 | @latexmk $(LATEXMK_OPT) $< 25 | 26 | pvc : $(THESIS).tex 27 | @latexmk $(LATEXMK_OPT_PVC) $(THESIS) 28 | 29 | view : $(THESIS).pdf 30 | $(OPEN) $< 31 | 32 | wordcount : $(THESIS).tex 33 | @if grep -v ^% $< | grep -q '\\documentclass\[[^\[]*lang\s*=\s*en'; then \ 34 | texcount $< -inc -char-only | awk '/total/ {getline; print "英文字符数\t\t\t:",$$4}'; \ 35 | else \ 36 | texcount $< -inc -ch-only | awk '/total/ {getline; print "纯中文字数\t\t\t:",$$4}'; \ 37 | fi 38 | @texcount $< -inc -chinese | awk '/total/ {getline; print "总字数(英文单词 + 中文字)\t:",$$4}' 39 | 40 | clean : 41 | -@latexmk -c -silent $(THESIS).tex 2> /dev/null 42 | 43 | cleanall : 44 | -@latexmk -C -silent $(THESIS).tex 2> /dev/null 45 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-mac.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-mac.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,mac,und') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {macOS CJK fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-mac.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl 32 | { \ctex_file_input:n { sjtu-cjk-font-mac-ja.def } } 33 | { \ctex_file_input:n { sjtu-cjk-font-mac-zh.def } } 34 | \endinput 35 | %% 36 | %% End of file `sjtu-cjk-font-mac.def'. 37 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-adobe.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-adobe.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,adobe,und') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Adobe CJK fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-adobe.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl 32 | { \ctex_file_input:n { sjtu-cjk-font-adobe-ja.def } } 33 | { \ctex_file_input:n { sjtu-cjk-font-adobe-zh.def } } 34 | \endinput 35 | %% 36 | %% End of file `sjtu-cjk-font-adobe.def'. 37 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-fandol.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-fandol.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,fandol,und') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Fandol CJK fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-fandol.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl 32 | { \ctex_file_input:n { sjtu-cjk-font-fandol-ja.def } } 33 | { \ctex_file_input:n { sjtu-cjk-font-fandol-zh.def } } 34 | \endinput 35 | %% 36 | %% End of file `sjtu-cjk-font-fandol.def'. 37 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-ubuntu.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-ubuntu.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,ubuntu,und') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Ubuntu CJK fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-ubuntu.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl 32 | { \ctex_file_input:n { sjtu-cjk-font-ubuntu-ja.def } } 33 | { \ctex_file_input:n { sjtu-cjk-font-ubuntu-zh.def } } 34 | \endinput 35 | %% 36 | %% End of file `sjtu-cjk-font-ubuntu.def'. 37 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-founder.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-founder.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,founder,und') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Founder CJK fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-founder.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl 32 | { \ctex_file_input:n { sjtu-cjk-font-founder-ja.def } } 33 | { \ctex_file_input:n { sjtu-cjk-font-founder-zh.def } } 34 | \endinput 35 | %% 36 | %% End of file `sjtu-cjk-font-founder.def'. 37 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-windows.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-windows.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,windows,und') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Windows CJK fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-windows.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_if_eq:NNTF \g__sjtu_lang_tl \c__sjtu_lang_ja_tl 32 | { \ctex_file_input:n { sjtu-cjk-font-windows-ja.def } } 33 | { \ctex_file_input:n { sjtu-cjk-font-windows-zh.def } } 34 | \endinput 35 | %% 36 | %% End of file `sjtu-cjk-font-windows.def'. 37 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-lm.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-lm.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,lm') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Latin Modern text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-lm.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \tl_set:Nn \encodingdefault { T1 } 34 | \tl_set:Nn \rmdefault { lmr } 35 | \tl_set:Nn \sfdefault { lmss } 36 | \tl_set:Nn \ttdefault { lmtt } 37 | } { } 38 | \endinput 39 | %% 40 | %% End of file `sjtu-text-font-lm.def'. 41 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-cambria.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-cambria.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,cambria') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Cambria text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-cambria.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { text } { cambria } } 33 | { 34 | \setmainfont { Cambria } 35 | \setsansfont { Calibri } 36 | \setmonofont { Consolas } [ Scale = 0.95 ] 37 | } 38 | \endinput 39 | %% 40 | %% End of file `sjtu-text-font-cambria.def'. 41 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-cambria.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-cambria.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,cambria') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Cambria math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-cambria.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { math } { cambria } } 33 | { 34 | \RequirePackage { unicode-math } 35 | \setmathfont { Cambria~Math } 36 | \setmathrm { Cambria } 37 | \setmathsf { Calibri } 38 | \setmathtt { Consolas } [ Scale = 0.95 ] 39 | } 40 | \endinput 41 | %% 42 | %% End of file `sjtu-math-font-cambria.def'. 43 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-generic-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-generic-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,generic,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Japanese name config for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-generic-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_map_inline:nn 32 | { 33 | { year } { 年 } , 34 | { month } { 月 } , 35 | { day } { 日 } 36 | } 37 | { \__sjtu_define_name:nnn { ja } #1 } 38 | \clist_map_inline:nn 39 | { 40 | { keywords } { キーワード } , 41 | { info_sep } { : } , 42 | { item_sep } { \quad } 43 | } 44 | { \__sjtu_define_name:nn #1 } 45 | \endinput 46 | %% 47 | %% End of file `sjtu-name-generic-ja.def'. 48 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-times.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-times.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,times') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Times text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-times.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \tl_set:Nn \encodingdefault { T1 } 34 | \tl_set:Nn \rmdefault { ptm } 35 | \tl_set:Nn \Hv@scale { 0.94 } 36 | \tl_set:Nn \sfdefault { phv } 37 | \tl_set:Nn \ttdefault { pcr } 38 | } 39 | { 40 | \setmainfont { Times~New~Roman } [ Ligatures = Rare ] 41 | \setsansfont { Arial } [ Scale = 0.94 ] 42 | \setmonofont { Courier~New } 43 | } 44 | \endinput 45 | %% 46 | %% End of file `sjtu-text-font-times.def'. 47 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-generic-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-generic-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,generic,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Chinese name config for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-generic-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_map_inline:nn 32 | { 33 | { year } { 年 } , 34 | { month } { 月 } , 35 | { day } { 日 } 36 | } 37 | { \__sjtu_define_name:nnn { zh } #1 } 38 | \clist_map_inline:nn 39 | { 40 | { keywords } { 关键词 } , 41 | { info_sep } { : } , 42 | { item_sep } { , } 43 | } 44 | { \__sjtu_define_name:nn #1 } 45 | \endinput 46 | %% 47 | %% End of file `sjtu-name-generic-zh.def'. 48 | -------------------------------------------------------------------------------- /contents/nomenclature.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \begin{nomenclature*} 4 | \label{chap:symb} 5 | 6 | \begin{longtable}{rl} 7 | $\epsilon$ & 介电常数 \\ 8 | $\mu$ & 磁导率 \\ 9 | $\epsilon$ & 介电常数 \\ 10 | $\mu$ & 磁导率 \\ 11 | $\epsilon$ & 介电常数 \\ 12 | $\mu$ & 磁导率 \\ 13 | $\epsilon$ & 介电常数 \\ 14 | $\mu$ & 磁导率 \\ 15 | $\epsilon$ & 介电常数 \\ 16 | $\mu$ & 磁导率 \\ 17 | $\epsilon$ & 介电常数 \\ 18 | $\mu$ & 磁导率 \\ 19 | $\epsilon$ & 介电常数 \\ 20 | $\mu$ & 磁导率 \\ 21 | $\epsilon$ & 介电常数 \\ 22 | $\mu$ & 磁导率 \\ 23 | $\epsilon$ & 介电常数 \\ 24 | $\mu$ & 磁导率 \\ 25 | $\epsilon$ & 介电常数 \\ 26 | $\mu$ & 磁导率 \\ 27 | $\epsilon$ & 介电常数 \\ 28 | $\mu$ & 磁导率 \\ 29 | $\epsilon$ & 介电常数 \\ 30 | $\mu$ & 磁导率 \\ 31 | $\epsilon$ & 介电常数 \\ 32 | $\mu$ & 磁导率 \\ 33 | $\epsilon$ & 介电常数 \\ 34 | $\mu$ & 磁导率 \\ 35 | $\epsilon$ & 介电常数 \\ 36 | $\mu$ & 磁导率 \\ 37 | $\epsilon$ & 介电常数 \\ 38 | $\mu$ & 磁导率 \\ 39 | $\epsilon$ & 介电常数 \\ 40 | $\mu$ & 磁导率 \\ 41 | $\epsilon$ & 介电常数 \\ 42 | $\mu$ & 磁导率 \\ 43 | $\epsilon$ & 介电常数 \\ 44 | $\mu$ & 磁导率 \\ 45 | $\epsilon$ & 介电常数 \\ 46 | $\mu$ & 磁导率 \\ 47 | $\epsilon$ & 介电常数 \\ 48 | $\mu$ & 磁导率 \\ 49 | $\epsilon$ & 介电常数 \\ 50 | $\mu$ & 磁导率 \\ 51 | $\epsilon$ & 介电常数 \\ 52 | $\mu$ & 磁导率 \\ 53 | $\epsilon$ & 介电常数 \\ 54 | $\mu$ & 磁导率 \\ 55 | $\epsilon$ & 介电常数 \\ 56 | $\mu$ & 磁导率 \\ 57 | $\epsilon$ & 介电常数 \\ 58 | $\mu$ & 磁导率 \\ 59 | $\epsilon$ & 介电常数 \\ 60 | $\mu$ & 磁导率 \\ 61 | \end{longtable} 62 | 63 | \end{nomenclature*} 64 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-generic-de.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-generic-de.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,generic,de') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {German name config for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-generic-de.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_const:Nn \c__sjtu_name_month_de_clist 32 | { 33 | Januar, Februar, März, April, Mai, Juni, 34 | Juli, August, September, Oktober, November, Dezember 35 | } 36 | \clist_map_inline:nn 37 | { 38 | { keywords } { Schlüsselwörter } , 39 | { info_sep } { :~ } , 40 | { item_sep } { ,~ } 41 | } 42 | { \__sjtu_define_name:nn #1 } 43 | \endinput 44 | %% 45 | %% End of file `sjtu-name-generic-de.def'. 46 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-generic-en.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-generic-en.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,generic,en') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {English name config for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-generic-en.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_const:Nn \c__sjtu_name_month_en_clist 32 | { 33 | January, February, March, April, May, June, 34 | July, August, September, October, November, December 35 | } 36 | \clist_map_inline:nn 37 | { 38 | { keywords } { Key~words } , 39 | { info_sep } { :~ } , 40 | { item_sep } { ,~ } 41 | } 42 | { \__sjtu_define_name:nn #1 } 43 | \endinput 44 | %% 45 | %% End of file `sjtu-name-generic-en.def'. 46 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-times.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-times.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,times') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Times math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-times.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \RequirePackage { amssymb, upgreek } 32 | \tl_set_eq:NN \g__sjtu_save_rmdefault_tl \rmdefault 33 | \RequirePackage { mathptmx } 34 | \tl_set_eq:NN \rmdefault \g__sjtu_save_rmdefault_tl 35 | \tl_set:Nn \Hv@scale { 0.94 } 36 | \DeclareMathAlphabet { \mathsf } { OT1 } { phv } { m } { n } 37 | \DeclareMathAlphabet { \mathtt } { OT1 } { pcr } { m } { n } 38 | \SetMathAlphabet { \mathsf } { bold } { OT1 } { phv } { b } { n } 39 | \SetMathAlphabet { \mathtt } { bold } { OT1 } { pcr } { b } { n } 40 | \bool_if:NT \g__sjtu_upright_integral_bool 41 | { \RequirePackage { cmupint } } 42 | \RequirePackage { bm } 43 | \__sjtu_set_unimath_symbol: 44 | \endinput 45 | %% 46 | %% End of file `sjtu-math-font-times.def'. 47 | -------------------------------------------------------------------------------- /figures/flow_chart.tex: -------------------------------------------------------------------------------- 1 | 2 | % 定义流程图节点 3 | \tikzstyle{startstop} = [ 4 | rectangle, 5 | rounded corners, 6 | minimum width=2cm, 7 | minimum height=1cm, 8 | text centered, 9 | draw=black 10 | ] 11 | \tikzstyle{io} = [ 12 | trapezium, 13 | trapezium left angle=75, 14 | trapezium right angle=105, 15 | minimum width=1cm, 16 | minimum height=1cm, 17 | text centered, 18 | draw=black 19 | ] 20 | \tikzstyle{process} = [ 21 | rectangle, 22 | minimum width=2cm, 23 | minimum height=1cm, 24 | text centered, 25 | draw=black 26 | ] 27 | \tikzstyle{decision} = [ 28 | diamond, 29 | minimum width=2cm, 30 | minimum height=1cm, 31 | text centered, 32 | draw=black] 33 | \tikzstyle{arrow} = [thick, ->, >=stealth] 34 | 35 | \begin{tikzpicture}[node distance=2cm] 36 | % 设置节点 37 | \node (pic) [startstop] {待测图片}; 38 | \node (bg) [io, below of=pic] {读取背景}; 39 | \node (pair) [process, below of=bg] {匹配特征点对}; 40 | \node (threshold) [decision, below of=pair, yshift=-0.5cm] {多于阈值}; 41 | \node (clear) [decision, right of=threshold, xshift=3cm] {清晰?}; 42 | \node (capture) [process, right of=pair, xshift=3cm, yshift=0.5cm] {重采}; 43 | \node (matrix_p) [process, below of=threshold, yshift=-0.8cm] {透视变换矩阵}; 44 | \node (matrix_a) [process, right of=matrix_p, xshift=3cm] {仿射变换矩阵}; 45 | \node (reg) [process, below of=matrix_p] {图像修正}; 46 | \node (return) [startstop, below of=reg] {配准结果}; 47 | 48 | % 连接节点 49 | \draw [arrow](pic) -- (bg); 50 | \draw [arrow](bg) -- (pair); 51 | \draw [arrow](pair) -- (threshold); 52 | 53 | \draw [arrow](threshold) -- node[anchor=south] {否} (clear); 54 | 55 | \draw [arrow](clear) -- node[anchor=west] {否} (capture); 56 | \draw [arrow](capture) |- (pic); 57 | \draw [arrow](clear) -- node[anchor=west] {是} (matrix_a); 58 | \draw [arrow](matrix_a) |- (reg); 59 | 60 | \draw [arrow](threshold) -- node[anchor=east] {是} (matrix_p); 61 | \draw [arrow](matrix_p) -- (reg); 62 | \draw [arrow](reg) -- (return); 63 | \end{tikzpicture} 64 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-generic-de.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-generic-de.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,generic,de') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {German specific definition for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-generic-de.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \cs_new:Npn \__sjtu_date_aux_de:nnn #1#2#3 32 | { 33 | \clist_item:Nn \c__sjtu_name_month_de_clist {#2} ~ 34 | {#3} ,~ \int_to_arabic:n {#1} 35 | } 36 | \cs_new:Npn \__sjtu_date_aux_de:w #1-#2-#3 \q_stop 37 | { \__sjtu_date_aux_de:nnn {#1} {#2} {#3} } 38 | \cs_new:Npn \__sjtu_date_aux_short_de:nn #1#2 39 | { 40 | \clist_item:Nn \c__sjtu_name_month_de_clist {#2} ,~ 41 | \int_to_arabic:n {#1} 42 | } 43 | \cs_new:Npn \__sjtu_date_aux_short_de:w #1-#2 \q_stop 44 | { \__sjtu_date_aux_short_de:nn {#1} {#2} } 45 | \cs_new_protected:Nn \__sjtu_set_language_de: 46 | { 47 | \ctex_set:n { autoindent = 1.5 em } 48 | \normalfont 49 | } 50 | \endinput 51 | %% 52 | %% End of file `sjtu-lang-generic-de.def'. 53 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-newpx.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-newpx.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,newpx') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {New PX math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-newpx.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_set_eq:NN \g__sjtu_save_encodingdefault_tl \encodingdefault 32 | \tl_set_eq:NN \g__sjtu_save_rmdefault_tl \rmdefault 33 | \tl_set_eq:NN \g__sjtu_save_sfdefault_tl \sfdefault 34 | \tl_set_eq:NN \g__sjtu_save_ttdefault_tl \ttdefault 35 | \tl_set:Nn \encodingdefault { OT1 } 36 | \tl_set:Nn \rmdefault { zplTLF } 37 | \tl_set:Nn \qhv@scale { 0.94 } 38 | \tl_set:Nn \sfdefault { qhv } 39 | \tl_set:Nn \ttdefault { qcr } 40 | \RequirePackage { newpxmath } 41 | \RequirePackage { bm } 42 | \tl_set_eq:NN \encodingdefault \g__sjtu_save_encodingdefault_tl 43 | \tl_set_eq:NN \rmdefault \g__sjtu_save_rmdefault_tl 44 | \tl_set_eq:NN \sfdefault \g__sjtu_save_sfdefault_tl 45 | \tl_set_eq:NN \ttdefault \g__sjtu_save_ttdefault_tl 46 | \__sjtu_set_unimath_symbol: 47 | \endinput 48 | %% 49 | %% End of file `sjtu-math-font-newpx.def'. 50 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-newtx.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-newtx.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,newtx') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {New TX math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-newtx.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \tl_set_eq:NN \g__sjtu_save_encodingdefault_tl \encodingdefault 32 | \tl_set_eq:NN \g__sjtu_save_rmdefault_tl \rmdefault 33 | \tl_set_eq:NN \g__sjtu_save_sfdefault_tl \sfdefault 34 | \tl_set_eq:NN \g__sjtu_save_ttdefault_tl \ttdefault 35 | \tl_set:Nn \encodingdefault { OT1 } 36 | \tl_set:Nn \rmdefault { ntxtlf } 37 | \tl_set:Nn \qhv@scale { 0.94 } 38 | \tl_set:Nn \sfdefault { qhv } 39 | \tl_set:Nn \ttdefault { qcr } 40 | \RequirePackage { newtxmath } 41 | \RequirePackage { bm } 42 | \tl_set_eq:NN \encodingdefault \g__sjtu_save_encodingdefault_tl 43 | \tl_set_eq:NN \rmdefault \g__sjtu_save_rmdefault_tl 44 | \tl_set_eq:NN \sfdefault \g__sjtu_save_sfdefault_tl 45 | \tl_set_eq:NN \ttdefault \g__sjtu_save_ttdefault_tl 46 | \__sjtu_set_unimath_symbol: 47 | \endinput 48 | %% 49 | %% End of file `sjtu-math-font-newtx.def'. 50 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-scheme-en.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-scheme-en.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `scheme,en') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {English scheme (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-scheme-en.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \ctex_if_autoindent_touched:F 32 | { \ctex_set:n { autoindent = 1.5 em } } 33 | \ctex_patch_cmd:Nnn \quotation { 1.5em } { \parindent } 34 | \keys_set:nn { sjtu / style } 35 | { fnmark-style = plain } 36 | \clist_map_inline:nn 37 | { 38 | { assumption } { Assumption } , 39 | { axiom } { Axiom } , 40 | { conjecture } { Conjecture } , 41 | { corollary } { Corollary } , 42 | { definition } { Definition } , 43 | { example } { Example } , 44 | { exercise } { Exercise } , 45 | { lemma } { Lemma } , 46 | { problem } { Problem } , 47 | { proposition } { Proposition } , 48 | { remark } { Remark } , 49 | { solution } { Solution } , 50 | { theorem } { Theorem } 51 | } 52 | { \__sjtu_define_name:nn #1 } 53 | \endinput 54 | %% 55 | %% End of file `sjtu-scheme-en.def'. 56 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |

🎉 2023毕业快乐 🎉

3 |

祝各位一切顺利! 🎓🎉🎊🥳

4 | Graduation image 5 |
6 | 7 | # SJTU 2023本科生毕业论文模板 8 | 9 | 10 | 该模板改自sjtug的官方[SJTUThesis](https://github.com/sjtug/SJTUThesis)模板。参考了[2023年最新版规定](04-2023-05-30-2023年本科生毕业论文形式规范解读.pdf)做了下述更改。如果有更多的问题,欢迎反馈到官方的[issues](https://github.com/sjtug/SJTUThesis/issues)或此repo。 11 | 12 | ## 更改 13 | 14 | ### 主体 15 | 16 | 1. 单页打印。 17 | 18 | `main.tex`中添加`oneside`设置。 19 | 20 | 2. 摘要、英文摘要、目录、英文大摘要的页眉不需要表明。 21 | 22 | 详见issue [#953](https://github.com/sjtug/SJTUThesis/discussions/953) 23 | 24 | ### 封面 25 | 26 | 参考issue [#941](https://github.com/sjtug/SJTUThesis/issues/941) 27 | 28 | 1. 修改“上海交通大学学士学位论文”为“上海交通大学学位论文”。 29 | 30 | 注释`sjtu-lang-thesis-zh.def`第37行。 31 | 32 | 2. 更改“学科/专业”为“学科 / 专业名称”。 33 | 34 | 修改`sjtu-name-thesis-zh.def`第51行。 35 | 修改`sjtu-lang-thesis-zh.def`第118行的宽度。 36 | 37 | 3. 增加“申请学位层次”。 38 | 39 | 注释`sjtu-lang-thesis-zh.def`第114行。 40 | 修改`sjtu-name-thesis-zh.def`第52行。 41 | 42 | 4. 中文封面仅有年月,英文封面年月日。🤔🤨 43 | 44 | `setup.tex`注释第74行。 45 | 46 | ### 目录 47 | 48 | 1. 添加摘要和ABSTRACT。 49 | 50 | 添加`\addcontentsline{toc}{chapter}{摘要}`以及`\addcontentsline{toc}{chapter}{ABSTRACT}`。详见discussion [#942](https://github.com/sjtug/SJTUThesis/discussions/942). 51 | 52 | 2. 缩进。 53 | 感谢水源大佬的[帖子](https://shuiyuan.sjtu.edu.cn/t/topic/166804). 54 | 55 | 根据学校要求: 56 | >章目录:宋体四号,单倍行距,页码右对齐。 57 | >小节目录:宋体小四号,单倍行距,左缩进1个汉字符,两端对齐,页码右对齐。 58 | >二级小节目录:宋体五号,单倍行距,左缩进2个汉字符,两端对齐,页码右对齐。 59 | 60 | 添加: 61 | ```latex 62 | \setlength{\cftsecindent}{1em} 63 | \setlength{\cftsubsecindent}{2em} 64 | ``` 65 | 66 | ### 参考文献 67 | 68 | 1. 参考文献题目格式需修改为“黑体,加粗,三号,居中,每字空一格”。 69 | 70 | 在`setup.tex`96行编辑`bib = {参\hspace{\ccwd}考\hspace{\ccwd}文\hspace{\ccwd}献},` 71 | 72 | ## 致谢 73 | 74 | 感谢maintainer [LogCreative](https://github.com/LogCreative)的细心答复。 75 | 76 | 感谢水源大佬[蝉时雨的帖子](https://shuiyuan.sjtu.edu.cn/t/topic/166804). 77 | 78 | 感谢[Megumism](https://github.com/Megumism),[pixas](https://github.com/pixas)在提出的问题。 79 | -------------------------------------------------------------------------------- /main.tex: -------------------------------------------------------------------------------- 1 | % !TeX encoding = UTF-8 2 | 3 | % 载入 SJTUThesis 模版 4 | \documentclass[type=bachelor, oneside]{sjtuthesis} 5 | % 选项 6 | % type=[doctor|master|bachelor], % 可选(默认:master),论文类型 7 | % zihao=[-4|5], % 可选(默认:-4),正文字号大小 8 | % lang=[zh|en|de|ja], % 可选(默认:zh),论文的主要语言 9 | % review, % 可选(默认:关闭),盲审模式 10 | % [twoside|oneside], % 可选(默认:twoside),双页或单页边距模式 11 | % [openright|openany], % 可选(默认:openright),奇数页或任意页开始新章 12 | % math-style=[ISO|TeX], % 可选 (默认:ISO),数学符号样式 13 | 14 | % 论文基本配置,加载宏包等全局配置 15 | \input{setup} 16 | 17 | \begin{document} 18 | 19 | %TC:ignore 20 | 21 | % 标题页 22 | \maketitle 23 | 24 | % 原创性声明及使用授权书 25 | \copyrightpage 26 | % 插入外置原创性声明及使用授权书 27 | % 此时必须在导言区使用 \usepackage{pdfpages} 28 | % \copyrightpage[scans/sample-copyright.pdf] 29 | 30 | 31 | % 前置部分 32 | \frontmatter 33 | 34 | {\ExplSyntaxOn 35 | \bool_if:NTF \g__sjtu_twoside_bool 36 | { 37 | \fancyhead [ LE ] { } 38 | \fancyhead [ RO ] { } 39 | } 40 | { 41 | \fancyhead [ R ] { } 42 | } 43 | \ExplSyntaxOff 44 | 45 | % 摘要 46 | \input{contents/abstract} 47 | 48 | % 目录 49 | \tableofcontents 50 | \clearpage} 51 | % 插图索引 52 | \listoffigures* 53 | % 表格索引 54 | \listoftables* 55 | % 算法索引 56 | \listofalgorithms* 57 | 58 | % 符号对照表 59 | \input{contents/nomenclature} 60 | 61 | %TC:endignore 62 | 63 | % 主体部分 64 | \mainmatter 65 | 66 | % 正文内容 67 | \input{contents/intro} 68 | \input{contents/math_and_citations} 69 | \input{contents/floats} 70 | \input{contents/summary} 71 | 72 | %TC:ignore 73 | 74 | % 参考文献 75 | \printbibliography[heading=bibintoc] 76 | 77 | % 附录 78 | \appendix 79 | 80 | % 附录中图表不加入索引 81 | \captionsetup{list=no} 82 | 83 | % 附录内容 84 | \input{contents/app_maxwell_equations} 85 | \input{contents/app_flow_chart} 86 | 87 | % 结尾部分 88 | \backmatter 89 | 90 | % 用于盲审的论文需隐去致谢、发表论文、科研成果、简历 91 | 92 | % 致谢 93 | \input{contents/acknowledgements} 94 | 95 | % 发表论文及科研成果 96 | % 盲审论文中,发表论文及科研成果等仅以第几作者注明即可,不要出现作者或他人姓名 97 | \input{contents/achievements} 98 | 99 | % 简历 100 | \input{contents/resume} 101 | 102 | % 学士学位论文要求在最后有一个大摘要,单独编页码 103 | \input{contents/digest} 104 | 105 | %TC:endignore 106 | 107 | \end{document} 108 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-xits.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-xits.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,xits') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {XITS text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-xits.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { text } { xits } } 33 | { 34 | \setmainfont 35 | { XITS } 36 | [ 37 | Extension = .otf, 38 | UprightFont = *-Regular, 39 | BoldFont = *-Bold, 40 | ItalicFont = *-Italic, 41 | BoldItalicFont = *-BoldItalic 42 | ] 43 | \setsansfont 44 | { texgyreheros } 45 | [ 46 | Extension = .otf, 47 | UprightFont = *-regular, 48 | BoldFont = *-bold, 49 | ItalicFont = *-italic, 50 | BoldItalicFont = *-bolditalic, 51 | Scale = 0.94, 52 | ] 53 | \setmonofont 54 | { texgyrecursor } 55 | [ 56 | Extension = .otf, 57 | UprightFont = *-regular, 58 | BoldFont = *-bold, 59 | ItalicFont = *-italic, 60 | BoldItalicFont = *-bolditalic, 61 | Ligatures = CommonOff 62 | ] 63 | } 64 | \endinput 65 | %% 66 | %% End of file `sjtu-text-font-xits.def'. 67 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-thesis-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-thesis-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,thesis,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Japanese name config for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-thesis-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_map_inline:nn 32 | { 33 | { year } { 年 } , 34 | { month } { 月 } , 35 | { day } { 日 } 36 | } 37 | { \__sjtu_define_name:nnn { ja } #1 } 38 | \__sjtu_define_name_from_clist:nnnn { ja } 39 | { degree_level } { \g__sjtu_thesis_type_int } 40 | { 学士, 修士, 博士 } 41 | \clist_map_inline:nn 42 | { 43 | { univ } { 上海交通大学 } , 44 | { address } { 中国・上海 } , 45 | { author } { 氏名 } , 46 | { supervisor } { 指導教員 } , 47 | { assoc_supervisor } { 副指導教員 } , 48 | { co_supervisor } { 共同指導 } , 49 | { thesis } { 学位請求論文 } , 50 | { title_page } { 標題紙 } , 51 | { declaration } { 誓約書・公表許諾書 } , 52 | { abstract } { 要 \quad 旨 } , 53 | { keywords } { キーワード } , 54 | { info_sep } { : } , 55 | { item_sep } { \quad } 56 | } 57 | { \__sjtu_define_name:nnn { ja } #1 } 58 | \endinput 59 | %% 60 | %% End of file `sjtu-name-thesis-ja.def'. 61 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-newpx.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-newpx.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,newpx') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {New PX text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-newpx.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \tl_set:Nn \encodingdefault { T1 } 34 | \RequirePackage { newpxtext } 35 | \tl_set:Nn \ttdefault { qcr } 36 | } 37 | { 38 | \setmainfont 39 | { TeXGyrePagellaX } 40 | [ 41 | Extension = .otf, 42 | UprightFont = *-Regular, 43 | BoldFont = *-Bold, 44 | ItalicFont = *-Italic, 45 | BoldItalicFont = *-BoldItalic 46 | ] 47 | \setsansfont 48 | { texgyreheros } 49 | [ 50 | Extension = .otf, 51 | UprightFont = *-regular, 52 | BoldFont = *-bold, 53 | ItalicFont = *-italic, 54 | BoldItalicFont = *-bolditalic, 55 | Scale = 0.94, 56 | ] 57 | \setmonofont 58 | { texgyrecursor } 59 | [ 60 | Extension = .otf, 61 | UprightFont = *-regular, 62 | BoldFont = *-bold, 63 | ItalicFont = *-italic, 64 | BoldItalicFont = *-bolditalic, 65 | Ligatures = CommonOff 66 | ] 67 | } 68 | \endinput 69 | %% 70 | %% End of file `sjtu-text-font-newpx.def'. 71 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-newtx.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-newtx.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,newtx') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {New TX text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-newtx.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \tl_set:Nn \encodingdefault { T1 } 34 | \RequirePackage { newtxtext } 35 | \tl_set:Nn \ttdefault { qcr } 36 | } 37 | { 38 | \setmainfont 39 | { TeXGyreTermesX } 40 | [ 41 | Extension = .otf, 42 | UprightFont = *-Regular, 43 | BoldFont = *-Bold, 44 | ItalicFont = *-Italic, 45 | BoldItalicFont = *-BoldItalic 46 | ] 47 | \setsansfont 48 | { texgyreheros } 49 | [ 50 | Extension = .otf, 51 | UprightFont = *-regular, 52 | BoldFont = *-bold, 53 | ItalicFont = *-italic, 54 | BoldItalicFont = *-bolditalic, 55 | Scale = 0.94, 56 | ] 57 | \setmonofont 58 | { texgyrecursor } 59 | [ 60 | Extension = .otf, 61 | UprightFont = *-regular, 62 | BoldFont = *-bold, 63 | ItalicFont = *-italic, 64 | BoldItalicFont = *-bolditalic, 65 | Ligatures = CommonOff 66 | ] 67 | } 68 | \endinput 69 | %% 70 | %% End of file `sjtu-text-font-newtx.def'. 71 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-generic-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-generic-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,generic,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Japanese specific definition for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-generic-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \cs_new:Npn \__sjtu_date_aux_ja:nnn #1#2#3 32 | { 33 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_ja_tl } ~ 34 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_ja_tl } ~ 35 | \int_to_arabic:n {#3} ~ { \exp_not:V \c__sjtu_name_day_ja_tl } 36 | } 37 | \cs_new:Npn \__sjtu_date_aux_ja:w #1-#2-#3 \q_stop 38 | { \__sjtu_date_aux_ja:nnn {#1} {#2} {#3} } 39 | \cs_new:Npn \__sjtu_date_aux_short_ja:nn #1#2 40 | { 41 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_ja_tl } ~ 42 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_ja_tl } 43 | } 44 | \cs_new:Npn \__sjtu_date_aux_short_ja:w #1-#2 \q_stop 45 | { \__sjtu_date_aux_short_ja:nn {#1} {#2} } 46 | \cs_new:Nn \__sjtu_set_cjk_default_ja: 47 | { 48 | \tl_set:Nn \CJKrmdefault { jamin } 49 | \tl_set:Nn \CJKsfdefault { jagoth } 50 | \tl_set:Nn \CJKttdefault { jagoth } 51 | } 52 | \cs_new_protected:Nn \__sjtu_set_language_ja: 53 | { 54 | \ctex_set:n { autoindent = 1 } 55 | \__sjtu_set_cjk_default_ja: 56 | \normalfont 57 | } 58 | \endinput 59 | %% 60 | %% End of file `sjtu-lang-generic-ja.def'. 61 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-generic-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-generic-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,generic,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Chinese specific definition for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-generic-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \cs_new:Npn \__sjtu_date_aux_zh:nnn #1#2#3 32 | { 33 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_zh_tl } ~ 34 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_zh_tl } ~ 35 | \int_to_arabic:n {#3} ~ { \exp_not:V \c__sjtu_name_day_zh_tl } 36 | } 37 | \cs_new:Npn \__sjtu_date_aux_zh:w #1-#2-#3 \q_stop 38 | { \__sjtu_date_aux_zh:nnn {#1} {#2} {#3} } 39 | \cs_new:Npn \__sjtu_date_aux_short_zh:nn #1#2 40 | { 41 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_zh_tl } ~ 42 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_zh_tl } 43 | } 44 | \cs_new:Npn \__sjtu_date_aux_short_zh:w #1-#2 \q_stop 45 | { \__sjtu_date_aux_short_zh:nn {#1} {#2} } 46 | \cs_new:Nn \__sjtu_set_cjk_default_zh: 47 | { 48 | \tl_set:Nn \CJKrmdefault { zhsong } 49 | \tl_set:Nn \CJKsfdefault { zhhei } 50 | \tl_set:Nn \CJKttdefault { zhfs } 51 | } 52 | \cs_new_protected:Nn \__sjtu_set_language_zh: 53 | { 54 | \ctex_set:n { autoindent = true } 55 | \__sjtu_set_cjk_default_zh: 56 | \normalfont 57 | } 58 | \endinput 59 | %% 60 | %% End of file `sjtu-lang-generic-zh.def'. 61 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-windows-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-windows-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,windows,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Windows CJK fonts definition for Japanese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-windows-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { cjk } { windows } } 33 | { 34 | \setCJKmainfont { MS~Mincho } [ AutoFakeBold = 3 ] 35 | \setCJKsansfont { MS~Gothic } [ AutoFakeBold = 3 ] 36 | \setCJKmonofont { MS~Gothic } 37 | \setCJKfamilyfont { jamin } { MS~Mincho } [ AutoFakeBold = 3 ] 38 | \setCJKfamilyfont { jagoth } { MS~Gothic } [ AutoFakeBold = 3 ] 39 | \setCJKfamilyfont { zhsong } { SimSun } 40 | [ AutoFakeBold = 3 , ItalicFont = KaiTi ] 41 | \setCJKfamilyfont { zhhei } { SimHei } [ AutoFakeBold = 3 ] 42 | \setCJKfamilyfont { zhkai } { KaiTi } 43 | \setCJKfamilyfont { zhfs } { FangSong } 44 | } 45 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 46 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 47 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 48 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 49 | \NewDocumentCommand \mincho { } { \CJKfamily { jamin } } 50 | \NewDocumentCommand \gothic { } { \CJKfamily { jagoth } } 51 | \endinput 52 | %% 53 | %% End of file `sjtu-cjk-font-windows-ja.def'. 54 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-founder-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-founder-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,founder,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Founder CJK fonts definition for Japanese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-founder-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { cjk } { founder } } 33 | { 34 | \setCJKmainfont { ipam.ttf } [ AutoFakeBold = 3 ] 35 | \setCJKsansfont { ipag.ttf } [ AutoFakeBold = 3 ] 36 | \setCJKmonofont { ipag.ttf } 37 | \setCJKfamilyfont { jamin } { ipam.ttf } [ AutoFakeBold = 3 ] 38 | \setCJKfamilyfont { jagoth } { ipag.ttf } [ AutoFakeBold = 3 ] 39 | \setCJKfamilyfont { zhsong } { FZShuSong-Z01 } 40 | [ AutoFakeBold = 3 , ItalicFont = FZKai-Z03 ] 41 | \setCJKfamilyfont { zhhei } { FZHei-B01 } [ AutoFakeBold = 3 ] 42 | \setCJKfamilyfont { zhkai } { FZKai-Z03 } 43 | \setCJKfamilyfont { zhfs } { FZFangSong-Z02 } 44 | } 45 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 46 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 47 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 48 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 49 | \NewDocumentCommand \mincho { } { \CJKfamily { jamin } } 50 | \NewDocumentCommand \gothic { } { \CJKfamily { jagoth } } 51 | \endinput 52 | %% 53 | %% End of file `sjtu-cjk-font-founder-ja.def'. 54 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-windows-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-windows-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,windows,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Windows CJK fonts definition for Chinese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-windows-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { windows } 34 | \ctex_punct_set:n { windows } 35 | \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } 36 | \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } 37 | \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } 38 | } 39 | { 40 | \setCJKmainfont { SimSun } 41 | [ AutoFakeBold = 3 , ItalicFont = KaiTi ] 42 | \setCJKsansfont { SimHei } [ AutoFakeBold = 3 ] 43 | \setCJKmonofont { FangSong } 44 | \setCJKfamilyfont { zhsong } { SimSun } 45 | [ AutoFakeBold = 3 , ItalicFont = KaiTi ] 46 | \setCJKfamilyfont { zhhei } { SimHei } [ AutoFakeBold = 3 ] 47 | \setCJKfamilyfont { zhkai } { KaiTi } 48 | \setCJKfamilyfont { zhfs } { FangSong } 49 | } 50 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 51 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 52 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 53 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 54 | \endinput 55 | %% 56 | %% End of file `sjtu-cjk-font-windows-zh.def'. 57 | -------------------------------------------------------------------------------- /contents/app_maxwell_equations.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \chapter{Maxwell Equations} 4 | 5 | 选择二维情况,有如下的偏振矢量: 6 | \begin{subequations} 7 | \begin{align} 8 | {\bf E} &= E_z(r, \theta) \hat{\bf z}, \\ 9 | {\bf H} &= H_r(r, \theta) \hat{\bf r} + H_\theta(r, \theta) \hat{\bm\theta}. 10 | \end{align} 11 | \end{subequations} 12 | 对上式求旋度: 13 | \begin{subequations} 14 | \begin{align} 15 | \nabla \times {\bf E} &= \frac{1}{r} \frac{\partial E_z}{\partial\theta} 16 | \hat{\bf r} - \frac{\partial E_z}{\partial r} \hat{\bm\theta}, \\ 17 | \nabla \times {\bf H} &= \left[\frac{1}{r} \frac{\partial}{\partial r} 18 | (r H_\theta) - \frac{1}{r} \frac{\partial H_r}{\partial\theta} \right] 19 | \hat{\bf z}. 20 | \end{align} 21 | \end{subequations} 22 | 因为在柱坐标系下,$\overline{\overline\mu}$ 是对角的,所以 Maxwell 方程组中电场 23 | $\bf E$ 的旋度: 24 | \begin{subequations} 25 | \begin{align} 26 | & \nabla \times {\bf E} = \ii \omega {\bf B}, \\ 27 | & \frac{1}{r} \frac{\partial E_z}{\partial\theta} \hat{\bf r} - 28 | \frac{\partial E_z}{\partial r}\hat{\bm\theta} = \ii \omega \mu_r H_r 29 | \hat{\bf r} + \ii \omega \mu_\theta H_\theta \hat{\bm\theta}. 30 | \end{align} 31 | \end{subequations} 32 | 所以 $\bf H$ 的各个分量可以写为: 33 | \begin{subequations} 34 | \begin{align} 35 | H_r &= \frac{1}{\ii \omega \mu_r} \frac{1}{r} 36 | \frac{\partial E_z}{\partial\theta}, \\ 37 | H_\theta &= -\frac{1}{\ii \omega \mu_\theta} 38 | \frac{\partial E_z}{\partial r}. 39 | \end{align} 40 | \end{subequations} 41 | 同样地,在柱坐标系下,$\overline{\overline\epsilon}$ 是对角的,所以 Maxwell 方程 42 | 组中磁场 $\bf H$ 的旋度: 43 | \begin{subequations} 44 | \begin{align} 45 | & \nabla \times {\bf H} = -\ii \omega {\bf D}, \\ 46 | & \left[\frac{1}{r} \frac{\partial}{\partial r}(r H_\theta) - \frac{1}{r} 47 | \frac{\partial H_r}{\partial\theta} \right] \hat{\bf z} = -\ii \omega 48 | {\overline{\overline\epsilon}} {\bf E} = -\ii \omega \epsilon_z E_z 49 | \hat{\bf z}, \\ 50 | & \frac{1}{r} \frac{\partial}{\partial r}(r H_\theta) - \frac{1}{r} 51 | \frac{\partial H_r}{\partial\theta} = -\ii \omega \epsilon_z E_z. 52 | \end{align} 53 | \end{subequations} 54 | 由此我们可以得到关于 $E_z$ 的波函数方程: 55 | \begin{equation} 56 | \frac{1}{\mu_\theta \epsilon_z} \frac{1}{r} \frac{\partial}{\partial r} 57 | \left(r \frac{\partial E_z}{\partial r} \right) + \frac{1}{\mu_r \epsilon_z} 58 | \frac{1}{r^2} \frac{\partial^2E_z}{\partial\theta^2} +\omega^2 E_z = 0. 59 | \end{equation} 60 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-stixtwo.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-stixtwo.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,stixtwo') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {STIX Two text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-stixtwo.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \tl_set:Nn \encodingdefault { T1 } 34 | \tl_set:Nn \rmdefault { stix2 } 35 | \tl_set:Nn \qhv@scale { 0.94 } 36 | \tl_set:Nn \sfdefault { qhv } 37 | \tl_set:Nn \ttdefault { qcr } 38 | } 39 | { 40 | \setmainfont 41 | { STIXTwoText } 42 | [ 43 | Extension = .otf, 44 | UprightFont = *-Regular, 45 | BoldFont = *-Bold, 46 | ItalicFont = *-Italic, 47 | BoldItalicFont = *-BoldItalic 48 | ] 49 | \setsansfont 50 | { texgyreheros } 51 | [ 52 | Extension = .otf, 53 | UprightFont = *-regular, 54 | BoldFont = *-bold, 55 | ItalicFont = *-italic, 56 | BoldItalicFont = *-bolditalic, 57 | Scale = 0.94, 58 | ] 59 | \setmonofont 60 | { texgyrecursor } 61 | [ 62 | Extension = .otf, 63 | UprightFont = *-regular, 64 | BoldFont = *-bold, 65 | ItalicFont = *-italic, 66 | BoldItalicFont = *-bolditalic, 67 | Ligatures = CommonOff 68 | ] 69 | } 70 | \endinput 71 | %% 72 | %% End of file `sjtu-text-font-stixtwo.def'. 73 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-founder-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-founder-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,founder,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Founder CJK fonts definition for Chinese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-founder-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { founder } 34 | \ctex_punct_set:n { founder } 35 | \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } 36 | \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } 37 | \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } 38 | } 39 | { 40 | \setCJKmainfont { FZShuSong-Z01 } 41 | [ AutoFakeBold = 3 , ItalicFont = FZKai-Z03 ] 42 | \setCJKsansfont { FZHei-B01 } [ AutoFakeBold = 3 ] 43 | \setCJKmonofont { FZFangSong-Z02 } 44 | \setCJKfamilyfont { zhsong } { FZShuSong-Z01 } 45 | [ AutoFakeBold = 3 , ItalicFont = FZKai-Z03 ] 46 | \setCJKfamilyfont { zhhei } { FZHei-B01 } [ AutoFakeBold = 3 ] 47 | \setCJKfamilyfont { zhkai } { FZKai-Z03 } 48 | \setCJKfamilyfont { zhfs } { FZFangSong-Z02 } 49 | } 50 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 51 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 52 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 53 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 54 | \endinput 55 | %% 56 | %% End of file `sjtu-cjk-font-founder-zh.def'. 57 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-thesis-en.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-thesis-en.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,thesis,en') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {English name config for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-thesis-en.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_const:Nn \c__sjtu_name_month_en_clist 32 | { 33 | January, February, March, April, May, June, 34 | July, August, September, October, November, December 35 | } 36 | \__sjtu_define_name_from_clist:nnnn { en } 37 | { degree_level } { \g__sjtu_thesis_type_int } 38 | { Bachelor, Master, Doctor } 39 | \clist_map_inline:nn 40 | { 41 | { univ } { Shanghai~ Jiao~ Tong~ University } , 42 | { address } { Shanghai,~ P.R.~ China } , 43 | { author } { Author } , 44 | { supervisor } { Supervisor } , 45 | { assoc_supervisor } { Assoc.~ Supervisor } , 46 | { co_supervisor } { Co-supervisor } , 47 | { title_page } { Title~ Page } , 48 | { declaration } { Statutory~ Declaration } , 49 | { abstract } { Abstract } , 50 | { keywords } { Key~words } , 51 | { info_sep } { :~ } , 52 | { item_sep } { ,~ } 53 | } 54 | { \__sjtu_define_name:nnn { en } #1 } 55 | \endinput 56 | %% 57 | %% End of file `sjtu-name-thesis-en.def'. 58 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-thesis-de.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-thesis-de.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,thesis,de') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {German name config for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-thesis-de.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_const:Nn \c__sjtu_name_month_de_clist 32 | { 33 | Januar, Februar, März, April, Mai, Juni, 34 | Juli, August, September, Oktober, November, Dezember 35 | } 36 | \__sjtu_define_name_from_clist:nnnn { de } 37 | { degree_level } { \g__sjtu_thesis_type_int } 38 | { Bachelor, Master, Doktor } 39 | \clist_map_inline:nn 40 | { 41 | { univ } { Shanghai~ Jiao~ Tong~ Universität } , 42 | { address } { Shanghai,~ VR~ China } , 43 | { author } { Autor/in } , 44 | { supervisor } { Betreuer/in } , 45 | { assoc_supervisor } { Zweitbetreuer/in } , 46 | { co_supervisor } { Co-Betreuer/in } , 47 | { title_page } { Titelblatt } , 48 | { declaration } { Eidesstattliche~ Erklärung } , 49 | { abstract } { Abstrakt } , 50 | { keywords } { Schlüsselwörter } , 51 | { info_sep } { :~ } , 52 | { item_sep } { ,~ } 53 | } 54 | { \__sjtu_define_name:nnn { de } #1 } 55 | \endinput 56 | %% 57 | %% End of file `sjtu-name-thesis-de.def'. 58 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-generic-en.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-generic-en.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,generic,en') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {English specific definition for generic (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-generic-en.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \cs_new:Npn \__sjtu_ordinal_en:n #1 32 | { 33 | \int_to_arabic:n {#1} 34 | \exp_not:N \textsuperscript 35 | { 36 | \int_case:nnF { \int_mod:nn {#1} { 100 } } 37 | { 38 | { 11 } { th } 39 | { 12 } { th } 40 | { 13 } { th } 41 | } 42 | { 43 | \int_case:nnF { \int_mod:nn {#1} { 10 } } 44 | { 45 | { 1 } { st } 46 | { 2 } { nd } 47 | { 3 } { rd } 48 | } 49 | { th } 50 | } 51 | } 52 | } 53 | \cs_new:Npn \__sjtu_date_aux_en:nnn #1#2#3 54 | { 55 | \clist_item:Nn \c__sjtu_name_month_en_clist {#2} ~ 56 | \__sjtu_ordinal_en:n {#3} ,~ 57 | \int_to_arabic:n {#1} 58 | } 59 | \cs_new:Npn \__sjtu_date_aux_en:w #1-#2-#3 \q_stop 60 | { \__sjtu_date_aux_en:nnn {#1} {#2} {#3} } 61 | \cs_new:Npn \__sjtu_date_aux_short_en:nn #1#2 62 | { 63 | \clist_item:Nn \c__sjtu_name_month_en_clist {#2} ,~ 64 | \int_to_arabic:n {#1} 65 | } 66 | \cs_new:Npn \__sjtu_date_aux_short_en:w #1-#2 \q_stop 67 | { \__sjtu_date_aux_short_en:nn {#1} {#2} } 68 | \cs_new_protected:Nn \__sjtu_set_language_en: 69 | { 70 | \ctex_set:n { autoindent = 1.5 em } 71 | \normalfont 72 | } 73 | \endinput 74 | %% 75 | %% End of file `sjtu-lang-generic-en.def'. 76 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-adobe-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-adobe-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,adobe,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Adobe CJK fonts definition for Chinese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-adobe-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nnn 32 | { \__sjtu_fontset_error:nn { cjk } { adobe } } 33 | { 34 | \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { adobe } 35 | \ctex_punct_set:n { adobe } 36 | \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } 37 | \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } 38 | \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } 39 | } 40 | { 41 | \setCJKmainfont { AdobeSongStd-Light } 42 | [ AutoFakeBold = 3 , ItalicFont = AdobeKaitiStd-Regular ] 43 | \setCJKsansfont { AdobeHeitiStd-Regular } [ AutoFakeBold = 3 ] 44 | \setCJKmonofont { AdobeFangsongStd-Regular } 45 | \setCJKfamilyfont { zhsong } { AdobeSongStd-Light } 46 | [ AutoFakeBold = 3 , ItalicFont = AdobeKaitiStd-Regular ] 47 | \setCJKfamilyfont { zhhei } { AdobeHeitiStd-Regular } [ AutoFakeBold = 3 ] 48 | \setCJKfamilyfont { zhfs } { AdobeFangsongStd-Regular } 49 | \setCJKfamilyfont { zhkai } { AdobeKaitiStd-Regular } 50 | } 51 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 52 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 53 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 54 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 55 | \endinput 56 | %% 57 | %% End of file `sjtu-cjk-font-adobe-zh.def'. 58 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-lm.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-lm.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,lm') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Latin Modern math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-lm.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \RequirePackage { amssymb, upgreek } 32 | \SetSymbolFont { operators } { normal } { OT1 } { lmr } { m } { n } 33 | \SetSymbolFont { letters } { normal } { OML } { lmm } { m } { it } 34 | \SetSymbolFont { symbols } { normal } { OMS } { lmsy } { m } { n } 35 | \SetSymbolFont { largesymbols } { normal } { OMX } { lmex } { m } { n } 36 | \SetSymbolFont { operators } { bold } { OT1 } { lmr } { bx } { n } 37 | \SetSymbolFont { letters } { bold } { OML } { lmm } { b } { it } 38 | \SetSymbolFont { symbols } { bold } { OMS } { lmsy } { b } { n } 39 | \SetSymbolFont { largesymbols } { bold } { OMX } { lmex } { m } { n } 40 | \SetMathAlphabet { \mathbf } { normal } { OT1 } { lmr } { bx } { n } 41 | \SetMathAlphabet { \mathsf } { normal } { OT1 } { lmss } { m } { n } 42 | \SetMathAlphabet { \mathit } { normal } { OT1 } { lmr } { m } { it } 43 | \SetMathAlphabet { \mathtt } { normal } { OT1 } { lmtt } { m } { n } 44 | \SetMathAlphabet { \mathbf } { bold } { OT1 } { lmr } { bx } { n } 45 | \SetMathAlphabet { \mathsf } { bold } { OT1 } { lmss } { bx } { n } 46 | \SetMathAlphabet { \mathit } { bold } { OT1 } { lmr } { bx } { it } 47 | \SetMathAlphabet { \mathtt } { bold } { OT1 } { lmtt } { m } { n } 48 | \bool_if:NT \g__sjtu_upright_integral_bool 49 | { \RequirePackage { cmupint } } 50 | \RequirePackage { bm } 51 | \__sjtu_set_slanted_greek: 52 | \__sjtu_set_unimath_symbol: 53 | \endinput 54 | %% 55 | %% End of file `sjtu-math-font-lm.def'. 56 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-adobe-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-adobe-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,adobe,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Adobe CJK fonts definition for Japanese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-adobe-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { cjk } { adobe } } 33 | { 34 | \setCJKmainfont { Kozuka~Mincho~Pr6N } 35 | [ 36 | UprightFont = *~L , 37 | BoldFont = *~B 38 | ] 39 | \setCJKsansfont { Kozuka~Gothic~Pr6N } 40 | [ 41 | UprightFont = *~M , 42 | BoldFont = *~B 43 | ] 44 | \setCJKmonofont { Kozuka~Gothic~Pr6N } 45 | \setCJKfamilyfont { jamin } { Kozuka~Mincho~Pr6N } 46 | [ 47 | UprightFont = *~L , 48 | BoldFont = *~B 49 | ] 50 | \setCJKfamilyfont { jagoth } { Kozuka~Gothic~Pr6N } 51 | [ 52 | UprightFont = *~M , 53 | BoldFont = *~B 54 | ] 55 | \setCJKfamilyfont { zhsong } { AdobeSongStd-Light } 56 | [ AutoFakeBold = 3 , ItalicFont = AdobeKaitiStd-Regular ] 57 | \setCJKfamilyfont { zhhei } { AdobeHeitiStd-Regular } [ AutoFakeBold = 3 ] 58 | \setCJKfamilyfont { zhfs } { AdobeFangsongStd-Regular } 59 | \setCJKfamilyfont { zhkai } { AdobeKaitiStd-Regular } 60 | } 61 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 62 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 63 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 64 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 65 | \NewDocumentCommand \mincho { } { \CJKfamily { jamin } } 66 | \NewDocumentCommand \gothic { } { \CJKfamily { jagoth } } 67 | \endinput 68 | %% 69 | %% End of file `sjtu-cjk-font-adobe-ja.def'. 70 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-stixtwo.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-stixtwo.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,stixtwo') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {STIX Two math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-stixtwo.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { 33 | \PassOptionsToPackage { notext } { stix2 } 34 | \RequirePackage { upgreek, stix2, bm } 35 | \__sjtu_set_slanted_greek: 36 | } 37 | { 38 | \RequirePackage { unicode-math } 39 | \bool_if:NTF \g__sjtu_upright_integral_bool 40 | { 41 | \setmathfont { STIXTwoMath-Regular.otf } 42 | [ StylisticSet = 8 ] 43 | } 44 | { \setmathfont { STIXTwoMath-Regular.otf } } 45 | \setmathfont { STIXTwoMath-Regular.otf } 46 | [ 47 | range = { scr, bfscr }, 48 | StylisticSet = 1 49 | ] 50 | \setmathrm 51 | { STIXTwoText } 52 | [ 53 | Extension = .otf, 54 | UprightFont = *-Regular, 55 | BoldFont = *-Bold, 56 | ItalicFont = *-Italic, 57 | BoldItalicFont = *-BoldItalic 58 | ] 59 | \setmathsf 60 | { texgyreheros } 61 | [ 62 | Extension = .otf, 63 | UprightFont = *-regular, 64 | BoldFont = *-bold, 65 | ItalicFont = *-italic, 66 | BoldItalicFont = *-bolditalic, 67 | Scale = 0.94, 68 | ] 69 | \setmathtt 70 | { texgyrecursor } 71 | [ 72 | Extension = .otf, 73 | UprightFont = *-regular, 74 | BoldFont = *-bold, 75 | ItalicFont = *-italic, 76 | BoldItalicFont = *-bolditalic, 77 | Ligatures = CommonOff 78 | ] 79 | } 80 | \endinput 81 | %% 82 | %% End of file `sjtu-math-font-stixtwo.def'. 83 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-ubuntu-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-ubuntu-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,ubuntu,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Ubuntu CJK fonts definition for Chinese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-ubuntu-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nnn 32 | { \__sjtu_fontset_error:nn { cjk } { ubuntu } } 33 | { 34 | \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhsong } { ubuntu } 35 | \ctex_punct_set:n { ubuntu } 36 | \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } 37 | \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } 38 | \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } 39 | } 40 | { 41 | \setCJKmainfont { Noto~Serif~CJK~SC } 42 | [ 43 | UprightFont = *~Light , 44 | BoldFont = *~Bold , 45 | ItalicFont = AR~PL~KaitiM~GB 46 | ] 47 | \setCJKsansfont { Noto~Sans~CJK~SC } 48 | [ 49 | UprightFont = *~Medium , 50 | BoldFont = *~Bold 51 | ] 52 | \setCJKmonofont { Noto~Sans~Mono~CJK~SC } 53 | \setCJKfamilyfont { zhsong } { Noto~Serif~CJK~SC } 54 | [ 55 | UprightFont = *~Light , 56 | BoldFont = *~Bold , 57 | ItalicFont = AR~PL~KaitiM~GB 58 | ] 59 | \setCJKfamilyfont { zhhei } { Noto~Sans~CJK~SC } 60 | [ 61 | UprightFont = *~Medium , 62 | BoldFont = *~Bold 63 | ] 64 | \setCJKfamilyfont { zhfs } { Noto~Sans~Mono~CJK~JP } 65 | \setCJKfamilyfont { zhkai } { AR~PL~KaitiM~GB } 66 | } 67 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 68 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 69 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 70 | \endinput 71 | %% 72 | %% End of file `sjtu-cjk-font-ubuntu-zh.def'. 73 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-ubuntu-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-ubuntu-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,ubuntu,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Ubuntu CJK fonts definition for Japanese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-ubuntu-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { cjk } { ubuntu } } 33 | { 34 | \setCJKmainfont { Noto~Serif~CJK~JP } 35 | [ 36 | UprightFont = *~Light , 37 | BoldFont = *~Bold 38 | ] 39 | \setCJKsansfont { Noto~Sans~CJK~JP } 40 | [ 41 | UprightFont = *~Medium , 42 | BoldFont = *~Bold 43 | ] 44 | \setCJKmonofont { Noto~Sans~Mono~CJK~JP } 45 | \setCJKfamilyfont { jamin } { Noto~Serif~CJK~JP } 46 | [ 47 | UprightFont = *~Light , 48 | BoldFont = *~Bold 49 | ] 50 | \setCJKfamilyfont { jagoth } { Noto~Sans~CJK~JP } 51 | [ 52 | UprightFont = *~Medium , 53 | BoldFont = *~Bold 54 | ] 55 | \setCJKfamilyfont { zhsong } { Noto~Serif~CJK~SC } 56 | [ 57 | UprightFont = *~Light , 58 | BoldFont = *~Bold , 59 | ItalicFont = AR~PL~KaitiM~GB 60 | ] 61 | \setCJKfamilyfont { zhhei } { Noto~Sans~CJK~SC } 62 | [ 63 | UprightFont = *~Medium , 64 | BoldFont = *~Bold 65 | ] 66 | \setCJKfamilyfont { zhfs } { Noto~Sans~Mono~CJK~JP } 67 | \setCJKfamilyfont { zhkai } { AR~PL~KaitiM~GB } 68 | } 69 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 70 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 71 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 72 | \NewDocumentCommand \mincho { } { \CJKfamily { jamin } } 73 | \NewDocumentCommand \gothic { } { \CJKfamily { jagoth } } 74 | \endinput 75 | %% 76 | %% End of file `sjtu-cjk-font-ubuntu-ja.def'. 77 | -------------------------------------------------------------------------------- /contents/digest.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \begin{digest} 4 | An imperial edict issued in 1896 by Emperor Guangxu, established Nanyang 5 | Public School in Shanghai. The normal school, school of foreign studies, 6 | middle school and a high school were established. Sheng Xuanhuai, the person 7 | responsible for proposing the idea to the emperor, became the first president 8 | and is regarded as the founder of the university. 9 | 10 | During the 1930s, the university gained a reputation of nurturing top 11 | engineers. After the foundation of People's Republic, some faculties were 12 | transferred to other universities. A significant amount of its faculty were 13 | sent in 1956, by the national government, to Xi'an to help build up Xi'an Jiao 14 | Tong University in western China. Afterwards, the school was officially 15 | renamed Shanghai Jiao Tong University. 16 | 17 | Since the reform and opening up policy in China, SJTU has taken the lead in 18 | management reform of institutions for higher education, regaining its vigor 19 | and vitality with an unprecedented momentum of growth. SJTU includes five 20 | beautiful campuses, Xuhui, Minhang, Luwan Qibao, and Fahua, taking up an area 21 | of about 3,225,833 m2. A number of disciplines have been advancing towards the 22 | top echelon internationally, and a batch of burgeoning branches of learning 23 | have taken an important position domestically. 24 | 25 | Today SJTU has 31 schools (departments), 63 undergraduate programs, 250 26 | masters-degree programs, 203 Ph.D. programs, 28 post-doctorate programs, and 27 | 11 state key laboratories and national engineering research centers. 28 | 29 | SJTU boasts a large number of famous scientists and professors, including 35 30 | academics of the Academy of Sciences and Academy of Engineering, 95 accredited 31 | professors and chair professors of the "Cheung Kong Scholars Program" and more 32 | than 2,000 professors and associate professors. 33 | 34 | Its total enrollment of students amounts to 35,929, of which 1,564 are 35 | international students. There are 16,802 undergraduates, and 17,563 masters 36 | and Ph.D. candidates. After more than a century of operation, Jiao Tong 37 | University has inherited the old tradition of "high starting points, solid 38 | foundation, strict requirements and extensive practice." Students from SJTU 39 | have won top prizes in various competitions, including ACM International 40 | Collegiate Programming Contest, International Mathematical Contest in Modeling 41 | and Electronics Design Contests. Famous alumni include Jiang Zemin, Lu Dingyi, 42 | Ding Guangen, Wang Daohan, Qian Xuesen, Wu Wenjun, Zou Taofen, Mao Yisheng, 43 | Cai Er, Huang Yanpei, Shao Lizi, Wang An and many more. More than 200 of the 44 | academics of the Chinese Academy of Sciences and Chinese Academy of 45 | Engineering are alumni of Jiao Tong University. 46 | \end{digest} 47 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-xits.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-xits.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,xits') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {XITS math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-xits.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { math } { xits } } 33 | { 34 | \RequirePackage { unicode-math } 35 | \bool_if:NTF \g__sjtu_upright_integral_bool 36 | { 37 | \setmathfont { XITSMath-Regular } 38 | [ 39 | Extension = .otf, 40 | BoldFont = XITSMath-Bold, 41 | StylisticSet = 8 42 | ] 43 | } 44 | { 45 | \setmathfont { XITSMath-Regular } 46 | [ 47 | Extension = .otf, 48 | BoldFont = XITSMath-Bold, 49 | ] 50 | } 51 | \setmathfont { XITSMath-Regular.otf } 52 | [ 53 | range = { cal, bfcal }, 54 | StylisticSet = 1 55 | ] 56 | \setmathrm 57 | { XITS } 58 | [ 59 | Extension = .otf, 60 | UprightFont = *-Regular, 61 | BoldFont = *-Bold, 62 | ItalicFont = *-Italic, 63 | BoldItalicFont = *-BoldItalic 64 | ] 65 | \setmathsf 66 | { texgyreheros } 67 | [ 68 | Extension = .otf, 69 | UprightFont = *-regular, 70 | BoldFont = *-bold, 71 | ItalicFont = *-italic, 72 | BoldItalicFont = *-bolditalic, 73 | Scale = 0.94, 74 | ] 75 | \setmathtt 76 | { texgyrecursor } 77 | [ 78 | Extension = .otf, 79 | UprightFont = *-regular, 80 | BoldFont = *-bold, 81 | ItalicFont = *-italic, 82 | BoldItalicFont = *-bolditalic, 83 | Ligatures = CommonOff 84 | ] 85 | } 86 | \endinput 87 | %% 88 | %% End of file `sjtu-math-font-xits.def'. 89 | -------------------------------------------------------------------------------- /README_en-US.md: -------------------------------------------------------------------------------- 1 | # Sample Template of SJTUThesis 2 | 3 | [![Build Status](https://github.com/sjtug/SJTUThesis/actions/workflows/build.yml/badge.svg)](https://github.com/sjtug/SJTUThesis/actions) 4 | [![SJTUTeX](https://img.shields.io/github/v/release/sjtug/SJTUTeX?label=SJTUTeX)](https://github.com/sjtug/SJTUTeX) 5 | [![Join Discussions](https://img.shields.io/github/discussions/sjtug/SJTUThesis)](https://github.com/sjtug/SJTUThesis/discussions) 6 | 7 | ## Welcome to LaTeX thesis template for Shanghai Jiao Tong University 8 | 9 | This sample template is a full implementation of SJTUThesis document class which is an *unofficial* LaTeX class for preparing degree theses or course papers at Shanghai Jiao Tong University. 10 | 11 | Please note that `sjtuthesis` supports both XeTeX and LuaTeX engine, `sjtuthesis` only allows UTF-8 character encoding. 12 | 13 | ## Obtain Template 14 | 15 | ### Downloads 16 | 17 | You can `clone` this repository directly or download it from [GitHub](https://github.com/sjtug/SJTUThesis). 18 | 19 | ```bash 20 | git clone https://github.com/sjtug/SJTUThesis.git 21 | ``` 22 | 23 | ### Overleaf 24 | 25 | If you are an [Overleaf](https://www.overleaf.com?r=sdkbtJ4qGS8kDZQQ&rm=d&rs=b) user, you can create your own project through the link below. 26 | 27 | [![Overleaf](https://img.shields.io/badge/Overleaf-SJTUThesis-green.svg)](https://www.overleaf.com/latex/templates/sjtuthesis-latex-thesis-template-for-shanghai-jiao-tong-university/mkdwbyjbtfgg?r=sdkbtJ4qGS8kDZQQ&rm=d&rs=b) 28 | 29 | ## Usage 30 | 31 | ### Linux & macOS Users 32 | 33 | It is recommended to use GNU make utility with `Makefile` provided in the template. 34 | 35 | ```bash 36 | make all # compile and generate main.pdf 37 | make clean # remove useless files 38 | make cleanall # remove everything produced by make all 39 | make wordcount # count the words of the thesis 40 | ``` 41 | 42 | ### Windows Users 43 | 44 | We also provided a batch script `Compile.bat` for Windows users. You can double-click the batch file to compile instantly, or use it in Command Prompt to access extra features. 45 | 46 | ```bash 47 | .\Compile.bat thesis # compile and generate main.pdf 48 | .\Compile.bat clean # remove useless files 49 | .\Compile.bat cleanall # remove everything produced by make all 50 | .\Compile.bat wordcount # count the words of the thesis 51 | ``` 52 | 53 | ## Feedback 54 | 55 | We are hearing from: 56 | 57 | * [Discussions page of GitHub](https://github.com/sjtug/SJTUThesis/discussions) (Recommended for usage problems) 58 | * [Issues page of GitHub](https://github.com/sjtug/SJTUThesis/issues) 59 | 60 | 61 | ## License 62 | 63 | The copyright of image sources including SJTU logo (`sjtu-vi-logo-blue.pdf` etc.) 64 | belongs to Shanghai Jiao Tong University. 65 | 66 | `sjtuthesis.cls` document class with related files are under [LPPL](https://www.latex-project.org/lppl.txt). 67 | 68 | The remaining parts are under [Apache License 2.0](LICENSE). 69 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-mac-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-mac-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,mac,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {macOS CJK fonts definition for Chinese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-mac-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nnn 32 | { \__sjtu_fontset_error:nn { cjk } { mac } } 33 | { 34 | \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { mac } 35 | \ctex_punct_set:n { mac } 36 | \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } 37 | \ctex_punct_map_family:nn { \CJKsfdefault } { zhpf } 38 | \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhpf } 39 | \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } 40 | } 41 | { 42 | \setCJKmainfont { Songti~SC } 43 | [ 44 | UprightFont = *~Light , 45 | BoldFont = *~Bold , 46 | ItalicFont = Kaiti~SC~Regular , 47 | BoldItalicFont = Kaiti~SC~Bold 48 | ] 49 | \setCJKsansfont { Heiti~SC } 50 | [ 51 | UprightFont = *~Medium , 52 | AutoFakeBold = 3 53 | ] 54 | \setCJKmonofont { STFangsong } 55 | \setCJKfamilyfont { zhsong } { Songti~SC } 56 | [ 57 | UprightFont = *~Light , 58 | BoldFont = *~Bold , 59 | ItalicFont = Kaiti~SC~Regular , 60 | BoldItalicFont = Kaiti~SC~Bold 61 | ] 62 | \setCJKfamilyfont { zhhei } { Heiti~SC } 63 | [ 64 | UprightFont = *~Medium , 65 | AutoFakeBold = 3 66 | ] 67 | \setCJKfamilyfont { zhfs } { STFangsong } 68 | \setCJKfamilyfont { zhkai } { Kaiti~SC } 69 | [ 70 | UprightFont = *~Regular , 71 | BoldFont = *~Bold 72 | ] 73 | } 74 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 75 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 76 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 77 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 78 | \endinput 79 | %% 80 | %% End of file `sjtu-cjk-font-mac-zh.def'. 81 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-mac-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-mac-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,mac,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {macOS CJK fonts definition for Japanese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-mac-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { cjk } { mac } } 33 | { 34 | \setCJKmainfont { Hiragino~Mincho~ProN } 35 | [ 36 | UprightFont = *~W3 , 37 | BoldFont = *~W6 38 | ] 39 | \setCJKsansfont { Hiragino~Kaku~Gothic~ProN } 40 | [ 41 | UprightFont = *~W3 , 42 | BoldFont = *~W6 43 | ] 44 | \setCJKmonofont { Hiragino~Kaku~Gothic~ProN } 45 | \setCJKfamilyfont { jamin } { Hiragino~Mincho~ProN } 46 | [ 47 | UprightFont = *~W3 , 48 | BoldFont = *~W6 49 | ] 50 | \setCJKfamilyfont { jagoth } { Hiragino~Kaku~Gothic~ProN } 51 | [ 52 | UprightFont = *~W3 , 53 | BoldFont = *~W6 54 | ] 55 | \setCJKfamilyfont { zhsong } { Songti~SC } 56 | [ 57 | UprightFont = *~Light , 58 | BoldFont = *~Bold , 59 | ItalicFont = Kaiti~SC~Regular , 60 | BoldItalicFont = Kaiti~SC~Bold 61 | ] 62 | \setCJKfamilyfont { zhhei } { Heiti~SC } 63 | [ 64 | UprightFont = *~Medium , 65 | AutoFakeBold = 3 66 | ] 67 | \setCJKfamilyfont { zhfs } { STFangsong } 68 | \setCJKfamilyfont { zhkai } { Kaiti~SC } 69 | [ 70 | UprightFont = *~Regular , 71 | BoldFont = *~Bold 72 | ] 73 | } 74 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 75 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 76 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 77 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 78 | \NewDocumentCommand \mincho { } { \CJKfamily { jamin } } 79 | \NewDocumentCommand \gothic { } { \CJKfamily { jagoth } } 80 | \endinput 81 | %% 82 | %% End of file `sjtu-cjk-font-mac-ja.def'. 83 | -------------------------------------------------------------------------------- /Compile.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | chcp 65001 >nul 4 | 5 | call :setESC 6 | 7 | set THESIS=main 8 | 9 | set flag=%1 10 | if %flag%x == x ( 11 | set flag=thesis 12 | ) 13 | 14 | if %flag%x == thesisx ( 15 | call :cleanall 16 | call :thesis 17 | if ERRORLEVEL 1 ( 18 | echo. 19 | echo %ESC%[31mError! Please check the %ESC%[7m'%THESIS%.log'%ESC%[0;31m for more details . . .%ESC%[0m 20 | pause 21 | ) else ( 22 | call :clean 23 | echo %ESC%[32mFinished!%ESC%[0m 24 | pause 25 | ) 26 | goto :EOF 27 | ) 28 | 29 | if %flag%x == cleanx ( 30 | call :clean 31 | goto :EOF 32 | ) 33 | 34 | if %flag%x == cleanallx ( 35 | call :cleanall 36 | goto :EOF 37 | ) 38 | 39 | if %flag%x == wordcountx ( 40 | call :wordcount 41 | goto :EOF 42 | ) 43 | 44 | :help 45 | echo %ESC%[33mThis is the compile batch script for SJTUThesis. 46 | echo Usage: 47 | echo compile.bat [option] 48 | echo options: 49 | echo thesis Compile the thesis (default) 50 | echo clean Clean all work files 51 | echo cleanall Clean all work files and main.pdf 52 | echo wordcount Count words in main.pdf 53 | echo help Print this help message%ESC%[0m 54 | goto :EOF 55 | 56 | :thesis 57 | echo %ESC%[33mCompile . . .%ESC%[0m 58 | latexmk -quiet -file-line-error -halt-on-error -interaction=nonstopmode %THESIS% 2>nul 59 | goto :EOF 60 | 61 | :clean 62 | echo %ESC%[33mClean files . . .%ESC%[0m 63 | latexmk -quiet -c %THESIS% 2>nul 64 | goto :EOF 65 | 66 | :cleanall 67 | echo %ESC%[33mClean files . . .%ESC%[0m 68 | latexmk -quiet -C %THESIS% 2>nul 69 | if exist %THESIS%.pdf ( 70 | echo %ESC%[31mClose the file: %ESC%[7m'%THESIS%.pdf'%ESC%[0;31m!%ESC%[0m 71 | pause 72 | call :cleanall 73 | ) 74 | goto :EOF 75 | 76 | :wordcount 77 | set found=0 78 | setlocal enabledelayedexpansion 79 | 80 | findstr \R \C:"\\documentclass\[[^\[]*lang *= *en" %THESIS%.tex > nul 81 | if %errorlevel% equ 0 ( 82 | for /f "delims=" %%i in ('texcount %THESIS%.tex -inc -char-only 2^>nul') do ( 83 | if !found! equ 1 ( 84 | echo %ESC%[33m英文字符数 :%ESC%[36m!%%i!%ESC%[0m 85 | goto :total 86 | ) 87 | echo %%i | findstr "total" > nul && set found=1 88 | ) 89 | ) else ( 90 | for /f "delims=" %%i in ('texcount %THESIS%.tex -inc -ch-only 2^>nul') do ( 91 | if !found! equ 1 ( 92 | echo %ESC%[33m纯中文字数 :%ESC%[36m!%%i!%ESC%[0m 93 | goto :total 94 | ) 95 | echo %%i | findstr "total" > nul && set found=1 96 | ) 97 | ) 98 | 99 | :total 100 | set found=0 101 | for /f "delims=" %%i in ('texcount %THESIS%.tex -inc -chinese 2^>nul') do ( 102 | if !found! equ 1 ( 103 | echo %ESC%[33m总字数(英文单词 + 中文字) :%ESC%[36m!%%i!%ESC%[0m 104 | goto :EOF 105 | ) 106 | echo %%i | findstr "total" > nul && set found=1 107 | ) 108 | goto :EOF 109 | 110 | :setESC 111 | for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do ( 112 | set ESC=%%b 113 | exit /B 0 114 | ) 115 | exit /B 0 116 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-scheme-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-scheme-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `scheme,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Japanese scheme (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-scheme-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \keys_set_known:nn { sjtu / name } 32 | { 33 | contents = { 目 \quad 次 } , 34 | listfigure = { 図目次 } , 35 | listtable = { 表目次 } , 36 | figure = { 図 } , 37 | table = { 表 } , 38 | abstract = { 概 \quad 要 } , 39 | index = { 索 \quad 引 } , 40 | appendix = { 付録 } , 41 | proof = { 证明 } , 42 | bib = { 参考文献 } , 43 | figure* = { Figure } , 44 | table* = { Table } , 45 | algorithm = { アルゴリズム } , 46 | listalgorithm = { アルゴリズム目次 } , 47 | abbr = { 略語表 } , 48 | nom = { 記号表 } , 49 | ack = { 謝 \quad 辞 } , 50 | resume = { 履歴書 } , 51 | digest = { 要 \quad 約 } , 52 | achv = { 研究業績書 } 53 | } 54 | \keys_set_known:nn { ctex / chapter } 55 | { 56 | name = { 第 , 章 } , 57 | number = \chinese { chapter } 58 | } 59 | \ctex_if_autoindent_touched:F 60 | { \ctex_set:n { autoindent = 1 } } 61 | \ctex_patch_cmd:Nnn \verse { -1.5em } { -2 \ccwd } 62 | \ctex_patch_cmd:Nnn \verse { 1.5em } { 2 \ccwd } 63 | \ctex_patch_cmd:Nnn \quotation { 1.5em } { \parindent } 64 | \keys_set:nn { sjtu / style } 65 | { fnmark-style = circled } 66 | \clist_map_inline:nn 67 | { 68 | { assumption } { 仮定 } , 69 | { axiom } { 公理 } , 70 | { conjecture } { 予想 } , 71 | { corollary } { 系 } , 72 | { definition } { 定義 } , 73 | { example } { 例 } , 74 | { exercise } { 練習 } , 75 | { lemma } { 補題 } , 76 | { problem } { 問題 } , 77 | { proposition } { 命題 } , 78 | { remark } { 注意 } , 79 | { solution } { 解法 } , 80 | { theorem } { 定理 } 81 | } 82 | { \__sjtu_define_name:nn #1 } 83 | \endinput 84 | %% 85 | %% End of file `sjtu-scheme-ja.def'. 86 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-scheme-de.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-scheme-de.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `scheme,de') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {German scheme (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-scheme-de.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \keys_set_known:nn { sjtu / name } 32 | { 33 | contents = { Inhaltsverzeichnis } , 34 | listfigure = { Abbildungsverzeichnis } , 35 | listtable = { Tabellenverzeichnis } , 36 | figure = { Abbildung } , 37 | table = { Tabelle } , 38 | abstract = { Zusammenfassung } , 39 | index = { Index } , 40 | appendix = { Anhang } , 41 | proof = { Beweis } , 42 | bib = { Literaturverzeichnis } , 43 | part = { Teil } , 44 | chapter = { Kapitel } , 45 | figure* = { Figure } , 46 | table* = { Table } , 47 | algorithm = { Algorithmus } , 48 | listalgorithm = { Algorithmenverzeichnis } , 49 | abbr = { Abkürzungsverzeichnis } , 50 | nom = { Symbolverzeichnis } , 51 | ack = { Danksagungen } , 52 | resume = { Lebenslauf } , 53 | digest = { Kurzfassung } , 54 | achv = { Forschungsleistungen } 55 | } 56 | \ctex_if_autoindent_touched:F 57 | { \ctex_set:n { autoindent = 1.5 em } } 58 | \ctex_patch_cmd:Nnn \quotation { 1.5em } { \parindent } 59 | \keys_set:nn { sjtu / style } 60 | { fnmark-style = plain } 61 | \clist_map_inline:nn 62 | { 63 | { assumption } { Annahme } , 64 | { axiom } { Axiom } , 65 | { conjecture } { Hypothese } , 66 | { corollary } { Korollar } , 67 | { definition } { Definition } , 68 | { example } { Beispiel } , 69 | { exercise } { Übung } , 70 | { lemma } { Lemma } , 71 | { problem } { Problem } , 72 | { proposition } { Proposition } , 73 | { remark } { Anmerkung } , 74 | { solution } { Lösung } , 75 | { theorem } { Theorem } 76 | } 77 | { \__sjtu_define_name:nn #1 } 78 | \endinput 79 | %% 80 | %% End of file `sjtu-scheme-de.def'. 81 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-scheme-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-scheme-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `scheme,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Chinese scheme (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-scheme-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \keys_set_known:nn { sjtu / name } 32 | { 33 | contents = { 目 \quad 录 } , 34 | listfigure = { 插 \quad 图 } , 35 | listtable = { 表 \quad 格 } , 36 | figure = { 图 } , 37 | table = { 表 } , 38 | abstract = { 摘 \quad 要 } , 39 | index = { 索 \quad 引 } , 40 | appendix = { 附录 } , 41 | proof = { 证明 } , 42 | bib = { 参考文献 } , 43 | figure* = { Figure } , 44 | table* = { Table } , 45 | algorithm = { 算法 } , 46 | listalgorithm = { 算 \quad 法 } , 47 | abbr = { 缩略语对照表 } , 48 | nom = { 符号对照表 } , 49 | ack = { 致 \quad 谢 } , 50 | resume = { 个人简历 } , 51 | digest = { 大摘要 } , 52 | achv = { 学术论文和科研成果目录 } 53 | } 54 | \keys_set_known:nn { ctex / chapter } 55 | { 56 | name = { 第 , 章 } , 57 | number = \chinese { chapter } 58 | } 59 | \ctex_if_autoindent_touched:F 60 | { \ctex_set:n { autoindent = true } } 61 | \ctex_patch_cmd:Nnn \verse { -1.5em } { -2 \ccwd } 62 | \ctex_patch_cmd:Nnn \verse { 1.5em } { 2 \ccwd } 63 | \ctex_patch_cmd:Nnn \quotation { 1.5em } { \parindent } 64 | \keys_set:nn { sjtu / style } 65 | { fnmark-style = circled } 66 | \clist_map_inline:nn 67 | { 68 | { assumption } { 假设 } , 69 | { axiom } { 公理 } , 70 | { conjecture } { 猜想 } , 71 | { corollary } { 推论 } , 72 | { definition } { 定义 } , 73 | { example } { 例 } , 74 | { exercise } { 练习 } , 75 | { lemma } { 引理 } , 76 | { problem } { 问题 } , 77 | { proposition } { 命题 } , 78 | { remark } { 注 } , 79 | { solution } { 解 } , 80 | { theorem } { 定理 } 81 | } 82 | { \__sjtu_define_name:nn #1 } 83 | \endinput 84 | %% 85 | %% End of file `sjtu-scheme-zh.def'. 86 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-fandol-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-fandol-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,fandol,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Fandol CJK fonts definition for Chinese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-fandol-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nnn 32 | { \__sjtu_fontset_error:nn { cjk } { fandol } } 33 | { 34 | \ctex_load_zhmap:nnnn { zhsong } { zhhei } { zhfs } { fandol } 35 | \ctex_punct_set:n { fandol } 36 | \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } 37 | \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } 38 | \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } 39 | } 40 | { 41 | \setCJKmainfont { FandolSong } 42 | [ 43 | Extension = .otf , 44 | UprightFont = *-Regular , 45 | BoldFont = *-Bold , 46 | ItalicFont = FandolKai-Regular 47 | ] 48 | \setCJKsansfont { FandolHei } 49 | [ 50 | Extension = .otf , 51 | UprightFont = *-Regular , 52 | BoldFont = *-Bold 53 | ] 54 | \setCJKmonofont { FandolFang } 55 | [ 56 | Extension = .otf , 57 | UprightFont = *-Regular 58 | ] 59 | \setCJKfamilyfont { zhsong } { FandolSong } 60 | [ 61 | Extension = .otf , 62 | UprightFont = *-Regular , 63 | BoldFont = *-Bold , 64 | ItalicFont = FandolKai-Regular 65 | ] 66 | \setCJKfamilyfont { zhhei } { FandolHei } 67 | [ 68 | Extension = .otf , 69 | UprightFont = *-Regular, 70 | BoldFont = *-Bold 71 | ] 72 | \setCJKfamilyfont { zhfs } { FandolFang } 73 | [ 74 | Extension = .otf , 75 | UprightFont = *-Regular 76 | ] 77 | \setCJKfamilyfont { zhkai } { FandolKai } 78 | [ 79 | Extension = .otf , 80 | UprightFont = *-Regular 81 | ] 82 | } 83 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 84 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 85 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 86 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 87 | \endinput 88 | %% 89 | %% End of file `sjtu-cjk-font-fandol-zh.def'. 90 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-text-font-newcm.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-text-font-newcm.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,text,newcm') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {New Computer Modern text fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-text-font-newcm.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { text } { newcm } } 33 | { 34 | \setmainfont 35 | { NewCM10 } 36 | [ 37 | Extension = .otf, 38 | SizeFeatures = 39 | { 40 | { 41 | Size = -9, 42 | Font = NewCM08-Book, 43 | ItalicFont = NewCM08-BookItalic, 44 | SlantedFont = NewCM08-Book, 45 | }, 46 | { Size = 9- } 47 | }, 48 | UprightFont = *-Book, 49 | BoldFont = *-Bold, 50 | ItalicFont = *-BookItalic, 51 | BoldItalicFont = *-BoldItalic, 52 | SlantedFont = *-Book, 53 | BoldSlantedFont = *-Bold, 54 | SlantedFeatures = { FakeSlant = 0.25 }, 55 | BoldSlantedFeatures = { FakeSlant = 0.25 } 56 | ] 57 | \setsansfont 58 | { NewCMSans10 } 59 | [ 60 | Extension = .otf, 61 | SizeFeatures = 62 | { 63 | { 64 | Size = -9, 65 | Font = NewCMSans08-Book, 66 | ItalicFont = NewCMSans08-BookOblique, 67 | }, 68 | { Size = 9- } 69 | }, 70 | UprightFont = *-Book, 71 | BoldFont = *-Bold, 72 | ItalicFont = *-BookOblique, 73 | BoldItalicFont = *-BoldOblique 74 | ] 75 | \setmonofont 76 | { NewCMMono10 } 77 | [ 78 | Extension = .otf, 79 | UprightFont = *-Book, 80 | BoldFont = *-Bold, 81 | ItalicFont = *-BookItalic, 82 | BoldItalicFont = *-BoldOblique, 83 | SlantedFont = *-Book, 84 | SlantedFeatures = { FakeSlant = 0.25 }, 85 | BoldSlantedFont = *-Bold, 86 | BoldSlantedFeatures = { FakeSlant = 0.25 } 87 | ] 88 | } 89 | \endinput 90 | %% 91 | %% End of file `sjtu-text-font-newcm.def'. 92 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-fandol-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-cjk-font-fandol-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,cjk,fandol,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Fandol CJK fonts definition for Japanese (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-cjk-font-fandol-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { cjk } { fandol } } 33 | { 34 | \setCJKmainfont { HaranoAjiMincho } 35 | [ 36 | Extension = .otf , 37 | UprightFont = *-Regular , 38 | BoldFont = *-Bold 39 | ] 40 | \setCJKsansfont { HaranoAjiGothic } 41 | [ 42 | Extension = .otf , 43 | UprightFont = *-Medium , 44 | BoldFont = *-Bold 45 | ] 46 | \setCJKmonofont { HaranoAjiGothic } 47 | [ 48 | Extension = .otf , 49 | UprightFont = *-Regular 50 | ] 51 | \setCJKfamilyfont { jamin } { HaranoAjiMincho } 52 | [ 53 | Extension = .otf , 54 | UprightFont = *-Regular , 55 | BoldFont = *-Bold 56 | ] 57 | \setCJKfamilyfont { jagoth } { HaranoAjiGothic } 58 | [ 59 | Extension = .otf , 60 | UprightFont = *-Medium , 61 | BoldFont = *-Bold 62 | ] 63 | \setCJKfamilyfont { zhsong } { FandolSong } 64 | [ 65 | Extension = .otf , 66 | UprightFont = *-Regular , 67 | BoldFont = *-Bold , 68 | ItalicFont = FandolKai-Regular 69 | ] 70 | \setCJKfamilyfont { zhhei } { FandolHei } 71 | [ 72 | Extension = .otf , 73 | UprightFont = *-Regular, 74 | BoldFont = *-Bold 75 | ] 76 | \setCJKfamilyfont { zhfs } { FandolFang } 77 | [ 78 | Extension = .otf , 79 | UprightFont = *-Regular 80 | ] 81 | \setCJKfamilyfont { zhkai } { FandolKai } 82 | [ 83 | Extension = .otf , 84 | UprightFont = *-Regular 85 | ] 86 | } 87 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 88 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 89 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 90 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } 91 | \NewDocumentCommand \mincho { } { \CJKfamily { jamin } } 92 | \NewDocumentCommand \gothic { } { \CJKfamily { jagoth } } 93 | \endinput 94 | %% 95 | %% End of file `sjtu-cjk-font-fandol-ja.def'. 96 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/fd/sjtu-math-font-newcm.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-math-font-newcm.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `font,math,newcm') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {New Computer Modern math fonts definition (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-math-font-newcm.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_fontset_case:nn 32 | { \__sjtu_fontset_error:nn { math } { newcm } } 33 | { 34 | \RequirePackage { unicode-math } 35 | \bool_if:NTF \g__sjtu_upright_integral_bool 36 | { 37 | \setmathfont { NewCMMath-Book.otf } 38 | [ StylisticSet = 2 ] 39 | } 40 | { \setmathfont { NewCMMath-Book.otf } } 41 | \setmathfont { NewCMMath-Book.otf } 42 | [ 43 | range = { scr, bfscr }, 44 | StylisticSet = 1 45 | ] 46 | \setmathrm 47 | { NewCM10 } 48 | [ 49 | Extension = .otf, 50 | SizeFeatures = 51 | { 52 | { 53 | Size = -9, 54 | Font = NewCM08-Book, 55 | ItalicFont = NewCM08-BookItalic, 56 | SlantedFont = NewCM08-Book, 57 | }, 58 | { Size = 9- } 59 | }, 60 | UprightFont = *-Book, 61 | BoldFont = *-Bold, 62 | ItalicFont = *-BookItalic, 63 | BoldItalicFont = *-BoldItalic, 64 | SlantedFont = *-Book, 65 | BoldSlantedFont = *-Bold, 66 | SlantedFeatures = { FakeSlant = 0.25 }, 67 | BoldSlantedFeatures = { FakeSlant = 0.25 } 68 | ] 69 | \setmathsf 70 | { NewCMSans10 } 71 | [ 72 | Extension = .otf, 73 | SizeFeatures = 74 | { 75 | { 76 | Size = -9, 77 | Font = NewCMSans08-Book, 78 | ItalicFont = NewCMSans08-BookOblique, 79 | }, 80 | { Size = 9- } 81 | }, 82 | UprightFont = *-Book, 83 | BoldFont = *-Bold, 84 | ItalicFont = *-BookOblique, 85 | BoldItalicFont = *-BoldOblique 86 | ] 87 | \setmathtt 88 | { NewCMMono10 } 89 | [ 90 | Extension = .otf, 91 | UprightFont = *-Book, 92 | BoldFont = *-Bold, 93 | ItalicFont = *-BookItalic, 94 | BoldItalicFont = *-BoldOblique, 95 | SlantedFont = *-Book, 96 | SlantedFeatures = { FakeSlant = 0.25 }, 97 | BoldSlantedFont = *-Bold, 98 | BoldSlantedFeatures = { FakeSlant = 0.25 } 99 | ] 100 | } 101 | \endinput 102 | %% 103 | %% End of file `sjtu-math-font-newcm.def'. 104 | -------------------------------------------------------------------------------- /contents/intro.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \chapter{简介} 4 | 5 | 这是 SJTUThesis 的示例文档,基本上覆盖了模板中所有格式的设置。建议大家在使用模 6 | 板之前,除了阅读《SJTUThesis 使用文档》,这个示例文档也最好能看一看。 7 | 8 | \section{二级标题} 9 | 10 | \subsection{三级标题} 11 | 12 | \subsubsection{四级标题} 13 | 14 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor 15 | incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis 16 | nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 17 | Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu 18 | fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in 19 | culpa qui officia deserunt mollit anim id est laborum. 20 | 21 | \section{脚注} 22 | 23 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor 24 | incididunt ut labore et dolore magna aliqua. \footnote{Ut enim ad minim veniam, 25 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 26 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum 27 | dolore eu fugiat nulla pariatur.} 28 | 29 | \section{字体} 30 | 31 | 32 | 上海交通大学是我国历史最悠久的高等学府之一,是教育部直属、教育部与上海市共建的全 33 | 国重点大学,是国家“七五”、“八五”重点建设和“211 工程”、“985 工程”的首批建 34 | 设高校。经过 115 年的不懈努力,上海交通大学已经成为一所“综合性、研究型、国际化” 35 | 的国内一流、国际知名大学,并正在向世界一流大学稳步迈进。 36 | 37 | {\songti 十九世纪末,甲午战败,民族危难。中国近代著名实业家、教育家盛宣怀和一批 38 | 有识之士秉持“自强首在储才,储才必先兴学”的信念,于 1896 年在上海创办了交通大 39 | 学的前身——南洋公学。建校伊始,学校即坚持“求实学,务实业”的宗旨,以培养“第 40 | 一等人才”为教育目标,精勤进取,笃行不倦,在二十世纪二三十年代已成为国内著名的 41 | 高等学府,被誉为“东方MIT”。抗战时期,广大师生历尽艰难,移转租界,内迁重庆, 42 | 坚持办学,不少学生投笔从戎,浴血沙场。解放前夕,广大师生积极投身民主革命,学校 43 | 被誉为“民主堡垒”。 44 | 45 | 新中国成立初期,为配合国家经济建设的需要,学校调整出相当一部分优势专业、师资设 46 | 备,支持国内兄弟院校的发展。五十年代中期,学校又响应国家建设大西北的号召,根据 47 | 国务院决定,部分迁往西安,分为交通大学上海部分和西安部分。1959 年 3月两部分同 48 | 时被列为全国重点大学,7 月经国务院批准分别独立建制,交通大学上海部分启用“上海 49 | 交通大学”校名。历经西迁、两地办学、独立办学等变迁,为构建新中国的高等教育体 50 | 系,促进社会主义建设做出了重要贡献。六七十年代,学校先后归属国防科工委和六机部 51 | 领导,积极投身国防人才培养和国防科研,为“两弹一星”和国防现代化做出了巨大贡 52 | 献。} 53 | 54 | {\heiti 改革开放以来,学校以“敢为天下先”的精神,大胆推进改革:率先组成教授代 55 | 表团访问美国,率先实行校内管理体制改革,率先接受海外友人巨资捐赠等,有力地推动 56 | 了学校的教学科研改革。1984 年,邓小平同志亲切接见了学校领导和师生代表,对学校 57 | 的各项改革给予了充分肯定。在国家和上海市的大力支持下,学校以“上水平、创一流” 58 | 为目标,以学科建设为龙头,先后恢复和兴建了理科、管理学科、生命学科、法学和人文 59 | 学科等。1999 年,上海农学院并入;2005 年,与上海第二医科大学强强合并。至此,学 60 | 校完成了综合性大学的学科布局。近年来,通过国家“985 工程”和“211 工程”的建 61 | 设,学校高层次人才日渐汇聚,科研实力快速提升,实现了向研究型大学的转变。与此同 62 | 时,学校通过与美国密西根大学等世界一流大学的合作办学,实施国际化战略取得重要突 63 | 破。1985 年开始闵行校区建设,历经 20 多年,已基本建设成设施完善,环境优美的现 64 | 代化大学校园,并已完成了办学重心向闵行校区的转移。学校现有徐汇、闵行、法华、七 65 | 宝和重庆南路(卢湾)5 个校区,总占地面积 4840 亩。通过一系列的改革和建设,学校 66 | 的各项办学指标大幅度上升,实现了跨越式发展,整体实力显著增强,为建设世界一流大 67 | 学奠定了坚实的基础。} 68 | 69 | {\ifcsname fangsong\endcsname\fangsong\else[无 \cs{fangsong} 字体。]\fi 交通大学 70 | 始终把人才培养作为办学的根本任务。一百多年来,学校为国家和社会培养了 20余万各 71 | 类优秀人才,包括一批杰出的政治家、科学家、社会活动家、实业家、工程技术专家和医 72 | 学专家,如江泽民、陆定一、丁关根、汪道涵、钱学森、吴文俊、徐光宪、张光斗、黄炎 73 | 培、邵力子、李叔同、蔡锷、邹韬奋、陈敏章、王振义、陈竺等。在中国科学院、中国工 74 | 程院院士中,有 200 余位交大校友;在国家 23 位“两弹一星”功臣中,有 6 位交大校 75 | 友;在 18 位国家最高科学技术奖获得者中,有 3 位来自交大。交大创造了中国近现代 76 | 发展史上的诸多“第一”:中国最早的内燃机、最早的电机、最早的中文打字机等;新中国 77 | 第一艘万吨轮、第一艘核潜艇、第一艘气垫船、第一艘水翼艇、自主设计的第一代战斗 78 | 机、第一枚运载火箭、第一颗人造卫星、第一例心脏二尖瓣分离术、第一例成功移植同种 79 | 原位肝手术、第一例成功抢救大面积烧伤病人手术等,都凝聚着交大师生和校友的心血智 80 | 慧。改革开放以来,一批年轻的校友已在世界各地、各行各业崭露头角。} 81 | 82 | {\ifcsname kaishu\endcsname\kaishu\else[无 \cs{kaishu} 字体。]\fi 截至 2011 年 12 83 | 月 31 日,学校共有 24 个学院 / 直属系(另有继续教育学院、技术学院和国际教育学 84 | 院),19 个直属单位,12 家附属医院,全日制本科生 16802 人、研究生24495 人(其 85 | 中博士研究生 5059 人);有专任教师 2979 名,其中教授 835 名;中国科学院院士 15 86 | 名,中国工程院院士 20 名,中组部“千人计划”49 名,“长江学者”95 名,国家杰出 87 | 青年基金获得者 80 名,国家重点基础研究发展计划(973 计划)首席科学家 24名,国 88 | 家重大科学研究计划首席科学家 9名,国家基金委创新研究群体 6 个,教育部创新团队 89 | 17 个。 90 | 91 | 学校现有本科专业 68 个,涵盖经济学、法学、文学、理学、工学、农学、医学、管理学 92 | 和艺术等九个学科门类;拥有国家级教学及人才培养基地 7 个,国家级校外实践教育基 93 | 地 5个,国家级实验教学示范中心 5 个,上海市实验教学示范中心 4 个;有国家级教学 94 | 团队 8个,上海市教学团队 15 个;有国家级教学名师 7 人,上海市教学名师 35 人; 95 | 有国家级精品课程 46 门,上海市精品课程 117 门;有国家级双语示范课程 7 96 | 门;2001、2005 和2009 年,作为第一完成单位,共获得国家级教学成果 37 项、上海市 97 | 教学成果 157项。} 98 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-name-thesis-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-name-thesis-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `name,thesis,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Chinese name config for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-name-thesis-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \clist_map_inline:nn 32 | { 33 | { year } { 年 } , 34 | { month } { 月 } , 35 | { day } { 日 } 36 | } 37 | { \__sjtu_define_name:nnn { zh } #1 } 38 | \__sjtu_define_symbol:nn { white_square } { "25A1 } 39 | \__sjtu_define_name_from_clist:nnnn { zh } 40 | { degree_level } { \g__sjtu_thesis_type_int } 41 | { 学士, 硕士, 博士 } 42 | \clist_map_inline:nn 43 | { 44 | { univ } { 上海交通大学 } , 45 | { author } { 姓名 } , 46 | { id } { 学号 } , 47 | { supervisor } { 导师 } , 48 | { assoc_supervisor } { 副导师 } , 49 | { department } { 院系 } , 50 | { co_supervisor } { 联合导师 } , 51 | { major } { 学科 / 专业名称 } , 52 | { degree } { 申请学位层次 } , 53 | { thesis } { 学位论文 } , 54 | { title_page } { 题名页 } , 55 | { declaration } { 原创性声明及使用授权书 } , 56 | { orig_decl } { 原创性声明 } , 57 | { auth_decl } { 使用授权书 } , 58 | { decl_author } { 学位论文作者 } , 59 | { decl_supervisor } { 指导教师 } , 60 | { abstract } { 摘 \quad 要 } , 61 | { keywords } { 关键词 } , 62 | { info_sep } { : } , 63 | { item_sep } { , } 64 | } 65 | { \__sjtu_define_name:nnn { zh } #1 } 66 | \tl_const:Nn \c__sjtu_orig_decl_text_zh_tl 67 | { 68 | 本人郑重声明:所呈交的学位论文,是本人在导师的指导下,独立进行研究工 69 | 作所取得的成果。除文中已经注明引用的内容外,本论文不包含任何其他个人 70 | 或集体已经发表或撰写过的作品成果。对本文的研究做出重要贡献的个人和集 71 | 体,均已在文中以明确方式标明。本人完全知晓本声明的法律后果由本人承 72 | 担。 73 | } 74 | \tl_const:Nn \c__sjtu_auth_decl_text_zh_tl 75 | { 76 | 本人同意学校保留并向国家有关部门或机构送交论文的复印件和电子版,允许 77 | 论文被查阅和借阅。 \par 78 | \vskip 6 bp 79 | \noindent 80 | 本学位论文属于: \par 81 | { \c__sjtu_symbol_white_square_tl } \textbf { 公开论文 } \par 82 | { \c__sjtu_symbol_white_square_tl } \textbf { 内部论文 }, 83 | 保密 { \c__sjtu_symbol_white_square_tl }~ 1~ 年 / 84 | { \c__sjtu_symbol_white_square_tl }~ 2~ 年 / 85 | { \c__sjtu_symbol_white_square_tl }~ 3~ 年, 86 | 过保密期后适用本授权书。 \par 87 | { \c__sjtu_symbol_white_square_tl } \textbf { 秘密论文 }, 88 | 保密 \underline { \hspace { 2 em } } 年(不超过~ 10~ 年), 89 | 过保密期后适用本授权书。 \par 90 | { \c__sjtu_symbol_white_square_tl } \textbf { 机密论文 }, 91 | 保密 \underline { \hspace { 2 em } } 年(不超过~ 20~ 年), 92 | 过保密期后适用本授权书。 \par 93 | \hspace { 6 em }(请在以上方框内选择打“ \ensuremath { \checkmark } ”) 94 | } 95 | \tl_const:Nn \c__sjtu_signature_text_zh_tl 96 | { 97 | 签名: \\ 98 | 日期: \hspace { \stretch { 3 } } 年 99 | \hspace { \stretch { 2 } } 月 100 | \hspace { \stretch { 2 } } 日 101 | } 102 | \endinput 103 | %% 104 | %% End of file `sjtu-name-thesis-zh.def'. 105 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-thesis-de.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-thesis-de.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,thesis,de') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {German specific definition for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-thesis-de.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_info_keys_define:n { de } 32 | \keys_define:nn { sjtu / info / de } 33 | { 34 | subject .initial:x = 35 | { 36 | Eine~ Dissertation~ Eingereicht~ an \exp_not:N \\ 37 | der~ { \exp_not:V \c__sjtu_name_univ_de_tl }~ für~ 38 | { \exp_not:V \c__sjtu_name_degree_level_de_tl } titel 39 | } 40 | } 41 | \cs_new:Npn \__sjtu_date_aux_de:nnn #1#2#3 42 | { 43 | \clist_item:Nn \c__sjtu_name_month_de_clist {#2} ~ 44 | {#3} ,~ \int_to_arabic:n {#1} 45 | } 46 | \cs_new:Npn \__sjtu_date_aux_de:w #1-#2-#3 \q_stop 47 | { \__sjtu_date_aux_de:nnn {#1} {#2} {#3} } 48 | \cs_new:Npn \__sjtu_date_aux_short_de:nn #1#2 49 | { 50 | \clist_item:Nn \c__sjtu_name_month_de_clist {#2} ,~ 51 | \int_to_arabic:n {#1} 52 | } 53 | \cs_new:Npn \__sjtu_date_aux_short_de:w #1-#2 \q_stop 54 | { \__sjtu_date_aux_short_de:nn {#1} {#2} } 55 | \cs_new_protected:Nn \__sjtu_set_language_de: 56 | { 57 | \ctex_set:n { autoindent = 1.5 em } 58 | \normalfont 59 | } 60 | \cs_new:Npn \ps@SJTU@fund@de 61 | { 62 | \ps@empty 63 | \cs_set:Npn \@oddfoot 64 | { 65 | \begin{minipage} { \textwidth } 66 | \centering \zihao { - 5 } 67 | \clist_use:Nn \l__sjtu_info_fund_de_clist { \par } 68 | \end{minipage} 69 | } 70 | \cs_set_eq:NN \@evenfoot \@oddfoot 71 | } 72 | \clist_map_inline:nn 73 | { 74 | { subject } 75 | { 76 | format = \zihao { 4 } \bfseries \fixedlineskip { 31.2 bp } , 77 | content = \l__sjtu_info_subject_de_tl , 78 | bottom-skip = \c_zero_dim plus 2 fill 79 | }, 80 | { title } 81 | { 82 | format = \zihao { -2 } \bfseries \fixedlineskip { 31.2 bp } , 83 | content = \MakeUppercase \l__sjtu_info_display_title_de_tl , 84 | bottom-skip = \c_zero_dim plus 2 fill 85 | }, 86 | { info } 87 | { 88 | format = \zihao { 3 } \fixedlineskip { 31.2 bp } , 89 | content = 90 | { 91 | \__sjtu_title_page_info_i:nxn { de } 92 | { author, \l__sjtu_info_supervisors_clist } 93 | { { \bfseries #1 \c__sjtu_name_info_sep_de_tl } {#3} } 94 | } , 95 | bottom-skip = \c_zero_dim plus 3 fill 96 | }, 97 | { date } 98 | { 99 | format = \zihao { 3 } \fixedlineskip { 31.2 bp } , 100 | content = 101 | { \__sjtu_title_page_info_ii:n { de } } , 102 | bottom-skip = 15.6 bp 103 | }, 104 | } 105 | { 106 | \__sjtu_declare_component:nnn { title / de } #1 107 | } 108 | \__sjtu_declare_page:nn { title / de } 109 | { 110 | style = SJTU@fund@de , 111 | format = \linespread { 1 } \__sjtu_set_language_de: , 112 | prefix = title / de , 113 | components = { subject, title, info, date } 114 | } 115 | \endinput 116 | %% 117 | %% End of file `sjtu-lang-thesis-de.def'. 118 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-thesis-ja.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-thesis-ja.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,thesis,ja') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Japanese specific definition for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-thesis-ja.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_info_keys_define:n { ja } 32 | \keys_define:nn { sjtu / info / ja } 33 | { 34 | subject .initial:x = 35 | { 36 | \exp_not:V \c__sjtu_name_univ_ja_tl 37 | \exp_not:V \c__sjtu_name_degree_level_ja_tl 38 | \exp_not:V \c__sjtu_name_thesis_ja_tl 39 | } 40 | } 41 | \cs_new:Npn \__sjtu_date_aux_ja:nnn #1#2#3 42 | { 43 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_ja_tl } ~ 44 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_ja_tl } ~ 45 | \int_to_arabic:n {#3} ~ { \exp_not:V \c__sjtu_name_day_ja_tl } 46 | } 47 | \cs_new:Npn \__sjtu_date_aux_ja:w #1-#2-#3 \q_stop 48 | { \__sjtu_date_aux_ja:nnn {#1} {#2} {#3} } 49 | \cs_new:Npn \__sjtu_date_aux_short_ja:nn #1#2 50 | { 51 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_ja_tl } ~ 52 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_ja_tl } 53 | } 54 | \cs_new:Npn \__sjtu_date_aux_short_ja:w #1-#2 \q_stop 55 | { \__sjtu_date_aux_short_ja:nn {#1} {#2} } 56 | \cs_new:Nn \__sjtu_set_cjk_default_ja: 57 | { 58 | \tl_set:Nn \CJKrmdefault { jamin } 59 | \tl_set:Nn \CJKsfdefault { jagoth } 60 | \tl_set:Nn \CJKttdefault { jagoth } 61 | } 62 | \cs_new_protected:Nn \__sjtu_set_language_ja: 63 | { 64 | \ctex_set:n { autoindent = 1 } 65 | \__sjtu_set_cjk_default_ja: 66 | \normalfont 67 | } 68 | \cs_new:Npn \ps@SJTU@fund@ja 69 | { 70 | \ps@empty 71 | \cs_set:Npn \@oddfoot 72 | { 73 | \begin{minipage} { \textwidth } 74 | \centering \zihao { - 5 } 75 | \clist_use:Nn \l__sjtu_info_fund_ja_clist { \par } 76 | \end{minipage} 77 | } 78 | \cs_set_eq:NN \@evenfoot \@oddfoot 79 | } 80 | \clist_map_inline:nn 81 | { 82 | { subject } 83 | { 84 | format = \zihao { 4 } \bfseries \fixedlineskip { 31.2 bp } , 85 | content = \l__sjtu_info_subject_ja_tl , 86 | bottom-skip = \c_zero_dim plus 2 fill 87 | }, 88 | { title } 89 | { 90 | format = \zihao { -2 } \bfseries \fixedlineskip { 31.2 bp } , 91 | content = \l__sjtu_info_display_title_ja_tl , 92 | bottom-skip = \c_zero_dim plus 2 fill 93 | }, 94 | { info } 95 | { 96 | format = \zihao { 3 } \fixedlineskip { 31.2 bp } , 97 | content = 98 | { 99 | \__sjtu_title_page_info_i:nxn { ja } 100 | { author, \l__sjtu_info_supervisors_clist } 101 | { { \bfseries #1 \c__sjtu_name_info_sep_ja_tl } {#3} } 102 | } , 103 | bottom-skip = \c_zero_dim plus 3 fill 104 | }, 105 | { date } 106 | { 107 | format = \zihao { 3 } \fixedlineskip { 31.2 bp } , 108 | content = 109 | { \__sjtu_title_page_info_ii:n { ja } } , 110 | bottom-skip = 15.6 bp 111 | }, 112 | } 113 | { 114 | \__sjtu_declare_component:nnn { title / ja } #1 115 | } 116 | \__sjtu_declare_page:nn { title / ja } 117 | { 118 | style = SJTU@fund@ja , 119 | format = \linespread { 1 } \__sjtu_set_language_ja: , 120 | prefix = title / ja , 121 | components = { subject, title, info, date } 122 | } 123 | \endinput 124 | %% 125 | %% End of file `sjtu-lang-thesis-ja.def'. 126 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-thesis-en.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-thesis-en.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,thesis,en') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {English specific definition for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-thesis-en.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_info_keys_define:n { en } 32 | \keys_define:nn { sjtu / info / en } 33 | { 34 | subject .initial:x = 35 | { 36 | A~ Dissertation~ Submitted~ to \exp_not:N \\ 37 | { \exp_not:V \c__sjtu_name_univ_en_tl }~ for~ 38 | { \exp_not:V \c__sjtu_name_degree_level_en_tl }~ Degree 39 | } 40 | } 41 | \cs_new:Npn \__sjtu_ordinal_en:n #1 42 | { 43 | \int_to_arabic:n {#1} 44 | \exp_not:N \textsuperscript 45 | { 46 | \int_case:nnF { \int_mod:nn {#1} { 100 } } 47 | { 48 | { 11 } { th } 49 | { 12 } { th } 50 | { 13 } { th } 51 | } 52 | { 53 | \int_case:nnF { \int_mod:nn {#1} { 10 } } 54 | { 55 | { 1 } { st } 56 | { 2 } { nd } 57 | { 3 } { rd } 58 | } 59 | { th } 60 | } 61 | } 62 | } 63 | \cs_new:Npn \__sjtu_date_aux_en:nnn #1#2#3 64 | { 65 | \clist_item:Nn \c__sjtu_name_month_en_clist {#2} ~ 66 | \__sjtu_ordinal_en:n {#3} ,~ 67 | \int_to_arabic:n {#1} 68 | } 69 | \cs_new:Npn \__sjtu_date_aux_en:w #1-#2-#3 \q_stop 70 | { \__sjtu_date_aux_en:nnn {#1} {#2} {#3} } 71 | \cs_new:Npn \__sjtu_date_aux_short_en:nn #1#2 72 | { 73 | \clist_item:Nn \c__sjtu_name_month_en_clist {#2} ,~ 74 | \int_to_arabic:n {#1} 75 | } 76 | \cs_new:Npn \__sjtu_date_aux_short_en:w #1-#2 \q_stop 77 | { \__sjtu_date_aux_short_en:nn {#1} {#2} } 78 | \cs_new_protected:Nn \__sjtu_set_language_en: 79 | { 80 | \ctex_set:n { autoindent = 1.5 em } 81 | \normalfont 82 | } 83 | \cs_new:Npn \ps@SJTU@fund@en 84 | { 85 | \ps@empty 86 | \cs_set:Npn \@oddfoot 87 | { 88 | \begin{minipage} { \textwidth } 89 | \centering \zihao { - 5 } 90 | \clist_use:Nn \l__sjtu_info_fund_en_clist { \par } 91 | \end{minipage} 92 | } 93 | \cs_set_eq:NN \@evenfoot \@oddfoot 94 | } 95 | \clist_map_inline:nn 96 | { 97 | { subject } 98 | { 99 | format = \zihao { 4 } \bfseries \fixedlineskip { 31.2 bp } , 100 | content = \l__sjtu_info_subject_en_tl , 101 | bottom-skip = \c_zero_dim plus 2 fill 102 | }, 103 | { title } 104 | { 105 | format = \zihao { -2 } \bfseries \fixedlineskip { 31.2 bp } , 106 | content = \MakeUppercase \l__sjtu_info_display_title_en_tl , 107 | bottom-skip = \c_zero_dim plus 2 fill 108 | }, 109 | { info } 110 | { 111 | format = \zihao { 3 } \fixedlineskip { 31.2 bp } , 112 | content = 113 | { 114 | \__sjtu_title_page_info_i:nxn { en } 115 | { author, \l__sjtu_info_supervisors_clist } 116 | { { \bfseries #1 \c__sjtu_name_info_sep_en_tl } {#3} } 117 | } , 118 | bottom-skip = \c_zero_dim plus 3 fill 119 | }, 120 | { date } 121 | { 122 | format = \zihao { 3 } \fixedlineskip { 31.2 bp } , 123 | content = 124 | { \__sjtu_title_page_info_ii:n { en } } , 125 | bottom-skip = 15.6 bp 126 | }, 127 | } 128 | { 129 | \__sjtu_declare_component:nnn { title / en } #1 130 | } 131 | \__sjtu_declare_page:nn { title / en } 132 | { 133 | style = SJTU@fund@en , 134 | format = \linespread { 1 } \__sjtu_set_language_en: , 135 | prefix = title / en , 136 | components = { subject, title, info, date } 137 | } 138 | \endinput 139 | %% 140 | %% End of file `sjtu-lang-thesis-en.def'. 141 | -------------------------------------------------------------------------------- /contents/math_and_citations.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ../main.tex 2 | 3 | \chapter{数学与引用文献的标注} 4 | 5 | \section{数学} 6 | 7 | \subsection{数字和单位} 8 | 9 | 宏包 \pkg{siunitx} 提供了更好的数字和单位支持: 10 | \begin{itemize} 11 | \item \num{12345.67890} 12 | % For TeXLive 2021, siunitx >= 3.0 13 | % \item \complexnum{1+-2i} 14 | % For siunitx < 3.0 15 | % \item \num{1+-2i} 16 | \item \num{.3e45} 17 | % For TeXLive 2021, siunitx >= 3.0 18 | % \item \numproduct{1.654 x 2.34 x 3.430} 19 | % For siunitx < 3.0 20 | % \item \num{1.654 x 2.34 x 3.430} 21 | \item \si{kg.m.s^{-1}} 22 | \item \si{\micro\meter} $\si{\micro\meter}$ 23 | \item \si{\ohm} $\si{\ohm}$ 24 | \item \numlist{10;20} 25 | \item \numlist{10;20;30} 26 | \item \SIlist{0.13;0.67;0.80}{\milli\metre} 27 | \item \numrange{10}{20} 28 | \item \SIrange{10}{20}{\degreeCelsius} 29 | \end{itemize} 30 | 31 | \subsection{数学符号和公式} 32 | 33 | 按照国标 GB/T 3102.11—1993《物理科学和技术中使用的数学符号》, 34 | 微分符号 $\dd$ 应使用直立体。除此之外,数学常数也应使用直立体: 35 | \begin{itemize} 36 | \item 微分符号 $\dd$:\cs{dd} 37 | \item 圆周率 $\uppi$:\cs{uppi} 38 | \item 自然对数的底 $\ee$:\cs{ee} 39 | \item 虚数单位 $\ii$, $\jj$:\cs{ii} \cs{jj} 40 | \end{itemize} 41 | 42 | 公式应另起一行居中排版。公式后应注明编号,按章顺序编排,编号右端对齐。 43 | \begin{equation} 44 | \ee^{\ii\uppi} + 1 = 0, 45 | \end{equation} 46 | \begin{equation} 47 | \frac{\dd^2 u}{\dd t^2} = \int f(x) \dd x. 48 | \end{equation} 49 | 50 | 公式末尾是需要添加标点符号的,至于用逗号还是句号,取决于公式下面一句是接着公式说的,还是另起一句。 51 | \begin{equation} 52 | \frac{2h}{\pi}\int_{0}^{\infty}\frac{\sin\left( \omega\delta \right)}{\omega} 53 | \cos\left( \omega x \right) \dd\omega = 54 | \begin{cases} 55 | h, \ \left| x \right| < \delta, \\ 56 | \frac{h}{2}, \ x = \pm \delta, \\ 57 | 0, \ \left| x \right| > \delta. 58 | \end{cases} 59 | \end{equation} 60 | 公式较长时最好在等号“$=$”处转行。 61 | \begin{align} 62 | & I (X_3; X_4) - I (X_3; X_4 \mid X_1) - I (X_3; X_4 \mid X_2) \nonumber \\ 63 | = & [I (X_3; X_4) - I (X_3; X_4 \mid X_1)] - I (X_3; X_4 \mid \tilde{X}_2) \\ 64 | = & I (X_1; X_3; X_4) - I (X_3; X_4 \mid \tilde{X}_2). 65 | \end{align} 66 | 67 | 如果在等号处转行难以实现,也可在 $+$、$-$、$\times$、$\div$ 运算符号处转行,转行 68 | 时运算符号仅书写于转行式前,不重复书写。 69 | \begin{multline} 70 | \frac{1}{2} \Delta (f_{ij} f^{ij}) = 71 | 2 \left(\sum_{i 53 | 54 | 展开配置 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | ### Linux 与 macOS 用户 63 | 64 | 推荐使用模版提供的 `Makefile` 进行编译,具体来说我们提供了如下几条可用的命令: 65 | 66 | ```bash 67 | make all # 编译生成 main.pdf 68 | make clean # 删除编译所产生的中间文件 69 | make cleanall # 删除 main.pdf 和所有中间文件 70 | make wordcount # 论文字数统计 71 | ``` 72 | 73 | ### Windows 用户 74 | 75 | 对于 Windows 用户,我们也提供了编译脚本 `Compile.bat`。可以双击直接编译,也可以在命令提示符窗口中使用脚本提供的额外功能: 76 | 77 | ```bash 78 | .\Compile.bat thesis # 编译生成 main.pdf 79 | .\Compile.bat clean # 删除编译所产生的中间文件 80 | .\Compile.bat cleanall # 删除 main.pdf 和所有中间文件 81 | .\Compile.bat wordcount # 论文字数统计 82 | ``` 83 | 84 | 更多关于模板的实现细节以及使用信息,请查看使用文档 `sjtuthesis.pdf`。 85 | 86 | ## 反馈与贡献 87 | 88 | 本模版是由诸多感兴趣的同学一起维护的开源项目,我们非常欢迎问题反馈和新的贡献者! 89 | 90 | ### 反馈问题 91 | 92 | 如果在使用上有任何问题,建议先查阅项目的 [Wiki 文档](https://github.com/sjtug/SJTUThesis/wiki),并使用左上角的搜索功能进行搜索。 93 | 如果以上方法不能解决你的问题,建议通过以下方式进行反馈(按推荐顺序排序): 94 | 95 | * 如遇不会使用、编译错误等问题,请至 [在 GitHub 项目讨论区提问](https://github.com/sjtug/SJTUThesis/discussions) (推荐) 96 | * 如遇模版 BUG,或有新的需求,请至 [在 GitHub 项目中提 issue](https://github.com/sjtug/SJTUThesis/issues) 97 | * 您也可以加入 SJTUG 的 QQ 群和 Telegram 群即时讨论。 98 | * QQ 群群号 715273806。 99 | * Telegram 群。首先,关注 [SJTUG 镜像站的通知频道](https://t.me/sjtug_mirrors_news)。而后,加入频道关联的群组。 100 | 101 | ### 成为贡献者 102 | 103 | 这个仓库是面向用户的**示例模版**,如果你有很好的排版示例,可以提交到此仓库与大家分享。如果你想要为 SJTUThesis 文档类贡献代码,可移步 [SJTUTeX](https://github.com/sjtug/SJTUTeX)。 104 | 105 | `texmf/tex/latex/sjtuthesis` 目录下的内容都是通过 SJTUTeX 的 `sjtuthesis.dtx` 文件自动生成的。如果您需要修改文档类的内容,应该修改 SJTUTeX 仓库中的 `sjtuthesis.dtx`,而非直接修改 cls 文件。 106 | 107 | 因此,如果您修改了 `sjtuthesis` 模版类,应该先给 `SJTUTeX` 发 PR,然后再将更新同步到本仓库。 108 | 109 | 在贡献之前,你可以从[这些问题](https://github.com/sjtug/SJTUThesis/issues?q=is%3Aissue+is%3Aopen+label%3Agood-first-issue)开始熟悉贡献代码的流程。除了提交 Pull Request 之外,还有以下方式可以进行贡献: 110 | 111 | * 帮助我们解答同学们的[问题](https://github.com/sjtug/SJTUThesis/discussions),这些问题你也可能遇到过并且知道如何解决; 112 | * 与我们一起维护项目的 [Wiki 文档](https://github.com/sjtug/SJTUThesis/wiki),Wiki 任何人都可以直接编辑; 113 | * 向周围同学安利 SJTUThesis,让更多的同学使用我们维护的模板; 114 | * 在我们的讨论组中分享你的使用体验,以及吐槽。如果你也想成为项目的长期维护者,也可以通过讨论组告诉我们。:-) 115 | 116 | 117 | ## 致谢 118 | 119 | * 感谢 [CTeX-kit](https://github.com/CTeX-org/ctex-kit) 提供了 LaTeX 的中文支持; 120 | * 感谢那位最先制作出博士学位论文 LaTeX 模板的物理系同学; 121 | * 感谢 William Wang 同学对模板移植做出的贡献; 122 | * 感谢 [@weijianwen](https://github.com/weijianwen) 学长开创性的工作; 123 | * 感谢 [@sjtug](https://github.com/sjtug) 对 0.10 及之后版本的开发和维护工作; 124 | * 感谢所有为模板贡献过代码的[同学们](https://github.com/sjtug/SJTUThesis/graphs/contributors),以及所有测试和使用模板的各位同学。 125 | 126 | ## 软件许可证 127 | 128 | 上海交通大学校徽校名图片(`sjtu-vi-logo-blue.pdf` 等)的版权归上海交通大学所有。 129 | 130 | `sjtuthesis.cls` 文档类与相关附属文件使用 [LPPL](https://www.latex-project.org/lppl.txt) 授权。 131 | 132 | 其他部分使用 [Apache License 2.0](LICENSE) 授权。 133 | -------------------------------------------------------------------------------- /texmf/tex/latex/sjtutex/sjtu-lang-thesis-zh.def: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sjtu-lang-thesis-zh.def', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% sjtutex.dtx (with options: `lang,thesis,zh') 8 | %% 9 | %% Copyright (C) SJTUG 10 | %% 2018--2023 Alexara Wu 11 | %% 2022--2023 Log Creative 12 | %% 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either 15 | %% version 1.3c of this license or (at your option) any later 16 | %% version. The latest version of this license is in: 17 | %% 18 | %% http://www.latex-project.org/lppl.txt 19 | %% 20 | %% and version 1.3 or later is part of all distributions of 21 | %% LaTeX version 2005/12/01 or later. 22 | %% 23 | %% This work has the LPPL maintenance status `maintained'. 24 | %% 25 | %% The Current Maintainers of this work are Alexara Wu and Log Creative. 26 | %% 27 | \GetIdInfo $Id: sjtutex.dtx 2.0.2 2023-04-01 13:00:00Z Alexara Wu $ 28 | {Chinese specific definition for thesis (SJTUTeX)} 29 | \ProvidesExplFile{sjtu-lang-thesis-zh.def} 30 | {\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} 31 | \__sjtu_info_keys_define:n { zh } 32 | \keys_define:nn { sjtu / info / zh } 33 | { 34 | subject .initial:x = 35 | { 36 | \exp_not:V \c__sjtu_name_univ_zh_tl 37 | % \exp_not:V \c__sjtu_name_degree_level_zh_tl 38 | \exp_not:V \c__sjtu_name_thesis_zh_tl 39 | } 40 | } 41 | \cs_new:Npn \__sjtu_date_aux_zh:nnn #1#2#3 42 | { 43 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_zh_tl } ~ 44 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_zh_tl } ~ 45 | \int_to_arabic:n {#3} ~ { \exp_not:V \c__sjtu_name_day_zh_tl } 46 | } 47 | \cs_new:Npn \__sjtu_date_aux_zh:w #1-#2-#3 \q_stop 48 | { \__sjtu_date_aux_zh:nnn {#1} {#2} {#3} } 49 | \cs_new:Npn \__sjtu_date_aux_short_zh:nn #1#2 50 | { 51 | \int_to_arabic:n {#1} ~ { \exp_not:V \c__sjtu_name_year_zh_tl } ~ 52 | \int_to_arabic:n {#2} ~ { \exp_not:V \c__sjtu_name_month_zh_tl } 53 | } 54 | \cs_new:Npn \__sjtu_date_aux_short_zh:w #1-#2 \q_stop 55 | { \__sjtu_date_aux_short_zh:nn {#1} {#2} } 56 | \cs_new:Nn \__sjtu_set_cjk_default_zh: 57 | { 58 | \tl_set:Nn \CJKrmdefault { zhsong } 59 | \tl_set:Nn \CJKsfdefault { zhhei } 60 | \tl_set:Nn \CJKttdefault { zhfs } 61 | } 62 | \cs_new_protected:Nn \__sjtu_set_language_zh: 63 | { 64 | \ctex_set:n { autoindent = true } 65 | \__sjtu_set_cjk_default_zh: 66 | \normalfont 67 | } 68 | \cs_new:Npn \ps@SJTU@fund@zh 69 | { 70 | \ps@empty 71 | \cs_set:Npn \@oddfoot 72 | { 73 | \begin{minipage} { \textwidth } 74 | \centering \zihao { - 5 } 75 | \clist_use:Nn \l__sjtu_info_fund_zh_clist { \par } 76 | \end{minipage} 77 | } 78 | \cs_set_eq:NN \@evenfoot \@oddfoot 79 | } 80 | \clist_map_inline:nn 81 | { 82 | { logo } 83 | { 84 | content = 85 | { 86 | \includegraphics [ width = 3 cm ] 87 | { sjtu-vi-badge- \l__sjtu_style_title_logo_color_tl .pdf } 88 | } 89 | }, 90 | { subject } 91 | { 92 | format = \zihao { -2 } \fixedlineskip { 31.2 bp } , 93 | content = \l__sjtu_info_subject_zh_tl , 94 | bottom-skip = \c_zero_dim plus 2 fill 95 | }, 96 | { title } 97 | { 98 | format = \zihao { 2 } \bfseries \fixedlineskip { 31.2 bp } , 99 | content = \l__sjtu_info_display_title_zh_tl , 100 | bottom-skip = \c_zero_dim plus 3 fill 101 | }, 102 | { info } 103 | { 104 | format = \zihao { 4 } \fixedlineskip { 31.2 bp } , 105 | content = 106 | { 107 | \__sjtu_title_page_info_i:nxn { zh } 108 | { 109 | author, 110 | id, 111 | \l__sjtu_info_supervisors_clist , 112 | department, 113 | major, 114 | % \int_compare:nNnF { \g__sjtu_thesis_type_int } = { 1 } 115 | { degree } 116 | } 117 | { 118 | \__sjtu_cjk_spread_box:nn { 6.5 em } { \heiti #1 } 119 | \c__sjtu_name_info_sep_zh_tl 120 | \__sjtu_left_aligned_box:nn {#2} {#3} 121 | } 122 | } , 123 | bottom-skip = 31.2 bp 124 | }, 125 | { date } 126 | { 127 | format = \zihao { 4 } \bfseries \fixedlineskip { 31.2 bp } , 128 | content = \l__sjtu_info_date_zh_tl , 129 | bottom-skip = 15.6 bp 130 | } 131 | } 132 | { 133 | \__sjtu_declare_component:nnn { title / zh } #1 134 | } 135 | \__sjtu_declare_page:nn { title / zh } 136 | { 137 | bookmark = true , 138 | bookmark-text = \c__sjtu_name_title_page_tl , 139 | style = SJTU@fund@zh , 140 | format = \linespread { 1 } \__sjtu_set_language_zh: , 141 | prefix = title / zh , 142 | components = { logo, subject, title, info, date } 143 | } 144 | \endinput 145 | %% 146 | %% End of file `sjtu-lang-thesis-zh.def'. 147 | -------------------------------------------------------------------------------- /bibdata/thesis.bib: -------------------------------------------------------------------------------- 1 | @book{Yu2001, 2 | author = {余敏}, 3 | title = {出版集团研究}, 4 | publisher = {中国书籍出版社}, 5 | address = {北京}, 6 | year = {2001}, 7 | pages = {179--193} 8 | } 9 | 10 | @inbook{Cheng1999, 11 | author = {程根伟}, 12 | title = {1998年长江洪水的成因与减灾对策}, 13 | booktitle = {长江流域洪涝灾害与科技对策}, 14 | editor = {许厚泽 and 赵其国}, 15 | publisher = {科学出版社}, 16 | address = {北京}, 17 | year = {1999}, 18 | pages = {32--36} 19 | } 20 | 21 | @periodical{LSC1957, 22 | author = {中国图书馆学会}, 23 | title = {图书馆学通讯}, 24 | publisher = {北京图书馆}, 25 | address = {北京}, 26 | year = {1957/1990}, 27 | number = {1-4} 28 | } 29 | 30 | @article{Li1999, 31 | author = {李晓东 and 张庆红 and 叶瑾琳}, 32 | title = {气候学研究的若干理论问题}, 33 | journal = {北京大学学报: 自然科学版}, 34 | year = {1999}, 35 | volume = {35}, 36 | number = {1}, 37 | pages = {101--106} 38 | } 39 | 40 | @patent{Jiang1989, 41 | author = {姜锡洲}, 42 | title = {一种温热外敷药制备方案}, 43 | number = {中国, 88105607.3}, 44 | date = {1989-07-26} 45 | } 46 | 47 | @online{Hopkinson1999, 48 | author = {Hopkinson, A.}, 49 | title = {{UNIMARC} and metadata: Dublin core}, 50 | url = {http://www.ifla.org/IV/ifla64/138-161e.htm}, 51 | urldate = {1999-12-08} 52 | } 53 | 54 | @book{Jiang1998, 55 | author = {蒋有绪 and 郭泉水 and 马娟 and others}, 56 | title = {中国森林群落分类及其群落学特征}, 57 | publisher = {科学出版社}, 58 | address = {北京}, 59 | year = {1998}, 60 | pages = {11--12} 61 | } 62 | 63 | @proceedings{CSTAM1990, 64 | editor = {中国力学学会}, 65 | title = {第 3 届全国实验流体力学学术会议论文集}, 66 | publisher = {天津大学出版社}, 67 | address = {天津}, 68 | year = {1990}, 69 | pages = {20--24} 70 | } 71 | 72 | @report{WHO1970, 73 | author = {{World Health Organization}}, 74 | title = {Factors regulating the immune response: report of {WHO} Scientific Group}, 75 | institution = {WHO}, 76 | location = {Geneva}, 77 | year = {1970} 78 | } 79 | 80 | @phdthesis{Zhang1998, 81 | author = {张志祥}, 82 | title = {间断动力系统的随机扰动及其在守恒律方程中的应用}, 83 | institution = {北京大学数学学院}, 84 | address = {北京}, 85 | year = {1998}, 86 | pages = {50--55} 87 | } 88 | 89 | @patent{HBLZ2001, 90 | author = {河北绿洲生态环境科技有限公司}, 91 | title = {一种荒漠化地区生态植被综合培育种植方法}, 92 | date = {2001-10-24}, 93 | number = {中国, 01129210.5}, 94 | url = {http://211.152.9.47/sipoasp/zlijs/hyjs-yx-new.asp?recid=01129210.5&leixin}, 95 | urldate = {2002-05-28} 96 | } 97 | 98 | @standard{GBT2659, 99 | author = {国家标准局信息分类编码研究所}, 100 | title = {GB/T 2659-1986 世界各国和地区名称代码}, 101 | bookauthor = {全国文献工作标准化技术委员会}, 102 | booktitle = {文献工作国家标准汇编: 3}, 103 | publisher = {中国标准出版社}, 104 | address = {北京}, 105 | year = {1988}, 106 | pages = {59--92} 107 | } 108 | 109 | @article{Li2000, 110 | author = {李炳穆}, 111 | title = {理想的图书管理员和信息专家的素养与形象}, 112 | journal = {图书情报工作}, 113 | year = {2000}, 114 | number = {2}, 115 | pages = {5--8} 116 | } 117 | 118 | @article{Ding2000, 119 | author = {丁文祥}, 120 | title = {数字革命与竞争国际化}, 121 | journal = {中国青年报}, 122 | date = {2000-11-20}, 123 | number = {15}, 124 | note = {news} 125 | } 126 | 127 | @article{Jiang1999, 128 | author = {江向东}, 129 | title = {互联网环境下的信息处理与图书管理系统解决方案}, 130 | journal = {情报学报}, 131 | year = {1999}, 132 | volume = {18}, 133 | number = {2}, 134 | pages = {4}, 135 | url = {http://www.chinainfo.gov.cn/periodical/qbxb/qbxb99/qbxb990203}, 136 | urldate = {2000-01-18} 137 | } 138 | 139 | 140 | @article{Christine1998, 141 | author = {Christine, Mlot}, 142 | title = {Plant physiology: plant biology in the Genome Era}, 143 | journal = {Science}, 144 | year = {1998}, 145 | volume = {281}, 146 | pages = {331--332}, 147 | url = {http://www.sciencemag.org/cgi/collection/anatmorp}, 148 | urldate = {1998-09-23} 149 | } 150 | 151 | @online{Xiao2001, 152 | author = {萧钰}, 153 | title = {出版业信息化迈人快车道}, 154 | date = {2001-12-19}, 155 | url = {http://www.creader.com/news/20011219/200112190019.html}, 156 | urldate = {2002-04-15} 157 | } 158 | 159 | @article{Yang1999, 160 | author = {杨瑞林 and 李力军 and 李玉成}, 161 | title = {新型低合金高强韧性耐磨钢的研究}, 162 | journal = {钢铁}, 163 | year = {1999}, 164 | volume = {34}, 165 | number = {7}, 166 | pages = {41--45} 167 | } 168 | 169 | @article{Schinstock2000, 170 | author = {Schinstock, D. E. and Cuttino, J. F.}, 171 | title = {Real time kinematic solutions of a non-contacting, three dimensional metrology frame}, 172 | journal = {Precision Engineering}, 173 | year = {2000}, 174 | volume = {24}, 175 | number = {1}, 176 | pages = {70--76} 177 | } 178 | 179 | @book{Wen1990, 180 | author = {温诗铸}, 181 | title = {摩擦学原理}, 182 | publisher = {清华大学出版社}, 183 | address = {北京}, 184 | year = {1990}, 185 | pages = {296--300} 186 | } 187 | 188 | @standard{GBT16159, 189 | author = {国家技术监督局}, 190 | title = {GB/T 16159-1996 汉语拼音正词法基本规则}, 191 | publisher = {中国标准出版社}, 192 | address = {北京}, 193 | year = {1996} 194 | } 195 | 196 | @article{He1999, 197 | author = {何闻}, 198 | title = {标准动态力发生装置国内外研究现状}, 199 | journal = {机电工程}, 200 | year = {1999}, 201 | number = {2}, 202 | pages = {47--49} 203 | } 204 | 205 | @Comment{jabref-meta: databaseType:biblatex;} 206 | -------------------------------------------------------------------------------- /setup.tex: -------------------------------------------------------------------------------- 1 | % !TEX root = ./main.tex 2 | 3 | \sjtusetup{ 4 | % 5 | %****************************** 6 | % 注意: 7 | % 1. 配置里面不要出现空行 8 | % 2. 不需要的配置信息可以删除 9 | %****************************** 10 | % 11 | % 信息录入 12 | % 13 | info = {% 14 | % 15 | % 标题 16 | % 17 | zh / title = {上海交通大学学位论文 \LaTeX{} 模板示例文档}, 18 | en / title = {A Sample Document for \LaTeX-based SJTU Thesis Template}, 19 | % 20 | % 标题页标题 21 | % 可使用“\\”命令手动控制换行 22 | % 23 | % zh / display-title = {上海交通大学学位论文\\ \LaTeX{} 模板示例文档}, 24 | % en / display-title = {A Sample Document \\ for \LaTeX-based SJTU Thesis Template}, 25 | % 26 | % 关键词 27 | % 28 | zh / keywords = {上海交大, 饮水思源, 爱国荣校}, 29 | en / keywords = {SJTU, master thesis, XeTeX/LaTeX template}, 30 | % 31 | % 姓名 32 | % 33 | zh / author = {某\quad{}某}, 34 | en / author = {Mo Mo}, 35 | % 36 | % 指导教师 37 | % 38 | zh / supervisor = {某某教授}, 39 | en / supervisor = {Prof. Mou Mou}, 40 | % 41 | % 副指导教师 42 | % 43 | % assoc-supervisor = {某某教授}, 44 | % assoc-supervisor* = {Prof. Uom Uom}, 45 | % 46 | % 学号 47 | % 48 | id = {0010900990}, 49 | % 50 | % 学位 51 | % 本科生也需要填写 !! 52 | % 53 | zh / degree = {学士}, 54 | en / degree = {Bachelor}, 55 | % 56 | % 专业 57 | % 58 | zh / major = {某某专业}, 59 | en / major = {A Very Important Major}, 60 | % 61 | % 所属院系 62 | % 63 | zh / department = {某某系}, 64 | en / department = {Depart of XXX}, 65 | % 66 | % 答辩日期 67 | % 使用 ISO 格式 (yyyy-mm-dd);默认为当前时间 68 | % 69 | % date = {2023-05-18}, 70 | % 71 | % 标题页显示日期 72 | % 覆盖对应标题页的日期显示,原样输出 73 | % 74 | zh / display-date = {2023 年 5 月}, 75 | % 76 | % 资助基金 77 | % 78 | % zh / fund = { 79 | % {国家 973 项目 (No. 2025CB000000)}, 80 | % {国家自然科学基金 (No. 81120250000)}, 81 | % }, 82 | % en / fund = { 83 | % {National Basic Research Program of China (Grant No. 2025CB000000)}, 84 | % {National Natural Science Foundation of China (Grant No. 81120250000)}, 85 | % }, 86 | }, 87 | % 88 | % 风格设置 89 | % 90 | style = {% 91 | % 92 | % 论文标题页 logo 颜色 (red/blue/black) 93 | % 94 | % title-logo-color = black, 95 | }, 96 | % 97 | % 名称设置 98 | % 99 | name = { 100 | digest = {}, 101 | bib = {参\hspace{\ccwd}考\hspace{\ccwd}文\hspace{\ccwd}献} 102 | % bib = {References}, 103 | % ack = {谢\hspace{\ccwd}辞}, 104 | % achv = {攻读学位期间完成的论文}, 105 | }, 106 | } 107 | 108 | % 使用 BibLaTeX 处理参考文献 109 | % biblatex-gb7714-2015 常用选项 110 | % gbnamefmt=lowercase 姓名大小写由输入信息确定 111 | % gbpub=false 禁用出版信息缺失处理 112 | \usepackage[backend=biber,style=gb7714-2015]{biblatex} 113 | % 文献表字体 114 | % \renewcommand{\bibfont}{\zihao{5}\fixedlineskip{15.6bp}} 115 | % 文献表条目间的间距 116 | \setlength{\bibitemsep}{0pt} 117 | % 导入参考文献数据库 118 | \addbibresource{bibdata/thesis.bib} 119 | 120 | % 脚注格式 121 | \usepackage[perpage,bottom,hang]{footmisc} 122 | 123 | % 定义图片文件目录与扩展名 124 | \graphicspath{{figures/}} 125 | \DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg,.jpeg} 126 | 127 | % 确定浮动对象的位置,可以使用 [H],强制将浮动对象放到这里(可能效果很差) 128 | % \usepackage{float} 129 | 130 | % 固定宽度的表格 131 | % \usepackage{tabularx} 132 | 133 | % 使用三线表:toprule,midrule,bottomrule。 134 | \usepackage{booktabs} 135 | 136 | % 表格中支持跨行 137 | \usepackage{multirow} 138 | 139 | % 表格中数字按小数点对齐 140 | \usepackage{dcolumn} 141 | \newcolumntype{d}[1]{D{.}{.}{#1}} 142 | 143 | % 使用长表格 144 | \usepackage{longtable} 145 | 146 | % 附带脚注的表格 147 | \usepackage{threeparttable} 148 | 149 | % 附带脚注的长表格 150 | \usepackage{threeparttablex} 151 | 152 | % 算法环境宏包 153 | \usepackage[ruled,vlined,linesnumbered]{algorithm2e} 154 | % \usepackage{algorithm, algorithmicx, algpseudocode} 155 | 156 | % 代码环境宏包 157 | \usepackage{listings} 158 | \lstnewenvironment{codeblock}[1][]% 159 | {\lstset{style=lstStyleCode,#1}}{} 160 | 161 | % 物理科学和技术中使用的数学符号,定义了 \qty 命令,与 siunitx 3.0 有冲突 162 | % \usepackage{physics} 163 | 164 | % 直立体数学符号 165 | \providecommand{\dd}{\mathop{}\!\mathrm{d}} 166 | \providecommand{\ee}{\mathrm{e}} 167 | \providecommand{\ii}{\mathrm{i}} 168 | \providecommand{\jj}{\mathrm{j}} 169 | 170 | % 国际单位制宏包 171 | \usepackage{siunitx}[=v2] 172 | 173 | % 定理环境宏包 174 | \usepackage{ntheorem} 175 | % \usepackage{amsthm} 176 | 177 | % 绘图宏包 178 | \usepackage{tikz} 179 | \usetikzlibrary{shapes.geometric, arrows} 180 | 181 | % 一些文档中用到的 logo 182 | \usepackage{hologo} 183 | \providecommand{\XeTeX}{\hologo{XeTeX}} 184 | \providecommand{\BibLaTeX}{\textsc{Bib}\LaTeX} 185 | 186 | % 借用 ltxdoc 里面的几个命令方便写文档 187 | \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} 188 | \providecommand\pkg[1]{{\sffamily#1}} 189 | 190 | % 自定义命令 191 | 192 | % E-mail 193 | \newcommand{\email}[1]{\href{mailto:#1}{\texttt{#1}}} 194 | 195 | % hyperref 宏包在最后调用 196 | \usepackage{hyperref} 197 | 198 | % 自动引用题注更正为中文 199 | \def\equationautorefname{式} 200 | \def\footnoteautorefname{脚注} 201 | \def\itemautorefname{项} 202 | \def\figureautorefname{图} 203 | \def\tableautorefname{表} 204 | \def\partautorefname{篇} 205 | \def\appendixautorefname{附录} 206 | \def\chapterautorefname{章} 207 | \def\sectionautorefname{节} 208 | \def\subsectionautorefname{小节} 209 | \def\subsubsectionautorefname{小节} 210 | \def\paragraphautorefname{段落} 211 | \def\subparagraphautorefname{子段落} 212 | \def\FancyVerbLineautorefname{行} 213 | \def\theoremautorefname{定理} 214 | 215 | % For TOC indent 216 | \setlength{\cftsecindent}{1em} 217 | \setlength{\cftsubsecindent}{2em} -------------------------------------------------------------------------------- /contents/floats.tex: -------------------------------------------------------------------------------- 1 | % !TeX root = ../main.tex 2 | 3 | \chapter{浮动体} 4 | 5 | \section{插图} 6 | 7 | 插图功能是利用 \TeX{} 的特定编译程序提供的机制实现的,不同的编译程序支持不同的图 8 | 形方式。有的同学可能听说“\LaTeX{} 只支持 EPS”,事实上这种说法是不准确的。\XeTeX{} 9 | 可以很方便地插入 EPS、PDF、PNG、JPEG 格式的图片。 10 | 11 | 一般图形都是处在浮动环境中。之所以称为浮动是指最终排版效果图形的位置不一定与源文 12 | 件中的位置对应,这也是刚使用 \LaTeX{} 同学可能遇到的问题。如果要强制固定浮动图形 13 | 的位置,请使用 \pkg{float} 宏包,它提供了 \texttt{[H]} 参数。 14 | 15 | \subsection{单个图形} 16 | 17 | 图要有图题,研究生图题采用中英文对照,并置于图的编号之后,图的编号和图题应置于图 18 | 下方的居中位置。引用图应在图题右上角标出文献来源。当插图中组成部件由数字或字母等 19 | 编号表示时,可在插图下方添加图注进行说明,如图~\ref{fig:cn_100t} 所示。 20 | 21 | \begin{figure}[!htp] 22 | \centering 23 | \includegraphics[width=4cm]{cn_100t.png} \\ 24 | 1.立柱 2.提升释放机构 3.标准冲击加速度计 \\ 25 | 4.导轨 5.重锤 6.被校力传感器 7.底座 \\ 26 | \bicaption[出现在插图索引中] 27 | {单个图形示例\cite{He1999}。如果表格的标题很长,那么在表格索引中就会很不美观。可 28 | 以在前面用中括号写一个简短的标题,这个标题会出现在索引中。} 29 | {Stay hungry, stay foolish.} 30 | \label{fig:cn_100t} 31 | \end{figure} 32 | 33 | \subsection{多个图形} 34 | 35 | 简单插入多个图形的例子如图~\ref{fig:SRR} 所示。这两个水平并列放置的子图共用一个 36 | 图形计数器,没有各自的子图题。 37 | 38 | \begin{figure}[!htp] 39 | \centering 40 | \includegraphics[height=2cm]{sjtu-vi-badge-blue.pdf} 41 | \hspace{1cm} 42 | \includegraphics[height=2cm]{sjtu-vi-badge-blue.pdf} 43 | \bicaption{中文题图}{English caption} 44 | \label{fig:SRR} 45 | \end{figure} 46 | 47 | 如果多个图形相互独立,并不共用一个图形计数器,那么用 \texttt{minipage} 或者 48 | \texttt{parbox} 就可以,如图~\ref{fig:parallel1} 与图~\ref{fig:parallel2}。 49 | 50 | \begin{figure}[!htp] 51 | \begin{minipage}{0.48\textwidth} 52 | \centering 53 | \includegraphics[height=1.5cm]{sjtu-vi-name-blue.pdf} 54 | \caption{并排第一个图} 55 | \label{fig:parallel1} 56 | \end{minipage}\hfill 57 | \begin{minipage}{0.48\textwidth} 58 | \centering 59 | \includegraphics[height=1.5cm]{sjtu-vi-name-blue.pdf} 60 | \caption{并排第二个图} 61 | \label{fig:parallel2} 62 | \end{minipage} 63 | \end{figure} 64 | 65 | 如果要为共用一个计数器的多个子图添加子图题,建议使用较新的 \pkg{subcaption}宏 66 | 包,不建议使用 \pkg{subfigure} 或 \pkg{subfig} 等宏包。 67 | 68 | 推荐使用 \pkg{subcaption} 宏包的 \cs{subcaptionbox} 并排子图,子图题置于子图之 69 | 下,子图号用 a)、b) 等表示。也可以使用 \pkg{subcaption} 宏包的 \cs{subcaption} 70 | (放在 minipage中,用法同 \cs{caption})。 71 | 72 | \pkg{subcaption} 宏包也提供了 \pkg{subfigure} 和 \pkg{subtable} 环境,如 73 | 图~\ref{fig:subfigure}。 74 | 75 | \begin{figure}[!htp] 76 | \centering 77 | \begin{subfigure}{0.3\textwidth} 78 | \centering 79 | \includegraphics[height=2cm]{sjtu-vi-badge-blue.pdf} 80 | \caption{校徽} 81 | \end{subfigure} 82 | \hspace{1cm} 83 | \begin{subfigure}{0.4\textwidth} 84 | \centering 85 | \includegraphics[height=1.5cm]{sjtu-vi-name-blue.pdf} 86 | \caption{校名。注意这个图略矮些,subfigure 中同一行的子图在顶端对齐。} 87 | \end{subfigure} 88 | \caption{包含子图题的范例(使用 subfigure)} 89 | \label{fig:subfigure} 90 | \end{figure} 91 | 92 | 搭配 \pkg{bicaption} 宏包时,可以启用 \cs{subcaptionbox} 和 \cs{subcaption} 的双 93 | 语变种 \cs{bisubcaptionbox} 和 \cs{bisubcaption},如图~\ref{fig:bisubcaptionbox} 94 | 所示。 95 | 96 | \begin{figure}[!hbtp] 97 | \centering 98 | \bisubcaptionbox{$R_3 = 1.5\text{mm}$ 时轴承的压力分布云图}% 99 | {Pressure contour of bearing when $R_3 = 1.5\text{mm}$}% 100 | [6.4cm]{\includegraphics[height=3cm]{example-image-a.pdf}} 101 | \hspace{1cm} 102 | \bisubcaptionbox{$R_3 = 2.5\text{mm}$ 时轴承的压力分布云图}% 103 | {Pressure contour of bearing when $R_3 = 2.5\text{mm}$}% 104 | [6.4cm]{\includegraphics[height=3cm]{example-image-b.pdf}} 105 | \bicaption{包含子图题的范例(使用 subcaptionbox)} 106 | {Example with subcaptionbox} 107 | \label{fig:bisubcaptionbox} 108 | \end{figure} 109 | 110 | 111 | \section{表格} 112 | 113 | \subsection{基本表格} 114 | 115 | 编排表格应简单明了,表达一致,明晰易懂,表文呼应、内容一致。表题置于表上,研究生 116 | 学位论文可以用中、英文两种文字居中排写,中文在上,也可以只用中文。 117 | 118 | 表格的编排建议采用国际通行的三线表\footnote{三线表,以其形式简洁、功能分明、阅读 119 | 方便而在科技论文中被推荐使用。三线表通常只有 3 条线,即顶线、底线和栏目线,没有 120 | 竖线。}。三线表可以使用 \pkg{booktabs} 提供的 \cs{toprule}、\cs{midrule} 和 121 | \cs{bottomrule}。它们与 \pkg{longtable} 能很好的配合使用。 122 | 123 | \begin{table}[!hpt] 124 | \caption[一个颇为标准的三线表]{一个颇为标准的三线表\footnotemark} 125 | \label{tab:firstone} 126 | \centering 127 | \begin{tabular}{@{}llr@{}} \toprule 128 | \multicolumn{2}{c}{Item} \\ \cmidrule(r){1-2} 129 | Animal & Description & Price (\$)\\ \midrule 130 | Gnat & per gram & 13.65 \\ 131 | & each & 0.01 \\ 132 | Gnu & stuffed & 92.50 \\ 133 | Emu & stuffed & 33.33 \\ 134 | Armadillo & frozen & 8.99 \\ \bottomrule 135 | \end{tabular} 136 | \end{table} 137 | \footnotetext{这个例子来自 138 | \href{https://mirrors.sjtug.sjtu.edu.cn/ctan/macros/latex/contrib/booktabs/booktabs.pdf}% 139 | {《Publication quality tables in LaTeX》}(\pkg{booktabs} 宏包的文档)。这也是 140 | 一个在表格中使用脚注的例子,请留意与 \pkg{threeparttable} 实现的效果有何不 141 | 同。} 142 | 143 | \subsection{复杂表格} 144 | 145 | 我们经常会在表格下方标注数据来源,或者对表格里面的条目进行解释。可以用 146 | \pkg{threeparttable} 实现带有脚注的表格,如表~\ref{tab:footnote}。 147 | 148 | \begin{table}[!htpb] 149 | \bicaption{一个带有脚注的表格的例子}{A Table with footnotes} 150 | \label{tab:footnote} 151 | \centering 152 | \begin{threeparttable}[b] 153 | \begin{tabular}{ccd{4}cccc} 154 | \toprule 155 | \multirow{2}*{total} & \multicolumn{2}{c}{20\tnote{a}} & \multicolumn{2}{c}{40} & \multicolumn{2}{c}{60} \\ 156 | \cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-7} 157 | & www & \multicolumn{1}{c}{k} & www & k & www & k \\ % 使用说明符 d 的列会自动进入数学模式,使用 \multicolumn 对文字表头做特殊处理 158 | \midrule 159 | & $\underset{(2.12)}{4.22}$ & 120.0140\tnote{b} & 333.15 & 0.0411 & 444.99 & 0.1387 \\ 160 | & 168.6123 & 10.86 & 255.37 & 0.0353 & 376.14 & 0.1058 \\ 161 | & 6.761 & 0.007 & 235.37 & 0.0267 & 348.66 & 0.1010 \\ 162 | \bottomrule 163 | \end{tabular} 164 | \begin{tablenotes} 165 | \item [a] the first note. 166 | \item [b] the second note. 167 | \end{tablenotes} 168 | \end{threeparttable} 169 | \end{table} 170 | 171 | 如某个表需要转页接排,可以用 \pkg{longtable} 实现。接排时表题省略,表头应重复书 172 | 写,并在右上方写“续表 xx”,如表~\ref{tab:performance}。 173 | 174 | \begin{ThreePartTable} 175 | \begin{TableNotes} 176 | \item[a] 一个脚注 177 | \item[b] 另一个脚注 178 | \end{TableNotes} 179 | \begin{longtable}[c]{c*{6}{r}} 180 | \bicaption{实验数据}{Experimental data} 181 | \label{tab:performance} \\ 182 | \toprule 183 | 测试程序 & \multicolumn{1}{c}{正常运行} & \multicolumn{1}{c}{同步} 184 | & \multicolumn{1}{c}{检查点} & \multicolumn{1}{c}{卷回恢复} 185 | & \multicolumn{1}{c}{进程迁移} & \multicolumn{1}{c}{检查点} \\ 186 | & \multicolumn{1}{c}{时间 (s)} & \multicolumn{1}{c}{时间 (s)} 187 | & \multicolumn{1}{c}{时间 (s)} & \multicolumn{1}{c}{时间 (s)} 188 | & \multicolumn{1}{c}{时间 (s)} & 文件(KB)\\ 189 | \midrule 190 | \endfirsthead 191 | \multicolumn{7}{l}{\textbf{续表~\thetable}} \\ 192 | % 英语论文:\multicolumn{7}{r}{\textbf{Table~\thetable~(continued)}} \\ 193 | \toprule 194 | 测试程序 & \multicolumn{1}{c}{正常运行} & \multicolumn{1}{c}{同步} 195 | & \multicolumn{1}{c}{检查点} & \multicolumn{1}{c}{卷回恢复} 196 | & \multicolumn{1}{c}{进程迁移} & \multicolumn{1}{c}{检查点} \\ 197 | & \multicolumn{1}{c}{时间 (s)} & \multicolumn{1}{c}{时间 (s)} 198 | & \multicolumn{1}{c}{时间 (s)} & \multicolumn{1}{c}{时间 (s)} 199 | & \multicolumn{1}{c}{时间 (s)}& 文件(KB)\\ 200 | \midrule 201 | \endhead 202 | \hline 203 | \multicolumn{7}{r}{续下页} 204 | \endfoot 205 | \insertTableNotes 206 | \endlastfoot 207 | CG.A.2 & 23.05 & 0.002 & 0.116 & 0.035 & 0.589 & 32491 \\ 208 | CG.A.4 & 15.06 & 0.003 & 0.067 & 0.021 & 0.351 & 18211 \\ 209 | CG.A.8 & 13.38 & 0.004 & 0.072 & 0.023 & 0.210 & 9890 \\ 210 | CG.B.2 & 867.45 & 0.002 & 0.864 & 0.232 & 3.256 & 228562 \\ 211 | CG.B.4 & 501.61 & 0.003 & 0.438 & 0.136 & 2.075 & 123862 \\ 212 | CG.B.8 & 384.65 & 0.004 & 0.457 & 0.108 & 1.235 & 63777 \\ 213 | MG.A.2 & 112.27 & 0.002 & 0.846 & 0.237 & 3.930 & 236473 \\ 214 | MG.A.4 & 59.84 & 0.003 & 0.442 & 0.128 & 2.070 & 123875 \\ 215 | MG.A.8 & 31.38 & 0.003 & 0.476 & 0.114 & 1.041 & 60627 \\ 216 | MG.B.2 & 526.28 & 0.002 & 0.821 & 0.238 & 4.176 & 236635 \\ 217 | MG.B.4 & 280.11 & 0.003 & 0.432 & 0.130 & 1.706 & 123793 \\ 218 | MG.B.8 & 148.29 & 0.003 & 0.442 & 0.116 & 0.893 & 60600 \\ 219 | LU.A.2 & 2116.54 & 0.002 & 0.110 & 0.030 & 0.532 & 28754 \\ 220 | LU.A.4 & 1102.50 & 0.002 & 0.069 & 0.017 & 0.255 & 14915 \\ 221 | LU.A.8 & 574.47 & 0.003 & 0.067 & 0.016 & 0.192 & 8655 \\ 222 | LU.B.2 & 9712.87 & 0.002 & 0.357 & 0.104 & 1.734 & 101975 \\ 223 | LU.B.4 & 4757.80 & 0.003 & 0.190 & 0.056 & 0.808 & 53522 \\ 224 | LU.B.8 & 2444.05 & 0.004 & 0.222 & 0.057 & 0.548 & 30134 \\ 225 | EP.A.2 & 123.81 & 0.002 & 0.010 & 0.003 & 0.074 & 1834 \\ 226 | EP.A.4 & 61.92 & 0.003 & 0.011 & 0.004 & 0.073 & 1743 \\ 227 | EP.A.8 & 31.06 & 0.004 & 0.017 & 0.005 & 0.073 & 1661 \\ 228 | EP.B.2 & 495.49 & 0.001 & 0.009 & 0.003 & 0.196 & 2011 \\ 229 | EP.B.4 & 247.69 & 0.002 & 0.012 & 0.004 & 0.122 & 1663 \\ 230 | EP.B.8 & 126.74 & 0.003 & 0.017 & 0.005 & 0.083 & 1656 \\ 231 | SP.A.2 & 123.81 & 0.002 & 0.010 & 0.003 & 0.074 & 1854 \\ 232 | SP.A.4 & 51.92 & 0.003 & 0.011 & 0.004 & 0.073 & 1543 \\ 233 | SP.A.8 & 31.06 & 0.004 & 0.017 & 0.005 & 0.073 & 1671 \\ 234 | SP.B.2 & 495.49 & 0.001 & 0.009 & 0.003 & 0.196 & 2411 \\ 235 | SP.B.4 \tnote{a} & 247.69 & 0.002 & 0.014 & 0.006 & 0.152 & 2653 \\ 236 | SP.B.8 \tnote{b} & 126.74 & 0.003 & 0.017 & 0.005 & 0.082 & 1755 \\ 237 | \bottomrule 238 | \end{longtable} 239 | \end{ThreePartTable} 240 | 241 | \section{算法环境} 242 | 243 | 算法环境可以使用 \pkg{algorithms} 宏包或者较新的 \pkg{algorithm2e} 实现。 244 | 算法~\ref{algo:algorithm} 是一个使用 \pkg{algorithm2e} 的例子。关于排版算法环境 245 | 的具体方法,请阅读相关宏包的官方文档。 246 | 247 | \begin{algorithm}[htb] 248 | \caption{算法示例} 249 | \label{algo:algorithm} 250 | \small 251 | \SetAlgoLined 252 | \KwData{this text} 253 | \KwResult{how to write algorithm with \LaTeXe } 254 | 255 | initialization\; 256 | \While{not at end of this document}{ 257 | read current\; 258 | \eIf{understand}{ 259 | go to next section\; 260 | current section becomes this one\; 261 | }{ 262 | go back to the beginning of current section\; 263 | } 264 | } 265 | \end{algorithm} 266 | 267 | \section{代码环境} 268 | 269 | 我们可以在论文中插入算法,但是不建议插入大段的代码。如果确实需要插入代码,建议使 270 | 用 \pkg{listings} 宏包。 271 | 272 | \begin{codeblock}[language=C] 273 | #include 274 | #include 275 | #include 276 | #include 277 | 278 | int main() { 279 | pid_t pid; 280 | 281 | switch ((pid = fork())) { 282 | case -1: 283 | printf("fork failed\n"); 284 | break; 285 | case 0: 286 | /* child calls exec */ 287 | execl("/bin/ls", "ls", "-l", (char*)0); 288 | printf("execl failed\n"); 289 | break; 290 | default: 291 | /* parent uses wait to suspend execution until child finishes */ 292 | wait((int*)0); 293 | printf("is completed\n"); 294 | break; 295 | } 296 | 297 | return 0; 298 | } 299 | \end{codeblock} 300 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [2019] [SJTUG] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | --------------------------------------------------------------------------------