diff --git a/sjtutex/doc/sample-thesis-de.tex b/sjtutex/doc/sample-thesis-de.tex new file mode 100644 index 00000000..d78c36c6 --- /dev/null +++ b/sjtutex/doc/sample-thesis-de.tex @@ -0,0 +1,105 @@ +% !TeX encoding = UTF-8 + +% 载入 SJTUThesis 模版 +\documentclass[type=master,lang=de]{sjtuthesis} + +\input{common-package} +% \usepackage[ngerman]{babel} +\usepackage{ngerman} +\usepackage[pangram]{blindtext} +\input{common-setup-thesis} +% 使用 MLA 引用格式 +\usepackage[backend=biber,style=mla-new]{biblatex} +% 变更为自订的引用样式 (Kafka: 67) +\DeclareDelimFormat{postnotedelim}{\addcolon\space} +\renewbibmacro*{postnote}{% + \iffieldundef{postnote}% + {} + {\setunit{\printdelim{postnotedelim}}%% + \ifbool{cbx@hyperpages}% + {\printtext[bibhyperref]{\printfield[ibidpostnote]{postnote}}}% + {\printfield[ibidpostnote]{postnote}}}}% +% 调整引用标题,不使用 Works Cited +\AtBeginDocument{ + \renewcommand{\bibname}{Literaturverzeichnis} +} +% 添加引用数据库 +\addbibresource{ref.bib} +% 德语模板补充字段 +\sjtusetup{ + info = { + de / title = {Vorlage für Abschlussarbeiten der Shanghai Jiao Tong Universität}, + de / display-title = {Vorlage für Abschlussarbeiten der \\ Shanghai Jiao Tong Universität}, + de / keywords = {Dissertation, Dissertation-Format, Standardisierung, Vorlage}, + de / degree = {Master of Engineering}, + de / author = {Jemand}, + de / supervisor = {Professor Jemand}, + de / major = {Ein bestimmtes Fachgebiet}, + de / department = {Gewisse Abteilung}, + % de / fund = { + % {National 973 Project (No. 2025CB000000)}, + % {Nationale Stiftung für Naturwissenschaften Chinas (No. 81120250000)}, + % }, + } +} + +\begin{document} + +% 标题页 +\maketitle + +% 原创性声明及使用授权书 +\copyrightpage + +% 前置部分 +\frontmatter + +\begin{abstract}[zh] + \input{common-abstract-zh.tex} +\end{abstract} + +\begin{abstract}[en] + \input{common-abstract-en.tex} +\end{abstract} + +\begin{abstract}[de] + \input{common-abstract-de.tex} +\end{abstract} + +% 目录 +\tableofcontents +% 插图索引 +\listoffigures* +% 表格索引 +\listoftables* +% 算法索引 +% \listofalgorithms* + +% 主体部分 +\mainmatter + +\input{common-mainmatter-de} + +% 参考文献 +\printbibliography[heading=bibintoc] + +% 附录 +\appendix + +% 附录中图表不加入索引 +\captionsetup{list=no} + +\input{common-nomenclature-de} + +% 结尾部分 +\backmatter + +% 用于盲审的论文需隐去致谢、发表论文、科研成果、简历 + +\input{common-achievements-de} + +\input{common-acknowledgements-de} + +\input{common-digest} + +\end{document} diff --git a/sjtutex/source/sjtutex.dtx b/sjtutex/source/sjtutex.dtx index 82a6f207..78e658d4 100644 --- a/sjtutex/source/sjtutex.dtx +++ b/sjtutex/source/sjtutex.dtx @@ -64,18 +64,23 @@ \file{sjtuarticle.cls} {\from{\jobname.dtx}{class,article}} \file{sjtu-lang-thesis-zh.def} {\from{\jobname.dtx}{lang,thesis,zh}} \file{sjtu-lang-thesis-en.def} {\from{\jobname.dtx}{lang,thesis,en}} + \file{sjtu-lang-thesis-de.def} {\from{\jobname.dtx}{lang,thesis,de}} \file{sjtu-lang-thesis-ja.def} {\from{\jobname.dtx}{lang,thesis,ja}} \file{sjtu-lang-generic-zh.def} {\from{\jobname.dtx}{lang,generic,zh}} \file{sjtu-lang-generic-en.def} {\from{\jobname.dtx}{lang,generic,en}} + \file{sjtu-lang-generic-de.def} {\from{\jobname.dtx}{lang,generic,de}} \file{sjtu-lang-generic-ja.def} {\from{\jobname.dtx}{lang,generic,ja}} \file{sjtu-name-thesis-zh.def} {\from{\jobname.dtx}{name,thesis,zh}} \file{sjtu-name-thesis-en.def} {\from{\jobname.dtx}{name,thesis,en}} + \file{sjtu-name-thesis-de.def} {\from{\jobname.dtx}{name,thesis,de}} \file{sjtu-name-thesis-ja.def} {\from{\jobname.dtx}{name,thesis,ja}} \file{sjtu-name-generic-zh.def} {\from{\jobname.dtx}{name,generic,zh}} \file{sjtu-name-generic-en.def} {\from{\jobname.dtx}{name,generic,en}} + \file{sjtu-name-generic-de.def} {\from{\jobname.dtx}{name,generic,de}} \file{sjtu-name-generic-ja.def} {\from{\jobname.dtx}{name,generic,ja}} \file{sjtu-scheme-zh.def} {\from{\jobname.dtx}{scheme,zh}} \file{sjtu-scheme-en.def} {\from{\jobname.dtx}{scheme,en}} + \file{sjtu-scheme-de.def} {\from{\jobname.dtx}{scheme,de}} \file{sjtu-scheme-ja.def} {\from{\jobname.dtx}{scheme,ja}} \file{sjtu-text-font-newtx.def} {\from{\jobname.dtx}{font,text,newtx}} \file{sjtu-text-font-newpx.def} {\from{\jobname.dtx}{font,text,newpx}} @@ -160,30 +165,40 @@ %\ProvidesExplFile{sjtu-lang-thesis-zh.def} % {English specific definition for thesis (SJTUTeX)} %\ProvidesExplFile{sjtu-lang-thesis-en.def} +% {German specific definition for thesis (SJTUTeX)} +%\ProvidesExplFile{sjtu-lang-thesis-de.def} % {Japanese specific definition for thesis (SJTUTeX)} %\ProvidesExplFile{sjtu-lang-thesis-ja.def} % {Chinese specific definition for generic (SJTUTeX)} %\ProvidesExplFile{sjtu-lang-generic-zh.def} % {English specific definition for generic (SJTUTeX)} %\ProvidesExplFile{sjtu-lang-generic-en.def} +% {German specific definition for generic (SJTUTeX)} +%\ProvidesExplFile{sjtu-lang-generic-de.def} % {Japanese specific definition for generic (SJTUTeX)} %\ProvidesExplFile{sjtu-lang-generic-ja.def} % {Chinese name config for thesis (SJTUTeX)} %\ProvidesExplFile{sjtu-name-thesis-zh.def} % {English name config for thesis (SJTUTeX)} %\ProvidesExplFile{sjtu-name-thesis-en.def} +% {German name config for thesis (SJTUTeX)} +%\ProvidesExplFile{sjtu-name-thesis-de.def} % {Japanese name config for thesis (SJTUTeX)} %\ProvidesExplFile{sjtu-name-thesis-ja.def} % {Chinese name config for generic (SJTUTeX)} %\ProvidesExplFile{sjtu-name-generic-zh.def} % {English name config for generic (SJTUTeX)} %\ProvidesExplFile{sjtu-name-generic-en.def} +% {German name config for generic (SJTUTeX)} +%\ProvidesExplFile{sjtu-name-generic-de.def} % {Japanese name config for generic (SJTUTeX)} %\ProvidesExplFile{sjtu-name-generic-ja.def} % {Chinese scheme (SJTUTeX)} %\ProvidesExplFile{sjtu-scheme-zh.def} % {English scheme (SJTUTeX)} %\ProvidesExplFile{sjtu-scheme-en.def} +% {German scheme (SJTUTeX)} +%\ProvidesExplFile{sjtu-scheme-de.def} % {Japanese scheme (SJTUTeX)} %\ProvidesExplFile{sjtu-scheme-ja.def} % {New TX text fonts definition (SJTUTeX)} @@ -579,9 +594,9 @@ % % \begin{function}[updated=2023-03-18]{lang} % \begin{sjtusyntax}[emph={[1]lang}] -% lang = (*<(zh)|en|ja>*) +% lang = (*<(zh)|en|de|ja>*) % \end{sjtusyntax} -% 论文主要语言。可选中文、英文或日文,该选项会改变文档中的一些标题的名字。 +% 论文主要语言。可选中文、英文、德文或日文,该选项会改变文档中的一些标题的名字。 % 下文中 \meta{lang} 可以指定为这些选项中的其中之一。 % \end{function} % @@ -1084,34 +1099,35 @@ % % \begin{table}[hbt] % \vspace{-47ex} -% \centering\small +% \centering % \caption{\opt{name} 选项的默认设置} % \label{tab:names} -% \begin{tabular}{l|p{7em}|p{9em}|p{8em}} +% \small \tabcolsep=3pt +% \begin{tabular}{l|p{8em}|p{9em}|p{11em}|p{8em}} % \toprule -% \strong{选项} & \strong{|lang = zh|} & \strong{|lang = en|} & \strong{|lang = ja|} \\ +% \strong{选项} & \strong{|lang = zh|} & \strong{|lang = en|} & \strong{|lang = de|} & \strong{|lang = ja|} \\ % \midrule -% |contents| & 目录 & Contents & 目次 \\ -% |listfigure| & 插图 & List of Figures & 図目次 \\ -% |listtable| & 表格 & List of Tables & 表目次 \\ -% |figure| & 图 & Figure & 図 \\ -% |table| & 表 & Table & 表 \\ -% |abstract| \rexpstar & 摘要 & Abstract & 概要 \\ -% |appendix| & 附录 & Appendix & 索引 \\ -% |index| & 索引 & Index & 付録 \\ -% |proof| & 证明 & Proof & 证明 \\ -% |bib| & 参考文献 & Bibliography & 参考文献 \\ +% |contents| & 目录 & Contents & Inhaltsverzeichnis & 目次 \\ +% |listfigure| & 插图 & List of Figures & Abbildungsverzeichnis & 図目次 \\ +% |listtable| & 表格 & List of Tables & Tabellenverzeichnis & 表目次 \\ +% |figure| & 图 & Figure & Abbildung & 図 \\ +% |table| & 表 & Table & Tabelle & 表 \\ +% |abstract| \rexpstar & 摘要 & Abstract & Zusammenfassung & 概要 \\ +% |index| & 索引 & Index & Index & 索引 \\ +% |appendix| & 附录 & Appendix & Anhang & 付録 \\ +% |proof| & 证明 & Proof & Beweis & 证明 \\ +% |bib| & 参考文献 & Bibliography & Literaturverzeichnis & 参考文献 \\ % \midrule -% |figure*| & Figure & 图 & Figure \\ -% |table*| & Table & 表 & Table \\ -% |algorithm| & 算法 & Algorithm & アルゴリズム \\ -% |listalgorithm| & 算法 & List of Algorithms & アルゴリズム目次 \\ -% |abbr| \rexpstar & 缩略语对照表 & Abbreviation & 略語表 \\ -% |nom| \rexpstar & 主要符号对照表 & Nomenclature & 記号表 \\ -% |ack| \rexpstar & 致谢 & Acknowledgements & 謝辞 \\ -% |resume| \rexpstar & 个人简历 & Resume & 履歴書 \\ -% |digest| \rexpstar & 大摘要 & Digest & 要訳 \\ -% |achv| \rexpstar & 学术论文和科研成果目录 & List of Research Achievements & 学術論文及び研究成果目録 \\ +% |figure*| & Figure & 图 & Figure & Figure \\ +% |table*| & Table & 表 & Table & Table \\ +% |algorithm| & 算法 & Algorithm & Algorithmus & アルゴリズム \\ +% |listalgorithm| & 算法 & List of Algorithms & Algorithmenverzeichnis & アルゴリズム目次 \\ +% |abbr| \rexpstar & 缩略语对照表 & Abbreviation & Abkürzungsverzeichnis & 略語表 \\ +% |nom| \rexpstar & 主要符号对照表 & Nomenclature & Symbolverzeichnis & 記号表 \\ +% |ack| \rexpstar & 致谢 & Acknowledgements & Danksagungen & 謝辞 \\ +% |resume| \rexpstar & 个人简历 & Resume & Lebenslauf & 履歴書 \\ +% |digest| \rexpstar & 大摘要 & Digest & Kurzfassung & 要訳 \\ +% |achv| \rexpstar & 学术论文和科研成果目录 & List of Research Achievements & Forschungsleistungen & 研究業績書 \\ % \bottomrule % \end{tabular} % \end{table} @@ -1328,7 +1344,7 @@ % 环境,配合不同的可选参数作为标题,展示不同类型的成果。 % \end{function} % -% \begin{function}[rEXP,updated=2022-02-24]{bibliolist,bibliolist*} +% \begin{function}[rEXP,updated=2022-03-23]{bibliolist,bibliolist*} % \begin{sjtusyntax}[emph={[2]bibliolist,bibliolist*}] % \begin{bibliolist}(*\marg{最长条目编号}*) % \item (*\meta{文献条目}*) @@ -1338,7 +1354,8 @@ % \end{bibliolist*} % \end{sjtusyntax} % 附录用文献环境,只允许在 \env{achievements} 环境中使用。 -% 需要指定最长条目的编号作为参数,比如 \opt{99}。 +% 需要指定最长条目的编号作为参数,比如 \opt{99}; +% 如果将该强制参数被指定为空,将不显示编号,每条以悬挂缩进做区分。 % 环境内部使用 \cs{item} 来分隔各条目,在同一个 \env{achievements} 环境内、不同的 % \env{bibliolist} 或 \env{bibliolist*} 环境中编号连续递增、不会间断。 % 普通模式下显示 \env{bibliolist} 中的内容,盲审模式下显示 \env{bibliolist*} 中的内容。 @@ -1388,7 +1405,7 @@ "l3kernel"~ and~ "l3packages"~ using~ your~ TeX~ package \\ manager~ or~ from~ CTAN. } -\@ifpackagelater { expl3 } { 2020/07/14 } { } +\@ifpackagelater { expl3 } { 2020/04/06 } { } { \msg_error:nnn { sjtutex } { l3-too-old } { expl3 } } % \end{macrocode} % @@ -1425,7 +1442,8 @@ % 论文语言。 % \begin{macrocode} \tl_new:N \g_@@_lang_tl -%\clist_new:N \g_@@_lang_clist +\tl_const:Nn \c_@@_lang_de_tl { de } +\tl_const:Nn \c_@@_lang_ja_tl { ja } %\clist_set:Nn \g_@@_lang_clist { zh, en } % \end{macrocode} % \end{variable} @@ -1487,10 +1505,6 @@ % % \begin{variable}{\g_@@_options_to_ctex_class_clist} % 保存由 \pkg{sjtutex} 传入 \pkg{ctex} 文档类的选项列表。 -% \begin{macrocode} -\clist_new:N \g_@@_options_to_ctex_class_clist -% \end{macrocode} -% % 默认 \pkg{ctex} 文档类的选项: % 使用 UTF8 编码,不调整基础类的版式以及不载入 \pkg{ctex} 字体预设配置。 % \begin{macrocode} @@ -1579,7 +1593,7 @@ lang .choice: , lang .value_required:n = true , lang .choices:nn = - { zh, en, ja } + { zh, en, de, ja } { \tl_gset_eq:NN \g_@@_lang_tl \l_keys_choice_tl %<*thesis> @@ -1763,7 +1777,9 @@ \bool_if:NT \g_@@_upright_integral_bool { upint } , \bool_if:NT \g_@@_integral_limits_bool - { intlimits } + { intlimits } , + \tl_if_eq:NNT \g_@@_lang_tl \c_@@_lang_de_tl + { german, ngerman } } % \end{macrocode} % @@ -1852,12 +1868,14 @@ % % \subsubsection{内部函数} % -% \begin{macro}{\cs_gset:cpo,\tl_const:Nv, +% \begin{macro}[int]{\cs_gset:cpo,\tl_const:Nv, +% \clist_use:NV,\clist_use:cv, % \exp_args:NNnv,\regex_match:neTF} % \LaTeX3{} 函数变体。 % \begin{macrocode} \cs_generate_variant:Nn \cs_gset:Npn { cpo } \cs_generate_variant:Nn \tl_const:Nn { Nv } +\cs_generate_variant:Nn \clist_use:Nn { NV, cv } \exp_args_generate:n { Nnv } \cs_generate_variant:Nn \exp_last_unbraced:Ne { ce } \prg_generate_conditional_variant:Nnn \regex_match:nn { ne } { T, TF } @@ -2597,7 +2615,7 @@ %<*font&cjk> %<*windows> %<*und> -\tl_if_eq:NnTF \g_@@_lang_tl { ja } +\tl_if_eq:NNTF \g_@@_lang_tl \c_@@_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-windows-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-windows-zh.def } } % @@ -2637,7 +2655,7 @@ % %<*mac> %<*und> -\tl_if_eq:NnTF \g_@@_lang_tl { ja } +\tl_if_eq:NNTF \g_@@_lang_tl \c_@@_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-mac-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-mac-zh.def } } % @@ -2717,7 +2735,7 @@ % %<*ubuntu> %<*und> -\tl_if_eq:NnTF \g_@@_lang_tl { ja } +\tl_if_eq:NNTF \g_@@_lang_tl \c_@@_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-ubuntu-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-ubuntu-zh.def } } % @@ -2790,7 +2808,7 @@ % %<*adobe> %<*und> -\tl_if_eq:NnTF \g_@@_lang_tl { ja } +\tl_if_eq:NNTF \g_@@_lang_tl \c_@@_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-adobe-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-adobe-zh.def } } % @@ -2847,7 +2865,7 @@ % %<*fandol> %<*und> -\tl_if_eq:NnTF \g_@@_lang_tl { ja } +\tl_if_eq:NNTF \g_@@_lang_tl \c_@@_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-fandol-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-fandol-zh.def } } % @@ -2944,7 +2962,7 @@ % %<*founder> %<*und> -\tl_if_eq:NnTF \g_@@_lang_tl { ja } +\tl_if_eq:NNTF \g_@@_lang_tl \c_@@_lang_ja_tl { \ctex_file_input:n { sjtu-cjk-font-founder-ja.def } } { \ctex_file_input:n { sjtu-cjk-font-founder-zh.def } } % @@ -3029,6 +3047,8 @@ appendix .meta:nn = { ctex } { appendixname = {#1} } , proof .meta:nn = { ctex } { proofname = {#1} } , bib .meta:nn = { ctex } { bibname = {#1} } , + part .tl_set:N = \partname , +% chapter .tl_set:N = \chaptername , % \end{macrocode} % % 标准文档类中未定义的名称。 @@ -3089,6 +3109,36 @@ % \end{macrocode} % % \begin{macrocode} +%<*de> +\keys_set_known:nn { sjtu / name } + { + contents = { Inhaltsverzeichnis } , + listfigure = { Abbildungsverzeichnis } , + listtable = { Tabellenverzeichnis } , + figure = { Abbildung } , + table = { Tabelle } , + abstract = { Zusammenfassung } , + index = { Index } , + appendix = { Anhang } , + proof = { Beweis } , + bib = { Literaturverzeichnis } , + part = { Teil } , + chapter = { Kapitel } , + figure* = { Figure } , + table* = { Table } , + algorithm = { Algorithmus } , + listalgorithm = { Algorithmenverzeichnis } , + abbr = { Abkürzungsverzeichnis } , + nom = { Symbolverzeichnis } , + ack = { Danksagungen } , + resume = { Lebenslauf } , + digest = { Kurzfassung } , + achv = { Forschungsleistungen } + } +% +% \end{macrocode} +% +% \begin{macrocode} %<*ja> \keys_set_known:nn { sjtu / name } { @@ -3110,8 +3160,8 @@ nom = { 記号表 } , ack = { 謝 \quad 辞 } , resume = { 履歴書 } , - digest = { 要 \quad 訳 } , - achv = { 学術論文及び研究成果目録 } + digest = { 要 \quad 約 } , + achv = { 研究業績書 } } % % @@ -3124,7 +3174,7 @@ \clist_map_inline:Nn \g_@@_lang_clist { \file_input:n { sjtu-name-thesis- #1 .def } } \clist_map_inline:nn - { title_page, copyright_page, abstract } + { title_page, declaration, abstract } { \@@_define_name:nv {#1} { c_@@_name_ #1 _ \g_@@_lang_tl _tl } } % % \file_input:n { sjtu-name-generic- \g_@@_lang_tl .def } @@ -3422,7 +3472,7 @@ %<*scheme> \ctex_if_autoindent_touched:F % { \ctex_set:n { autoindent = true } } -% { \ctex_set:n { autoindent = 1.5 em } } +% { \ctex_set:n { autoindent = 1.5 em } } % { \ctex_set:n { autoindent = 1 } } % \end{macrocode} % @@ -3703,6 +3753,7 @@ % \begin{macrocode} %\@@_info_keys_define:n { zh } %\@@_info_keys_define:n { en } +%\@@_info_keys_define:n { de } %\@@_info_keys_define:n { ja } % \end{macrocode} % @@ -3728,8 +3779,9 @@ %<*lang> %<*thesis> %\keys_define:nn { sjtu / info / zh } -%\keys_define:nn { sjtu / info / ja } %\keys_define:nn { sjtu / info / en } +%\keys_define:nn { sjtu / info / de } +%\keys_define:nn { sjtu / info / ja } { subject .initial:x = { @@ -3738,16 +3790,21 @@ \exp_not:V \c_@@_name_degree_level_zh_tl \exp_not:V \c_@@_name_thesis_zh_tl % -%<*ja> - \exp_not:V \c_@@_name_univ_ja_tl - \exp_not:V \c_@@_name_degree_level_ja_tl - \exp_not:V \c_@@_name_thesis_ja_tl -% %<*en> A~ Dissertation~ Submitted~ to \exp_not:N \\ { \exp_not:V \c_@@_name_univ_en_tl }~ for~ { \exp_not:V \c_@@_name_degree_level_en_tl }~ Degree % +%<*de> + Eine~ Dissertation~ Eingereicht~ an \exp_not:N \\ + der~ { \exp_not:V \c_@@_name_univ_de_tl }~ für~ + { \exp_not:V \c_@@_name_degree_level_de_tl } titel +% +%<*ja> + \exp_not:V \c_@@_name_univ_ja_tl + \exp_not:V \c_@@_name_degree_level_ja_tl + \exp_not:V \c_@@_name_thesis_ja_tl +% } } % @@ -3775,26 +3832,6 @@ % \end{macrocode} % % \begin{macrocode} -%<*ja> -\cs_new:Npn \@@_date_aux_ja:nnn #1#2#3 - { - \int_to_arabic:n {#1} ~ { \exp_not:V \c_@@_name_year_ja_tl } ~ - \int_to_arabic:n {#2} ~ { \exp_not:V \c_@@_name_month_ja_tl } ~ - \int_to_arabic:n {#3} ~ { \exp_not:V \c_@@_name_day_ja_tl } - } -\cs_new:Npn \@@_date_aux_ja:w #1-#2-#3 \q_stop - { \@@_date_aux_ja:nnn {#1} {#2} {#3} } -\cs_new:Npn \@@_date_aux_short_ja:nn #1#2 - { - \int_to_arabic:n {#1} ~ { \exp_not:V \c_@@_name_year_ja_tl } ~ - \int_to_arabic:n {#2} ~ { \exp_not:V \c_@@_name_month_ja_tl } - } -\cs_new:Npn \@@_date_aux_short_ja:w #1-#2 \q_stop - { \@@_date_aux_short_ja:nn {#1} {#2} } -% -% \end{macrocode} -% -% \begin{macrocode} %<*en> \cs_new:Npn \@@_ordinal_en:n #1 { @@ -3836,6 +3873,45 @@ % % \end{macrocode} % +% \begin{macrocode} +%<*de> +\cs_new:Npn \@@_date_aux_de:nnn #1#2#3 + { + \clist_item:Nn \c_@@_name_month_de_clist {#2} ~ + {#3} ,~ \int_to_arabic:n {#1} + } +\cs_new:Npn \@@_date_aux_de:w #1-#2-#3 \q_stop + { \@@_date_aux_de:nnn {#1} {#2} {#3} } +\cs_new:Npn \@@_date_aux_short_de:nn #1#2 + { + \clist_item:Nn \c_@@_name_month_de_clist {#2} ,~ + \int_to_arabic:n {#1} + } +\cs_new:Npn \@@_date_aux_short_de:w #1-#2 \q_stop + { \@@_date_aux_short_de:nn {#1} {#2} } +% +% \end{macrocode} +% +% \begin{macrocode} +%<*ja> +\cs_new:Npn \@@_date_aux_ja:nnn #1#2#3 + { + \int_to_arabic:n {#1} ~ { \exp_not:V \c_@@_name_year_ja_tl } ~ + \int_to_arabic:n {#2} ~ { \exp_not:V \c_@@_name_month_ja_tl } ~ + \int_to_arabic:n {#3} ~ { \exp_not:V \c_@@_name_day_ja_tl } + } +\cs_new:Npn \@@_date_aux_ja:w #1-#2-#3 \q_stop + { \@@_date_aux_ja:nnn {#1} {#2} {#3} } +\cs_new:Npn \@@_date_aux_short_ja:nn #1#2 + { + \int_to_arabic:n {#1} ~ { \exp_not:V \c_@@_name_year_ja_tl } ~ + \int_to_arabic:n {#2} ~ { \exp_not:V \c_@@_name_month_ja_tl } + } +\cs_new:Npn \@@_date_aux_short_ja:w #1-#2 \q_stop + { \@@_date_aux_short_ja:nn {#1} {#2} } +% +% \end{macrocode} +% % 设置语言格式辅助命令 % \begin{macrocode} %<*zh> @@ -3852,13 +3928,14 @@ \normalfont } % -%<*en> -\cs_new_protected:Nn \@@_set_language_en: +%<*en|de> +%\cs_new_protected:Nn \@@_set_language_en: +%\cs_new_protected:Nn \@@_set_language_de: { \ctex_set:n { autoindent = 1.5 em } \normalfont } -% +% %<*ja> \cs_new:Nn \@@_set_cjk_default_ja: { @@ -3880,6 +3957,7 @@ %<*thesis> %\cs_new:Npn \ps@SJTU@fund@zh %\cs_new:Npn \ps@SJTU@fund@en +%\cs_new:Npn \ps@SJTU@fund@de %\cs_new:Npn \ps@SJTU@fund@ja { \ps@empty @@ -3889,6 +3967,7 @@ \centering \zihao { - 5 } % \clist_use:Nn \l_@@_info_fund_zh_clist { \par } % \clist_use:Nn \l_@@_info_fund_en_clist { \par } +% \clist_use:Nn \l_@@_info_fund_de_clist { \par } % \clist_use:Nn \l_@@_info_fund_ja_clist { \par } \end{minipage} } @@ -4152,13 +4231,14 @@ components = { logo, subject, title, info, date } } % -%<*en|ja> +%<*en|de|ja> \clist_map_inline:nn { { subject } { format = \zihao { 4 } \bfseries \fixedlineskip { 31.2 bp } , % content = \l_@@_info_subject_en_tl , +% content = \l_@@_info_subject_de_tl , % content = \l_@@_info_subject_ja_tl , bottom-skip = \c_zero_dim plus 2 fill }, @@ -4166,6 +4246,7 @@ { format = \zihao { -2 } \bfseries \fixedlineskip { 31.2 bp } , % content = \MakeUppercase \l_@@_info_display_title_en_tl , +% content = \MakeUppercase \l_@@_info_display_title_de_tl , % content = \l_@@_info_display_title_ja_tl , bottom-skip = \c_zero_dim plus 2 fill }, @@ -4175,9 +4256,11 @@ content = { % \@@_title_page_info_i:nxn { en } +% \@@_title_page_info_i:nxn { de } % \@@_title_page_info_i:nxn { ja } { author, \l_@@_info_supervisors_clist } % { { \bfseries #1 \c_@@_name_info_sep_en_tl } {#3} } +% { { \bfseries #1 \c_@@_name_info_sep_de_tl } {#3} } % { { \bfseries #1 \c_@@_name_info_sep_ja_tl } {#3} } } , bottom-skip = \c_zero_dim plus 3 fill @@ -4187,11 +4270,13 @@ format = \zihao { 3 } \fixedlineskip { 31.2 bp } , content = % { \@@_title_page_info_ii:n { en } } +% { \@@_title_page_info_ii:n { de } } % { \@@_title_page_info_ii:n { ja } } }, } { % \@@_declare_component:nnn { title / en } #1 +% \@@_declare_component:nnn { title / de } #1 % \@@_declare_component:nnn { title / ja } #1 } %<*en> @@ -4203,6 +4288,15 @@ components = { subject, title, info, date } } % +%<*de> +\@@_declare_page:nn { title / de } + { + style = SJTU@fund@de , + format = \linespread { 1 } \@@_set_language_de: , + prefix = title / de , + components = { subject, title, info, date } + } +% %<*ja> \@@_declare_page:nn { title / ja } { @@ -4212,7 +4306,7 @@ components = { subject, title, info, date } } % -% +% % % % \end{macrocode} @@ -4313,7 +4407,7 @@ \@@_declare_page:nn { copyright } { bookmark = true , - bookmark-text = \c_@@_name_copyright_page_tl , + bookmark-text = \c_@@_name_declaration_tl , format = \linespread { 1 } \@@_set_language_zh: , prefix = copyright , components = @@ -4338,7 +4432,7 @@ { \bool_if:NTF \g_@@_openright_bool { \cleardoublepage } { \clearpage } - \@@_pdf_bookmark:nn { 0 } { \c_@@_name_copyright_page_tl } + \@@_pdf_bookmark:nn { 0 } { \c_@@_name_declaration_tl } \includepdf {#1} } { @@ -4353,21 +4447,6 @@ % % \subsection{摘要} % -% \begin{macro}{\@@_output_keywords:Nnn,\@@_output_keywords:cvv} -% 格式化输出关键词的辅助函数。 -% \begin{macrocode} -\cs_new:Nn \@@_output_keywords:Nnn - { - \clist_if_empty:NF #1 - { - \par \mode_leave_vertical: \par \noindent - { \bfseries #2 } \clist_use:Nn #1 {#3} - } - } -\cs_generate_variant:Nn \@@_output_keywords:Nnn { cvv } -% \end{macrocode} -% \end{macro} -% % 学位论文摘要环境。 % \begin{macrocode} %<*thesis> @@ -4397,8 +4476,17 @@ \bool_gset_true:N \l_@@_abstract_bookmark_bool } #2 - \@@_output_keywords:cvv { l_@@_info_keywords_ #1 _clist } - { c_@@_name_keywords_ #1 _tl } { c_@@_name_item_sep_ #1 _tl } + \clist_if_empty:cF { l_@@_info_keywords_ #1 _clist } + { + \par \mode_leave_vertical: \par \noindent + { + \bfseries + \tl_use:c { c_@@_name_keywords_ #1 _tl } + \tl_use:c { c_@@_name_info_sep_ #1 _tl } + } + \clist_use:cv { l_@@_info_keywords_ #1 _clist } + { c_@@_name_item_sep_ #1 _tl } + } } { \msg_error:nnn { sjtutex } { lang-validation } {#1} } } { } @@ -4422,8 +4510,16 @@ % \begin{macrocode} \@@_preto_cmd:Nn \endabstract { - \@@_output_keywords:Nnn \l_@@_info_keywords_clist - { \c_@@_name_keywords_tl } { \c_@@_name_item_sep_tl } + \clist_if_empty:NF \l_@@_info_keywords_clist + { + \par \mode_leave_vertical: \par \noindent + { + \bfseries + \c_@@_name_keywords_tl + \c_@@_name_info_sep_tl + } + \clist_use:NV \l_@@_info_keywords_clist \c_@@_name_item_sep_tl + } } % % \end{macrocode} @@ -4528,11 +4624,24 @@ { \cs_if_exist_use:N \bibfont \list - { \@biblabel { \arabic{ SJTU@bib } } } { - \@@_dim_set_to_wd:Nn \labelwidth { \@biblabel {#1} } - \dim_set_eq:NN \leftmargin \labelwidth - \dim_add:Nn \leftmargin { \labelsep } + \tl_if_blank:nTF {#1} + { \hfill } + { \@biblabel { \arabic{ SJTU@bib } } } + } + { + \tl_if_blank:nTF {#1} + { + \dim_if_exist:NTF \bibhang + { \dim_set_eq:NN \leftmargin \bibhang } + { \dim_set:Nn \leftmargin { 1 em } } + \dim_set:Nn \itemindent { - \leftmargin } + } + { + \@@_dim_set_to_wd:Nn \labelwidth { \@biblabel {#1} } + \dim_set_eq:NN \leftmargin \labelwidth + \dim_add:Nn \leftmargin { \labelsep } + } \dim_if_exist:NTF \bibitemsep { \dim_set_eq:NN \itemsep \bibitemsep @@ -4969,6 +5078,13 @@ July, August, September, October, November, December } % +%<*de> +\clist_const:Nn \c_@@_name_month_de_clist + { + Januar, Februar, März, April, Mai, Juni, + Juli, August, September, Oktober, November, Dezember + } +% %<*thesis> %<*zh> \@@_define_symbol:nn { white_square } { "25A1 } @@ -4981,6 +5097,11 @@ { degree_level } { \g_@@_thesis_type_int } { Bachelor, Master, Doctor } % +%<*de> +\@@_define_name_from_clist:nnnn { de } + { degree_level } { \g_@@_thesis_type_int } + { Bachelor, Master, Doktor } +% %<*ja> \@@_define_name_from_clist:nnnn { ja } { degree_level } { \g_@@_thesis_type_int } @@ -4991,27 +5112,27 @@ \clist_map_inline:nn { %<*thesis> - { univ } { 上海交通大学 } , - { author } { 姓名 } , - { id } { 学号 } , - { supervisor } { 导师 } , - { assoc_supervisor } { 副导师 } , - { department } { 院系 } , - { co_supervisor } { 联合导师 } , - { major } { 学科 / 专业 } , - { degree } { 申请学位 } , - { thesis } { 学位论文 } , - { title_page } { 题名页 } , - { copyright_page } { 版权页 } , - { orig_decl } { 原创性声明 } , - { auth_decl } { 使用授权书 } , - { decl_author } { 学位论文作者 } , - { decl_supervisor } { 指导教师 } , - { abstract } { 摘 \quad 要 } , + { univ } { 上海交通大学 } , + { author } { 姓名 } , + { id } { 学号 } , + { supervisor } { 导师 } , + { assoc_supervisor } { 副导师 } , + { department } { 院系 } , + { co_supervisor } { 联合导师 } , + { major } { 学科 / 专业 } , + { degree } { 申请学位 } , + { thesis } { 学位论文 } , + { title_page } { 题名页 } , + { declaration } { 原创性声明及使用授权书 } , + { orig_decl } { 原创性声明 } , + { auth_decl } { 使用授权书 } , + { decl_author } { 学位论文作者 } , + { decl_supervisor } { 指导教师 } , + { abstract } { 摘 \quad 要 } , % - { keywords } { 关键词: } , - { info_sep } { : } , - { item_sep } { , } + { keywords } { 关键词 } , + { info_sep } { : } , + { item_sep } { , } } % { \@@_define_name:nnn { zh } #1 } % { \@@_define_name:nn #1 } @@ -5027,34 +5148,55 @@ { assoc_supervisor } { Assoc.~ Supervisor } , { co_supervisor } { Co-supervisor } , { title_page } { Title~ Page } , - { copyright_page } { Copyright~ Page } , + { declaration } { Statutory~ Declaration } , { abstract } { Abstract } , % - { keywords } { Key~words:~ } , + { keywords } { Key~words } , { info_sep } { :~ } , { item_sep } { ,~ } } % { \@@_define_name:nnn { en } #1 } % { \@@_define_name:nn #1 } % +%<*de> +\clist_map_inline:nn + { +%<*thesis> + { univ } { Shanghai~ Jiao~ Tong~ Universität } , + { address } { Shanghai,~ VR~ China } , + { author } { Autor/in } , + { supervisor } { Betreuer/in } , + { assoc_supervisor } { Zweitbetreuer/in } , + { co_supervisor } { Co-Betreuer/in } , + { title_page } { Titelblatt } , + { declaration } { Eidesstattliche~ Erklärung } , + { abstract } { Abstrakt } , +% + { keywords } { Schlüsselwörter } , + { info_sep } { :~ } , + { item_sep } { ,~ } + } +% { \@@_define_name:nnn { de } #1 } +% { \@@_define_name:nn #1 } +% %<*ja> \clist_map_inline:nn { %<*thesis> - { univ } { 上海交通大学 } , - { address } { 中国・上海 } , - { author } { 著者 } , - { supervisor } { 指導教員 } , - { assoc_supervisor } { 副指導教員 } , - { co_supervisor } { 共同指導 } , - { thesis } { 学位請求論文 } , - { title_page } { 標題紙 } , - { copyright_page } { 版権ページ } , - { abstract } { 要 \quad 旨 } , + { univ } { 上海交通大学 } , + { address } { 中国・上海 } , + { author } { 氏名 } , + { supervisor } { 指導教員 } , + { assoc_supervisor } { 副指導教員 } , + { co_supervisor } { 共同指導 } , + { thesis } { 学位請求論文 } , + { title_page } { 標題紙 } , + { declaration } { 誓約書・公表許諾書 } , + { abstract } { 要 \quad 旨 } , % - { keywords } { キーワード: } , - { info_sep } { : } , - { item_sep } { \quad } + { keywords } { キーワード } , + { info_sep } { : } , + { item_sep } { \quad } } % { \@@_define_name:nnn { ja } #1 } % { \@@_define_name:nn #1 } @@ -5136,10 +5278,25 @@ { solution } { Solution } , { theorem } { Theorem } % +%<*de> + { assumption } { Annahme } , + { axiom } { Axiom } , + { conjecture } { Hypothese } , + { corollary } { Korollar } , + { definition } { Definition } , + { example } { Beispiel } , + { exercise } { Übung } , + { lemma } { Lemma } , + { problem } { Problem } , + { proposition } { Proposition } , + { remark } { Anmerkung } , + { solution } { Lösung } , + { theorem } { Theorem } +% %<*ja> { assumption } { 仮定 } , { axiom } { 公理 } , - { conjecture } { 推論 } , + { conjecture } { 予想 } , { corollary } { 系 } , { definition } { 定義 } , { example } { 例 } , @@ -5147,7 +5304,7 @@ { lemma } { 補題 } , { problem } { 問題 } , { proposition } { 命題 } , - { remark } { 記事 } , + { remark } { 注意 } , { solution } { 解法 } , { theorem } { 定理 } % diff --git a/sjtutex/support/common-abstract-de.tex b/sjtutex/support/common-abstract-de.tex new file mode 100644 index 00000000..e9a10b29 --- /dev/null +++ b/sjtutex/support/common-abstract-de.tex @@ -0,0 +1,10 @@ +Als prim\"ares Mittel zur Darstellung von Forschungsergebnissen f\"ur +Bachelor-Studenten ist die Dissertation ein systematischer und standardisierter +Bericht \"uber neue Erfindungen, Theorien oder Erkenntnisse, die der Autor in +seiner Forschungsarbeit gewonnen hat. Sie kann nicht nur als wichtige Referenz +dienen, wenn Studenten weitere Studien betreiben, sondern auch zur +wissenschaftlichen Forschung und gesellschaftlichen Entwicklung beitragen. + +Dieses Template wurde daher erstellt, um die Qualit\"at der +Bachelor-Dissertationen zu verbessern und sowohl den Inhalt als auch das +Format weiter zu standardisieren. \ No newline at end of file diff --git a/sjtutex/support/common-achievements-de.tex b/sjtutex/support/common-achievements-de.tex new file mode 100644 index 00000000..5fbc7730 --- /dev/null +++ b/sjtutex/support/common-achievements-de.tex @@ -0,0 +1,25 @@ +\begin{achievements} + + \subsection*{These} + + \begin{bibliolist}{} + \item Chen H, Chan C~T. Acoustic cloaking in three dimensions using acoustic metamaterials. \textit{Applied Physics Letters}, vol. 91, 2007, p.183518. + \item Chen H, Wu B~I, Zhang B, et al. Electromagnetic Wave Interactions with a Metamaterial Cloak. \textit{Physical Review Letters}, vol. 99, no. 6, 2007, p. 63903. + \end{bibliolist} + + \begin{bibliolist*}{} + \item Erster autor. These, 2007. + \item Erster autor. These, 2006. + \end{bibliolist*} + + \subsection*{Patent} + + \begin{bibliolist}{} + \item ... + \end{bibliolist} + + \begin{bibliolist*}{} + \item ... + \end{bibliolist*} + +\end{achievements} diff --git a/sjtutex/support/common-acknowledgements-de.tex b/sjtutex/support/common-acknowledgements-de.tex new file mode 100644 index 00000000..e7555be4 --- /dev/null +++ b/sjtutex/support/common-acknowledgements-de.tex @@ -0,0 +1,3 @@ +\begin{acknowledgements} + \blindtext[11] +\end{acknowledgements} \ No newline at end of file diff --git a/sjtutex/support/common-mainmatter-de.tex b/sjtutex/support/common-mainmatter-de.tex new file mode 100644 index 00000000..b88fa7b1 --- /dev/null +++ b/sjtutex/support/common-mainmatter-de.tex @@ -0,0 +1,198 @@ +\chapter{Einf\"uhrung} + +\section{Vorwort} + +\blindtext[1] + +\section{Der Hauptinhalt dieses Papiers} + +\blindtext[2] + +\section{Die Bedeutung dieses Artikels} + +\blindtext[3] + +\blindtext[4] + +\section{Zusammenfassung} + +\blindtext[5] + + +\chapter{Anleitung zur Formatierung von Flie\"stext} + +\section{Grundlegende Anforderungen an das Textformat} + +Der Inhalt der Abschlussarbeit sollte im Allgemeinen aus zehn Hauptteilen bestehen +\autocite[11]{Schinstock2000}. +\footnote{Test Fu\"snote Nummer 1.} +\footnote{Test Fu\"snote Nummer 2.} + +\section{Wortanzahlanforderungen} + +\subsection{Anforderungen an eine Bachelorarbeit} + +\blindtext[6] + +\section{Zusammenfassung} + +\blindtext[7] + + +\chapter{Anleitung zur Formatierung von Abbildungen, Tabellen und Formeln} + +\section{Anleitung zur Formatierung von Abbildungen} + +\begin{figure}[ht] + \centering + \includegraphics[width=4cm]{example-image.pdf} + \caption{Beispielbild} + \label{fig:example} +\end{figure} + +\begin{ThreePartTable} + \begin{TableNotes} + \item[a] Eine Notiz. + \item[b] Noch eine Notiz. + \end{TableNotes} + \begin{longtable}[c]{c*{6}{r}} + \caption{Experimentelle Daten} + \label{tab:performance} \\ + \toprule + Testprogramm & \multicolumn{1}{c}{A} & \multicolumn{1}{c}{B} + & \multicolumn{1}{c}{C} & \multicolumn{1}{c}{D} + & \multicolumn{1}{c}{E} & \multicolumn{1}{c}{C} \\ + & \multicolumn{1}{c}{Zeit (s)} & \multicolumn{1}{c}{Zeit (s)} + & \multicolumn{1}{c}{Zeit (s)} & \multicolumn{1}{c}{Zeit (s)} + & \multicolumn{1}{c}{Zeit (s)} & Dateigr\"o\"se (KB)\\ + \midrule + \endfirsthead + \multicolumn{7}{r}{\textbf{Tabelle~\thetable~(fortgesetzt)}} \\ + \toprule + Testprogramm & \multicolumn{1}{c}{A} & \multicolumn{1}{c}{B} + & \multicolumn{1}{c}{C} & \multicolumn{1}{c}{D} + & \multicolumn{1}{c}{E} & \multicolumn{1}{c}{C} \\ + & \multicolumn{1}{c}{Zeit (s)} & \multicolumn{1}{c}{Zeit (s)} + & \multicolumn{1}{c}{Zeit (s)} & \multicolumn{1}{c}{Zeit (s)} + & \multicolumn{1}{c}{Zeit (s)} & Dateigr\"o\"se (KB)\\ + \midrule + \endhead + \hline + \endfoot + \insertTableNotes + \endlastfoot + CG.A.2 & 23.05 & 0.002 & 0.116 & 0.035 & 0.589 & 32491 \\ + CG.A.4 & 15.06 & 0.003 & 0.067 & 0.021 & 0.351 & 18211 \\ + CG.A.8 & 13.38 & 0.004 & 0.072 & 0.023 & 0.210 & 9890 \\ + CG.B.2 & 867.45 & 0.002 & 0.864 & 0.232 & 3.256 & 228562 \\ + CG.B.4 & 501.61 & 0.003 & 0.438 & 0.136 & 2.075 & 123862 \\ + CG.B.8 & 384.65 & 0.004 & 0.457 & 0.108 & 1.235 & 63777 \\ + MG.A.2 & 112.27 & 0.002 & 0.846 & 0.237 & 3.930 & 236473 \\ + MG.A.4 & 59.84 & 0.003 & 0.442 & 0.128 & 2.070 & 123875 \\ + MG.A.8 & 31.38 & 0.003 & 0.476 & 0.114 & 1.041 & 60627 \\ + MG.B.2 & 526.28 & 0.002 & 0.821 & 0.238 & 4.176 & 236635 \\ + MG.B.4 & 280.11 & 0.003 & 0.432 & 0.130 & 1.706 & 123793 \\ + MG.B.8 & 148.29 & 0.003 & 0.442 & 0.116 & 0.893 & 60600 \\ + LU.A.2 & 2116.54 & 0.002 & 0.110 & 0.030 & 0.532 & 28754 \\ + LU.A.4 & 1102.50 & 0.002 & 0.069 & 0.017 & 0.255 & 14915 \\ + LU.A.8 & 574.47 & 0.003 & 0.067 & 0.016 & 0.192 & 8655 \\ + LU.B.2 & 9712.87 & 0.002 & 0.357 & 0.104 & 1.734 & 101975 \\ + LU.B.4 & 4757.80 & 0.003 & 0.190 & 0.056 & 0.808 & 53522 \\ + LU.B.8 & 2444.05 & 0.004 & 0.222 & 0.057 & 0.548 & 30134 \\ + EP.A.2 & 123.81 & 0.002 & 0.010 & 0.003 & 0.074 & 1834 \\ + EP.A.4 & 61.92 & 0.003 & 0.011 & 0.004 & 0.073 & 1743 \\ + EP.A.8 & 31.06 & 0.004 & 0.017 & 0.005 & 0.073 & 1661 \\ + EP.B.2 & 495.49 & 0.001 & 0.009 & 0.003 & 0.196 & 2011 \\ + EP.B.4 & 247.69 & 0.002 & 0.012 & 0.004 & 0.122 & 1663 \\ + EP.B.8 & 126.74 & 0.003 & 0.017 & 0.005 & 0.083 & 1656 \\ + SP.A.2 & 123.81 & 0.002 & 0.010 & 0.003 & 0.074 & 1854 \\ + SP.A.4 & 51.92 & 0.003 & 0.011 & 0.004 & 0.073 & 1543 \\ + SP.A.8 & 31.06 & 0.004 & 0.017 & 0.005 & 0.073 & 1671 \\ + SP.B.2 & 495.49 & 0.001 & 0.009 & 0.003 & 0.196 & 2411 \\ + SP.B.4 \tnote{a} & 247.69 & 0.002 & 0.014 & 0.006 & 0.152 & 2653 \\ + SP.B.8 \tnote{b} & 126.74 & 0.003 & 0.017 & 0.005 & 0.082 & 1755 \\ + \bottomrule + \end{longtable} +\end{ThreePartTable} + +\section{Formelformat} + +\begin{equation}\label{eq:example} + \frac{1}{\mu}\nabla^2\mathbf{A}-j\omega\sigma\mathbf{A} + -\nabla\left(\frac{1}{\mu}\right)\times(\nabla\times\mathbf{A}) + +\mathbf{J}_0=0 +\end{equation} + +\begin{equation} + \int_{a}^b f(x)\,\mathrm{d}x=\lim_{|P|\rightarrow 0}\sum_{i=1}^n f(\xi_i)\increment x_i +\end{equation} + +\section{Codeblock Beispiel} + +\begin{codeblock}[language=C] +#include +#include +#include +#include + +int main() { + pid_t pid; + + switch ((pid = fork())) { + case -1: + printf("fork failed\n"); + break; + case 0: + /* child calls exec */ + execl("/bin/ls", "ls", "-l", (char*)0); + printf("execl failed\n"); + break; + default: + /* parent uses wait to suspend execution until child finishes */ + wait((int*)0); + printf("is completed\n"); + break; + } + return 0; +} +\end{codeblock} + +\section{Algorithmus Beispiel} + +\begin{algorithm}[htb] + \caption{Algorithmus Beispiel} + \label{algo:algorithm} + \small + \SetAlgoLined + \KwData{this text} + \KwResult{how to write algorithm with \LaTeXe } + + initialization\; + \While{not at end of this document}{ + read current\; + \eIf{understand}{ + go to next section\; + current section becomes this one\; + }{ + go back to the beginning of current section\; + } + } +\end{algorithm} + +\section{Zusammenfassung} + +\blindtext[8] +\footnote{Test Fu\"snote Nummer 1.} +\footnote{Test Fu\"snote Nummer 2.} +\footnote{Test Fu\"snote Nummer 3.} + +\chapter{Schlussfolgerungen} + +\section{Hauptergebnisse} + +\blindtext[9] + +\section{Forschungsaussicht} + +\blindtext[10] + diff --git a/sjtutex/support/common-nomenclature-de.tex b/sjtutex/support/common-nomenclature-de.tex new file mode 100644 index 00000000..665277af --- /dev/null +++ b/sjtutex/support/common-nomenclature-de.tex @@ -0,0 +1,60 @@ +\begin{nomenclature} + +\begin{longtable}{rl} + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ + $\epsilon$ & Dielektrizitätskonstante \\ + $\mu$ & magnetische Leitfähigkeit \\ +\end{longtable} + +\end{nomenclature}