summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-05 23:22:27 +0000
committerKarl Berry <karl@freefriends.org>2015-01-05 23:22:27 +0000
commit1e851d05e5a6bf3a5b4b99135e5d1d7841c92076 (patch)
tree022d22c281fb27682463b1b6bf33151998a46a0d /Master/texmf-dist/tex
parent43012178bfdaf77a45ba52aae3733dd0c3e93f25 (diff)
sduthesis (5jan15)
git-svn-id: svn://tug.org/texlive/trunk@35967 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/SDU.pdfbin0 -> 392260 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/SDULogo.pdfbin0 -> 392265 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/SDUWords.jpgbin0 -> 74209 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-baotuquan.jpgbin0 -> 177713 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-hongloujiaotang.jpgbin0 -> 192145 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-ruanjianyuan.jpgbin0 -> 158654 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-xianzhidadao.jpgbin0 -> 220388 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-zhixinlou.jpgbin0 -> 90670 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/sduthesis-cover.def108
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/sduthesis-statement.def87
-rw-r--r--Master/texmf-dist/tex/latex/sduthesis/sduthesis.cls221
11 files changed, 416 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/SDU.pdf b/Master/texmf-dist/tex/latex/sduthesis/figures/SDU.pdf
new file mode 100644
index 00000000000..99521065429
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/SDU.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/SDULogo.pdf b/Master/texmf-dist/tex/latex/sduthesis/figures/SDULogo.pdf
new file mode 100644
index 00000000000..835842d8959
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/SDULogo.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/SDUWords.jpg b/Master/texmf-dist/tex/latex/sduthesis/figures/SDUWords.jpg
new file mode 100644
index 00000000000..59e8faabf19
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/SDUWords.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-baotuquan.jpg b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-baotuquan.jpg
new file mode 100644
index 00000000000..17c5bea6eaf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-baotuquan.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-hongloujiaotang.jpg b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-hongloujiaotang.jpg
new file mode 100644
index 00000000000..22abcd195a8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-hongloujiaotang.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-ruanjianyuan.jpg b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-ruanjianyuan.jpg
new file mode 100644
index 00000000000..d6b7ea6a2a5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-ruanjianyuan.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-xianzhidadao.jpg b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-xianzhidadao.jpg
new file mode 100644
index 00000000000..46255a3d790
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-xianzhidadao.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-zhixinlou.jpg b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-zhixinlou.jpg
new file mode 100644
index 00000000000..303809e0825
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/figures/sduthesis-zhixinlou.jpg
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sduthesis/sduthesis-cover.def b/Master/texmf-dist/tex/latex/sduthesis/sduthesis-cover.def
new file mode 100644
index 00000000000..512a3107119
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/sduthesis-cover.def
@@ -0,0 +1,108 @@
+%%
+%% This is file `sduthesis-cover.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sduthesis.dtx (with options: `cover')
+%%
+%% -----------------------------------
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2012 -- 2014 by Liam Huang
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
+\newtoks\fenlei % 中图分类号
+\newtoks\DWdaihao % 单位代号
+\newtoks\miji % 密级
+\newtoks\StuNum % 学号
+\newtoks\Ctitle % 中文标题
+\newtoks\Cauthor % 作者中文名
+\newtoks\Cmajor % 专业
+\newtoks\Csuperver % 导师
+\newtoks\Cdate % 中文日期
+\newtoks\Dpart % 学院
+\newtoks\Grade % 年级
+\newcommand{\LeftLength}{2.3cm}
+\newcommand{\RightLength}{5.5cm}
+\newcommand{\Mcs}[1]{\makebox[\LeftLength][s]{{\zihao{3}\bfseries\kaishu{}#1}}}
+\newcommand{\Mcc}[1]{\makebox[\RightLength][c]{{\zihao{-3}\songti{}#1}}}
+\newcommand{\maketitlepage}{%
+\thispagestyle{empty}
+\begin{center}
+~
+\vskip 8mm\relax
+{
+ {\includegraphics[width = .7\textwidth]{SDUWords.jpg}}\\[3mm]
+ {\scalebox{4}{\fzbHei{}毕业论文(设计)}}
+}
+\par \vskip 15mm \relax
+{
+ \begin{flushleft}
+ {\zihao{3}\heiti{}论文(设计)题目:}
+ \end{flushleft}
+}
+\vfill
+{
+ \noindent
+ \zihao{-1}\kaishu\the\Ctitle
+}
+\vfill
+{
+ \begin{tabular}{p{\LeftLength}p{\RightLength}}
+ \Mcs{姓名}& \Mcc{\the\Cauthor}\\[-.8mm]\cline{2-2}\\[-4mm]
+ \Mcs{学号}& \Mcc{\the\StuNum}\\[-.8mm]\cline{2-2}\\[-4mm]
+ \Mcs{学院}& \Mcc{\the\Dpart}\\[-.8mm]\cline{2-2}\\[-4mm]
+ \Mcs{专业}& \Mcc{\the\Cmajor}\\[-.8mm]\cline{2-2}\\[-4mm]
+ \Mcs{年级}& \Mcc{\the\Grade}\\[-.8mm]\cline{2-2}\\[-4mm]
+ \Mcs{指导老师}& \Mcc{\the\Csuperver}\\[-.8mm]\cline{2-2}
+ \end{tabular}
+}
+\par \vskip 20mm \relax
+{
+\zihao{3}\the\Cdate
+}
+\end{center}
+\clearpage
+}
+%%
+%% Copyright (C) 2012 -- 2014 by Liam Huang
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
+%% -----------------------------------
+%%
+%% This work consists of the file sduthesis.dtx and sduthesis.ins
+%% and the derived files sduthesis.cls,
+%% sduthesis-cover.def,
+%% sduthesis-statement.def,
+%% figures/,
+%% sduthesis-demo.tex,
+%% README.md,
+%% LICENSE.md,
+%% sduthesis.pdf and
+%% sduthesis-demo.pdf.
+%%
+%% End of file `sduthesis-cover.def'.
diff --git a/Master/texmf-dist/tex/latex/sduthesis/sduthesis-statement.def b/Master/texmf-dist/tex/latex/sduthesis/sduthesis-statement.def
new file mode 100644
index 00000000000..ae9972f67f5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/sduthesis-statement.def
@@ -0,0 +1,87 @@
+%%
+%% This is file `sduthesis-statement.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sduthesis.dtx (with options: `statement')
+%%
+%% -----------------------------------
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2012 -- 2014 by Liam Huang
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
+\newcommand{\makestatement}{%
+\begin{titlepage}
+\vspace{2cm} {\zihao{4}\baselineskip=30pt
+
+\centerline{\zihao{3}\bfseries 原\quad 创\quad 性\quad 声\quad 明}
+
+\noindent\hspace*{2em}本人郑重声明:所呈交的学位论文,是本人在导师指导下,独
+立进行研究所取得的成果。除文中已经注明引用的内容外,本论文不包
+含任何其他个人或集体已经发表或撰写过的科研成果。对本论文的研究作出重
+要贡献的个人和集体,均已在文中以明确方式标明。本声明
+的法律责任由本人承担。
+
+\vspace{13mm}
+
+\noindent\hspace*{2em}论文作者签名:\hrulefill \hspace{1em}日\hspace{1em} 期:\hrulefill
+
+\vspace{2.7cm}
+
+\centerline{\zihao{3}\bfseries 关于学位论文使用授权的声明}
+
+\noindent\hspace*{2em}本人完全了解山东大学有关保留、使用学位论文的规定,同意学
+校保留或向国家有关部门或机构送交论文的复印件和电子版,允许论文被查阅
+和借阅;本人授权山东大学可以将本学位论文全部或部分内容编入有关数据库
+进行检索,可以采用影印、缩印或其他复制手段保存论文和汇编本学位论文。
+
+\noindent\hspace*{2em}(保密的论文在解密后应遵守此规定)
+
+\vspace{13mm}
+
+\noindent\hspace*{2em}论文作者签名:\hrulefill\hrulefill\hspace{0.5em} 导师签名:\hrulefill\hrulefill\hspace{0.5em}日\hspace{0.5em}期:\hrulefill \hrulefill }
+\end{titlepage}
+}
+%%
+%% Copyright (C) 2012 -- 2014 by Liam Huang
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
+%% -----------------------------------
+%%
+%% This work consists of the file sduthesis.dtx and sduthesis.ins
+%% and the derived files sduthesis.cls,
+%% sduthesis-cover.def,
+%% sduthesis-statement.def,
+%% figures/,
+%% sduthesis-demo.tex,
+%% README.md,
+%% LICENSE.md,
+%% sduthesis.pdf and
+%% sduthesis-demo.pdf.
+%%
+%% End of file `sduthesis-statement.def'.
diff --git a/Master/texmf-dist/tex/latex/sduthesis/sduthesis.cls b/Master/texmf-dist/tex/latex/sduthesis/sduthesis.cls
new file mode 100644
index 00000000000..de2b5d27977
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sduthesis/sduthesis.cls
@@ -0,0 +1,221 @@
+%%
+%% This is file `sduthesis.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sduthesis.dtx (with options: `class')
+%%
+%% -----------------------------------
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2012 -- 2014 by Liam Huang
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{sduthesis}
+ [2015/01/05 v1.2.0c Thesis Template of Shandong University]
+\RequirePackage{kvoptions}
+\RequirePackage{etoolbox}
+\SetupKeyvalOptions{family=SDU, prefix=SDU@opt@, setkeys=\kvsetkeys}
+\newcommand{\ekv}[1]{\kvsetkeys{SDU}{#1}}
+\DeclareBoolOption[true]{chsstyle}
+\DeclareComplementaryOption{nochsstyle}{chsstyle}
+\DeclareBoolOption[false]{print}
+\DeclareComplementaryOption{noprint}{print}
+\DeclareBoolOption[true]{double}
+\DeclareComplementaryOption{single}{double}
+\DeclareDefaultOption{\PassOptionsToPackage{\CurrentOption}{ctexcap}}
+\LoadClass[a4paper, cs4size, UTF8, hyperref, fancyhdr]{ctexbook}
+\ProcessKeyvalOptions*\relax
+\ifSDU@opt@double\relax\else
+ \PassOptionsToClass{twoside}{ctexbook}
+\fi
+\RequirePackage{ifpdf,ifxetex}
+\RequirePackage{geometry}
+\RequirePackage{amsmath}
+\RequirePackage{amsfonts}
+\RequirePackage{amsthm}
+\RequirePackage{amssymb}
+\RequirePackage{amsbsy}
+\RequirePackage{bm}
+\RequirePackage{mathrsfs}
+\RequirePackage{booktabs}
+\ifxetex
+ \RequirePackage{graphicx}
+\else
+ \ifpdf
+ \RequirePackage{graphicx}
+ \RequirePackage{epstopdf}
+ \else
+ \RequirePackage[dvipdfmx]{graphicx}
+ \RequirePackage{bmpsize}
+ \fi
+\fi
+\RequirePackage{xcolor}
+\RequirePackage{makecell}
+\newcommand{\fzbHei}{\heiti}
+\linespread{1.3}
+\setlength{\parskip}{0.3ex}
+\ifSDU@opt@double
+ \geometry{left=2.5cm, right=3cm, top=3cm, bottom=3cm}
+\else
+ \geometry{left=2.75cm, right=2.75cm, top=3cm, bottom=3cm}
+\fi
+\AtBeginDocument{\pagestyle{fancy}
+\fancyhf{}
+\renewcommand{\headrule}{%
+ \hrule\@height1.5pt\@width\headwidth%
+ \vskip1pt%
+ \hrule\@height\headrulewidth\@width\headwidth%
+}
+\fancyhead[C]{%
+ \ifSDU@opt@chsstyle
+ \chead{\zihao{5}山东大学学士学位论文}
+ \else
+ \chead{\small Shandong University Bachelor Thesis}
+ \fi
+}
+\fancyfoot[OR, EL]{--~{\thepage}~--}}
+\newcommand*{\me}{\ensuremath{\mathrm{e}}}
+\newcommand*{\mi}{\ensuremath{\mathrm{i}}}
+\newcommand*{\dif}{\ensuremath{\mathop{}\!\mathrm{d}}}
+\DeclareMathAlphabet{\mathsfsl}{OT1}{cmss}{m}{sl}
+\newcommand*{\VEC}[1]{\ensuremath{\boldsymbol{#1}}}
+\newcommand*{\MATRIX}[1]{\ensuremath{\mathsfsl{#1}}}
+\newcommand*{\TENSOR}[1]{\ensuremath{\mathsfsl{#1}}}
+\newcommand*{\HUA}[1]{\ensuremath{\mathscr{{#1}}}}
+\newcommand*{\SHUANG}[1]{\ensuremath{\mathbb{{#1}}}}
+\numberwithin{equation}{chapter}
+\graphicspath{{figures/}{figure/}{pictures/}
+ {picture/}{pic/}{pics/}{image/}{images/}}
+\numberwithin{figure}{chapter}
+\numberwithin{table}{chapter}
+\newcommand{\figcaption}{\def\@captype{figure}\caption}
+\newcommand{\tabcaption}{\def\@captype{table}\caption}
+\AtBeginDocument{\hypersetup{colorlinks=true, linkcolor=blue}}
+\ifSDU@opt@print
+ \AtBeginDocument{\hypersetup{hidelinks}}
+\else\relax\fi
+\newcommand{\upcite}[1]{\textsuperscript{\cite{#1}}}
+\newcommand\enabstractname{ABSTRACT}
+\newcommand\enkeywordsname{Key words}
+\newcommand\enkeywords[1]{%
+ \vspace{1cm}\noindent{\bfseries\zihao{-4}\enkeywordsname: }#1}
+\newcommand\cnabstractname{摘\quad 要}
+\newcommand\cnkeywordsname{关键词}
+\newcommand\cnkeywords[1]{%
+ \vspace{1cm}\noindent{\bfseries\zihao{-4}\cnkeywordsname: }#1}
+\newenvironment{enabstract}{%
+ \newpage
+ \centering
+ \begin{minipage}{.9\textwidth}
+ \centerline{\zihao{-3}\bfseries\enabstractname}\vspace{.3cm}
+ \centering
+ \begin{minipage}{.85\textwidth}
+ \setlength{\parindent}{1.2em}
+}{
+\end{minipage}
+\end{minipage}
+\clearpage
+}
+\newenvironment{cnabstract}{%
+ \newpage
+ \centering
+ \begin{minipage}{.9\textwidth}
+ \centerline{\zihao{-3}\bfseries\cnabstractname}\vspace{.3cm}
+ \centering
+ \begin{minipage}[c]{.85\textwidth}
+ \setlength{\parindent}{2em}
+ \zihao{-4}
+}{
+\end{minipage}
+\end{minipage}
+\clearpage
+}
+\ifSDU@opt@chsstyle
+ \CTEXsetup[name={第,章}]{chapter}
+ \CTEXsetup[number={\chinese{chapter}}]{chapter}
+ \CTEXsetup[format={\centering}]{chapter}
+ \CTEXsetup[nameformat={\bfseries\zihao{3}}]{chapter}
+ \CTEXsetup[titleformat={\bfseries\zihao{3}}]{chapter}
+ \CTEXsetup[aftername={\quad{}}]{chapter}
+ \CTEXsetup[beforeskip={10pt}]{chapter}
+ \CTEXsetup[afterskip={10pt}]{chapter}
+ \CTEXsetup[name={$\S$\,,}]{section}
+ \CTEXsetup[format={\bfseries\flushleft\zihao{4}}]{section}
+ \CTEXsetup[format={\bfseries\flushleft\zihao{-4}}]{subsection}
+ \CTEXsetup[format={\flushleft\zihao{-4}}]{subsubsection}
+ \CTEXsetup[name={附录~}]{appendix}
+ \CTEXsetup[number={\Alph{chapter}}]{appendix}
+\else
+ \PassOptionsToClass{nocap, noindent}{ctexbook}
+\fi
+\input{sduthesis-cover.def}
+\input{sduthesis-statement.def}
+\newcommand{\maketitlepagestatement}{%
+\maketitlepage
+\thispagestyle{empty}
+~
+\vfill\eject
+\thispagestyle{empty}
+\makestatement
+\vfill\eject
+\thispagestyle{empty}
+~
+\vfill\eject
+\setcounter{page}{1}
+\frontmatter
+}
+\let\savedtableofcontents\tableofcontents
+\renewcommand{\tableofcontents}{%
+ \savedtableofcontents
+ \ifSDU@opt@double
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \mainmatter
+}
+\endinput
+%%
+%% Copyright (C) 2012 -- 2014 by Liam Huang
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Liam Huang.
+%%
+%% -----------------------------------
+%%
+%% This work consists of the file sduthesis.dtx and sduthesis.ins
+%% and the derived files sduthesis.cls,
+%% sduthesis-cover.def,
+%% sduthesis-statement.def,
+%% figures/,
+%% sduthesis-demo.tex,
+%% README.md,
+%% LICENSE.md,
+%% sduthesis.pdf and
+%% sduthesis-demo.pdf.
+%%
+%% End of file `sduthesis.cls'.