summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-29 13:58:17 +0000
committerKarl Berry <karl@freefriends.org>2010-04-29 13:58:17 +0000
commit9af4047aaf9cd4ae3b94d2128e43e037b3547bec (patch)
tree949db0f8dd2886d0faaa18123c0ef793b4ccb7cb /Master/texmf-dist/tex/latex
parentc5730459352a1e11da56d1d630474c99da7d33e9 (diff)
seuthesis 2.0.0 (20apr10)
git-svn-id: svn://tug.org/texlive/trunk@18045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/seuthesis/seuthesis-gbk.cfg28
-rw-r--r--Master/texmf-dist/tex/latex/seuthesis/seuthesis-utf8.cfg28
-rw-r--r--Master/texmf-dist/tex/latex/seuthesis/seuthesis.cls97
3 files changed, 76 insertions, 77 deletions
diff --git a/Master/texmf-dist/tex/latex/seuthesis/seuthesis-gbk.cfg b/Master/texmf-dist/tex/latex/seuthesis/seuthesis-gbk.cfg
index 61a7c5cbea4..90876627ad6 100644
--- a/Master/texmf-dist/tex/latex/seuthesis/seuthesis-gbk.cfg
+++ b/Master/texmf-dist/tex/latex/seuthesis/seuthesis-gbk.cfg
@@ -6,7 +6,7 @@
%%
%% seuthesis.dtx (with options: `cfg')
%%
-%% Copyright (C) 2007-2009 by Xu Yuan <xuyuan.cn@gmail.com>
+%% Copyright (C) 2007-2010 by Xu Yuan <xuyuan.cn@gmail.com>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
@@ -41,7 +41,7 @@
\newcommand{\@authorizeorganization}{~~东~南~大~学~~}
\newcommand{\authorizedatepre}{学位授予日期}
\newcommand{\committeechairpre}{答辩委员会主席}
-\newcommand{\readerpre}{评~~~~~~~~~阅~~~~~~~~~人}
+\newcommand{\readerpre}{评~~~~~~~阅~~~~~~~人}
\newcommand{\@abstracttitle}{摘\quad 要}
\newcommand{\@abstracttitletoc}{摘要}
\newcommand{\@terminologytitle}{本论文专用术语的注释表}
@@ -71,7 +71,7 @@
\newcommand{\academicdegreeeng}{Doctor of Engineering}\relax
\fi
\fi
-\newcommand{\@academicdegree}{\@degree学位论文}
+\newcommand{\@academicdegree}{\@degree{}学位论文}
\makeatother
\newcommand{\signline}{\underline{\makebox[2.5cm][s]{}}}
\newcommand{\seudeclare}{
@@ -80,12 +80,11 @@
{\hei\sanhao 东南大学学位论文独创性声明}
\end{center}
- {\CJKindent 本人声明所呈交的学位论文是我个人在导师指导下
- 进行的研究工作及取得的研究成果。尽我所知,除了文中特别加以标注和致
- 谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含
- 为获得东南大学或其它教育机构的学位或证书而使用过的材料。与我一同工
- 作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示了谢
- 意。\par}
+ { 本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的
+ 研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包
+ 含其他人已经发表或撰写过的研究成果,也不包含为获得东南大学或其它教
+ 育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的
+ 任何贡献均已在论文中作了明确的说明并表示了谢意。\par}
\begin{flushright}
研究生签名:\signline 日~期:\signline
@@ -97,12 +96,11 @@
{\hei\sanhao 东南大学学位论文使用授权声明}
\end{center}
- {\CJKindent 东南大学、中国科学技术信息研究所、国家图书馆
- 有权保留本人所送交学位论文的复印件和电子文档,可以采用影印、缩印或
- 其他复制手段保存论文。本人电子文档的内容和纸质论文的内容相一致。除
- 在保密期内的保密论文外,允许论文被查阅和借阅,可以公布(包括刊
- 登)论文的全部或部分内容。论文的公布(包括刊登)授权东南大学研究生
- 院办理。\par}
+ { 东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位
+ 论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。
+ 本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文
+ 外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。
+ 论文的公布(包括刊登)授权东南大学研究生院办理。\par}
\begin{flushright}
研究生签名:\signline 导师签名:\signline 日~期:\signline
diff --git a/Master/texmf-dist/tex/latex/seuthesis/seuthesis-utf8.cfg b/Master/texmf-dist/tex/latex/seuthesis/seuthesis-utf8.cfg
index b4c2d71ec08..014394b1e99 100644
--- a/Master/texmf-dist/tex/latex/seuthesis/seuthesis-utf8.cfg
+++ b/Master/texmf-dist/tex/latex/seuthesis/seuthesis-utf8.cfg
@@ -6,7 +6,7 @@
%%
%% seuthesis.dtx (with options: `cfg')
%%
-%% Copyright (C) 2007-2009 by Xu Yuan <xuyuan.cn@gmail.com>
+%% Copyright (C) 2007-2010 by Xu Yuan <xuyuan.cn@gmail.com>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
@@ -41,7 +41,7 @@
\newcommand{\@authorizeorganization}{~~涓渵鍗梸澶瀛~}
\newcommand{\authorizedatepre}{瀛︿綅鎺堜簣鏃ユ湡}
\newcommand{\committeechairpre}{绛旇京濮斿憳浼氫富甯瓆
-\newcommand{\readerpre}{璇剘~~~~~~~~闃厏~~~~~~~~浜簘
+\newcommand{\readerpre}{璇剘~~~~~~闃厏~~~~~~浜簘
\newcommand{\@abstracttitle}{鎽榎quad 瑕亇
\newcommand{\@abstracttitletoc}{鎽樿}
\newcommand{\@terminologytitle}{鏈鏂囦笓鐢ㄦ湳璇殑娉ㄩ噴琛▆
@@ -71,7 +71,7 @@
\newcommand{\academicdegreeeng}{Doctor of Engineering}\relax
\fi
\fi
-\newcommand{\@academicdegree}{\@degree瀛︿綅璁烘枃}
+\newcommand{\@academicdegree}{\@degree{}瀛︿綅璁烘枃}
\makeatother
\newcommand{\signline}{\underline{\makebox[2.5cm][s]{}}}
\newcommand{\seudeclare}{
@@ -80,12 +80,11 @@
{\hei\sanhao 涓滃崡澶у瀛︿綅璁烘枃鐙垱鎬у0鏄巬
\end{center}
- {\CJKindent 鏈汉澹版槑鎵鍛堜氦鐨勫浣嶈鏂囨槸鎴戜釜浜哄湪瀵煎笀鎸囧涓
- 杩涜鐨勭爺绌跺伐浣滃強鍙栧緱鐨勭爺绌舵垚鏋溿傚敖鎴戞墍鐭ワ紝闄や簡鏂囦腑鐗瑰埆鍔犱互鏍囨敞鍜岃嚧
- 璋㈢殑鍦版柟澶栵紝璁烘枃涓笉鍖呭惈鍏朵粬浜哄凡缁忓彂琛ㄦ垨鎾板啓杩囩殑鐮旂┒鎴愭灉锛屼篃涓嶅寘鍚
- 涓鸿幏寰椾笢鍗楀ぇ瀛︽垨鍏跺畠鏁欒偛鏈烘瀯鐨勫浣嶆垨璇佷功鑰屼娇鐢ㄨ繃鐨勬潗鏂欍備笌鎴戜竴鍚屽伐
- 浣滅殑鍚屽織瀵规湰鐮旂┒鎵鍋氱殑浠讳綍璐$尞鍧囧凡鍦ㄨ鏂囦腑浣滀簡鏄庣‘鐨勮鏄庡苟琛ㄧず浜嗚阿
- 鎰忋俓par}
+ { 鏈汉澹版槑鎵鍛堜氦鐨勫浣嶈鏂囨槸鎴戜釜浜哄湪瀵煎笀鎸囧涓嬭繘琛岀殑鐮旂┒宸ヤ綔鍙婂彇寰楃殑
+ 鐮旂┒鎴愭灉銆傚敖鎴戞墍鐭ワ紝闄や簡鏂囦腑鐗瑰埆鍔犱互鏍囨敞鍜岃嚧璋㈢殑鍦版柟澶栵紝璁烘枃涓笉鍖
+ 鍚叾浠栦汉宸茬粡鍙戣〃鎴栨挵鍐欒繃鐨勭爺绌舵垚鏋滐紝涔熶笉鍖呭惈涓鸿幏寰椾笢鍗楀ぇ瀛︽垨鍏跺畠鏁
+ 鑲叉満鏋勭殑瀛︿綅鎴栬瘉涔﹁屼娇鐢ㄨ繃鐨勬潗鏂欍備笌鎴戜竴鍚屽伐浣滅殑鍚屽織瀵规湰鐮旂┒鎵鍋氱殑
+ 浠讳綍璐$尞鍧囧凡鍦ㄨ鏂囦腑浣滀簡鏄庣‘鐨勮鏄庡苟琛ㄧず浜嗚阿鎰忋俓par}
\begin{flushright}
鐮旂┒鐢熺鍚嶏細\signline 鏃鏈燂細\signline
@@ -97,12 +96,11 @@
{\hei\sanhao 涓滃崡澶у瀛︿綅璁烘枃浣跨敤鎺堟潈澹版槑}
\end{center}
- {\CJKindent 涓滃崡澶у銆佷腑鍥界瀛︽妧鏈俊鎭爺绌舵墍銆佸浗瀹跺浘涔﹂
- 鏈夋潈淇濈暀鏈汉鎵閫佷氦瀛︿綅璁烘枃鐨勫鍗颁欢鍜岀數瀛愭枃妗o紝鍙互閲囩敤褰卞嵃銆佺缉鍗版垨
- 鍏朵粬澶嶅埗鎵嬫淇濆瓨璁烘枃銆傛湰浜虹數瀛愭枃妗g殑鍐呭鍜岀焊璐ㄨ鏂囩殑鍐呭鐩镐竴鑷淬傞櫎
- 鍦ㄤ繚瀵嗘湡鍐呯殑淇濆瘑璁烘枃澶栵紝鍏佽璁烘枃琚煡闃呭拰鍊熼槄锛屽彲浠ュ叕甯冿紙鍖呮嫭鍒
- 鐧伙級璁烘枃鐨勫叏閮ㄦ垨閮ㄥ垎鍐呭銆傝鏂囩殑鍏竷锛堝寘鎷垔鐧伙級鎺堟潈涓滃崡澶у鐮旂┒鐢
- 闄㈠姙鐞嗐俓par}
+ { 涓滃崡澶у銆佷腑鍥界瀛︽妧鏈俊鎭爺绌舵墍銆佸浗瀹跺浘涔﹂鏈夋潈淇濈暀鏈汉鎵閫佷氦瀛︿綅
+ 璁烘枃鐨勫鍗颁欢鍜岀數瀛愭枃妗o紝鍙互閲囩敤褰卞嵃銆佺缉鍗版垨鍏朵粬澶嶅埗鎵嬫淇濆瓨璁烘枃銆
+ 鏈汉鐢靛瓙鏂囨。鐨勫唴瀹瑰拰绾歌川璁烘枃鐨勫唴瀹圭浉涓鑷淬傞櫎鍦ㄤ繚瀵嗘湡鍐呯殑淇濆瘑璁烘枃
+ 澶栵紝鍏佽璁烘枃琚煡闃呭拰鍊熼槄锛屽彲浠ュ叕甯冿紙鍖呮嫭鍒婄櫥锛夎鏂囩殑鍏ㄩ儴鎴栭儴鍒嗗唴瀹广
+ 璁烘枃鐨勫叕甯冿紙鍖呮嫭鍒婄櫥锛夋巿鏉冧笢鍗楀ぇ瀛︾爺绌剁敓闄㈠姙鐞嗐俓par}
\begin{flushright}
鐮旂┒鐢熺鍚嶏細\signline 瀵煎笀绛惧悕锛歕signline 鏃鏈燂細\signline
diff --git a/Master/texmf-dist/tex/latex/seuthesis/seuthesis.cls b/Master/texmf-dist/tex/latex/seuthesis/seuthesis.cls
index d19e94c3dde..df49aa5f5bc 100644
--- a/Master/texmf-dist/tex/latex/seuthesis/seuthesis.cls
+++ b/Master/texmf-dist/tex/latex/seuthesis/seuthesis.cls
@@ -6,7 +6,7 @@
%%
%% seuthesis.dtx (with options: `cls')
%%
-%% Copyright (C) 2007-2009 by Xu Yuan <xuyuan.cn@gmail.com>
+%% Copyright (C) 2007-2010 by Xu Yuan <xuyuan.cn@gmail.com>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
@@ -22,11 +22,8 @@
%% through LaTeX.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
- \ProvidesClass{seuthesis}[2009/2/19 1.3.0 The LaTeX template for thesis of Southeast University]
- \typeout{Document Class `seuthesis' v1.3 by Xu Yuan, Song Yihan, Huang Xiaoyu (2009/2/19)}
-\newif\ifseuunicode\seuunicodetrue
-\DeclareOption{gbk}{\seuunicodefalse}
-\DeclareOption{unicode}{\seuunicodetrue}
+ \ProvidesClass{seuthesis}[2010/04/20 2.0.0 The LaTeX template for thesis of Southeast University]
+ \typeout{Document Class `seuthesis' v2.0.0 by Xu Yuan, Song Yihan, Huang Xiaoyu (2010/04/20)}
\newif\ifbachelordegree\bachelordegreefalse
\newif\ifmasterdegree\masterdegreetrue
\newif\ifengineering\engineeringfalse
@@ -39,16 +36,20 @@
\newif\ifdoublecover\doublecoverfalse
\DeclareOption{doublecover}{\doublecovertrue}
\DeclareOption{printedition}{\doublecovertrue\nocolorlinkstrue}
+\newif\ifstoneside\stonesidefalse
+\DeclareOption{printoneside}{%
+ \PassOptionsToClass{openany}{scrbook}
+ \stonesidetrue
+}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\ProcessOptions
\LoadClass[a4paper,10.5pt,tablecaptionabove]{scrbook}
\let\todayeng\today
\RequirePackage{doc}
+\RequirePackage{keyval}
\RequirePackage{ifpdf}
\RequirePackage{ifthen}
-\ifpdf
-\RequirePackage{ccmap} % 褰撲娇鐢╬dflatex缂栬瘧鏃剁敓鎴愬彲鎷疯礉鐨刾df
-\else\fi
+
\RequirePackage{graphicx}
\RequirePackage[dvipsnames]{xcolor}
\RequirePackage{indentfirst}
@@ -65,16 +66,20 @@
\RequirePackage{paralist}% 淇敼鍒楄〃鏍煎紡
\setdefaultenum{1)}{a)}{i.}{A.}% 璁剧疆鍒楄〃妯″紡
\setdefaultleftmargin{4ex}{}{}{}{}{}
-\ifseuunicode% 浣跨敤unicode
-\typeout{[seuthesis]: Using UNICODE encoding}
-\RequirePackage{CJKutf8} %涓枃鏀寔unicode
+\RequirePackage[CJKnumber,slantfont,boldfont]{xeCJK}
+\newlength\CJK@twochars
+\def\CJK@spaceChar{\Unicode{48}{7}}
+\def\CJKindent{%
+ \settowidth\CJK@twochars{\CJK@spaceChar\CJK@spaceChar}%
+ \parindent\CJK@twochars}
+
\ifpdf
\RequirePackage{hyperref}
\else %閰嶇疆dvipdfmx
\RequirePackage[dvipdfmx]{hyperref}
\fi
\hypersetup{unicode=true}
-\AtBeginDocument{\begin{CJK*}{UTF8}{song}\CJKtilde\CJKindent\CJKcaption{zh-Hans}%
+\AtBeginDocument{\CJKindent{}%
\InputIfFileExists{seuthesis-utf8.cfg}% 寮曞叆閰嶇疆鏂囦欢
{\typeout{[seuthesis]: Load seuthesis-utf8.cfg successfully!}}%
{\typeout{[seuthesis]: Load seuthesis-utf8.cfg failed!}}%
@@ -82,31 +87,22 @@
\wuhao%
\linespacing{\mainlineskip}
}
-\else% 浣跨敤GBK
-\typeout{[seuthesis]: Using GBK encoding}
-\RequirePackage{CJK} %涓枃鏀寔gbk
-\RequirePackage[CJKbookmarks=true]{hyperref}
-\AtBeginDocument{\begin{CJK*}{GBK}{song}\CJKtilde\CJKindent\CJKcaption{GB}%
- \InputIfFileExists{seuthesis-gbk.cfg}% 寮曞叆閰嶇疆鏂囦欢
- {\typeout{[seuthesis]: Load seuthesis-gbk.cfg successfully!}}%
- {\typeout{[seuthesis]: Load seuthesis-gbk.cfg failed!}}%
- \makeindex%
- \wuhao%
- \linespacing{\mainlineskip}
- }
-\fi
-\AtEndDocument{\end{CJK*}}
+\AtEndDocument{}
\RequirePackage{CJKnumb}
\RequirePackage[top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry}
\RequirePackage[pagestyles, rm]{titlesec}
\RequirePackage{titletoc} % 璁剧疆鐩綍
\hypersetup{bookmarksnumbered=true}%涔︾涓珷鑺傜紪鍙
-\newcommand{\song}{\CJKfamily{song}}
-\newcommand{\lishu}{\CJKfamily{li}}
-\newcommand{\hei}{\CJKfamily{hei}}
-\newcommand{\kai}{\CJKfamily{kai}}
-\newcommand{\fs}{\CJKfamily{fs}}
-\renewcommand{\rmdefault}{ptm}% 鑻辨枃榛樿Time New Roman
+\setCJKmainfont{SimSun}
+\setCJKfamilyfont{zhsong}{SimSun}
+\newcommand{\song}{\CJKfamily{zhsong}}
+\setCJKfamilyfont{zhhei}{SimHei}
+\newcommand{\hei}{\CJKfamily{zhhei}}
+\setCJKfamilyfont{zhkai}{KaiTi}
+\newcommand{\kai}{\CJKfamily{zhkai}}
+\setCJKfamilyfont{zhfs}{FangSong}
+\newcommand{\fs}{\CJKfamily{zhfs}}
+\setmainfont{Times New Roman}% 鑻辨枃榛樿Time New Roman
\newcommand{\chuhao}{\fontsize{42pt}{46pt}\selectfont}
\newcommand{\xiaochuhao}{\fontsize{36pt}{40pt}\selectfont}
\newcommand{\yichu}{\fontsize{32pt}{36pt}\selectfont}
@@ -127,6 +123,13 @@
\titlespacing{\subsection}{0pt}{3ex plus .05ex minus .01ex}{2ex plus .04ex}
\titlespacing{\subsubsection}{0pt}{1.5ex plus .05ex minus .01ex}{1ex plus .01ex}
\newcommand{\linespacing}[1]{\linespread{#1}\selectfont}% 琛岃窛鍛戒护
+\newcommand{\stcleardp}{%
+ \ifstoneside
+ \clearpage
+ \else
+ \cleardoublepage
+ \fi
+}
\ifnocolorlinks
\hypersetup{colorlinks=false}
\else
@@ -141,20 +144,20 @@
urlcolor=magenta
}
\newpagestyle{seustyle}{
- \sethead[][{\song\xiaowuhao涓滃崡澶у\@degree瀛︿綅璁烘枃}][] % 鍋舵暟椤
- {}{{\song\xiaowuhao\chaptertitlename\quad\chaptertitle}}{} % 濂囨暟椤
+ \sethead[][{\song{}\xiaowuhao{}涓滃崡澶у\@degree{}瀛︿綅璁烘枃}][] % 鍋舵暟椤
+ {}{{\song{}\xiaowuhao{}\chaptertitlename\quad\chaptertitle}}{} % 濂囨暟椤
\setfoot{}{\thepage}{}
\headrule
}
\newpagestyle{seufrontstyle}{
- \sethead[][{\song\xiaowuhao涓滃崡澶у\@degree瀛︿綅璁烘枃}][]
- {}{{\song\xiaowuhao涓滃崡澶у\@degree瀛︿綅璁烘枃}}{}
+ \sethead[][{\song{}\xiaowuhao{}涓滃崡澶у\@degree{}瀛︿綅璁烘枃}][]
+ {}{{\song{}\xiaowuhao{}涓滃崡澶у\@degree{}瀛︿綅璁烘枃}}{}
\setfoot{}{\thepage}{}
\headrule
}
\newpagestyle{seunolabelstyle}{
- \sethead[][{\song\xiaowuhao涓滃崡澶у\@degree瀛︿綅璁烘枃}][]
- {}{{\song\xiaowuhao\chaptertitle}}{}
+ \sethead[][{\song{}\xiaowuhao{}涓滃崡澶у\@degree{}瀛︿綅璁烘枃}][]
+ {}{{\song{}\xiaowuhao{}\chaptertitle}}{}
\setfoot{}{\thepage}{}
\headrule
}
@@ -256,7 +259,7 @@
\pagestyle{empty}
\ifdoublecover
- \cleardoublepage
+ \stcleardp
\else\fi
\chinesecover
@@ -264,7 +267,7 @@
\frontmatter
\else
\ifdoublecover
- \cleardoublepage
+ \stcleardp
\else\fi
\englishcover % 鑻辨枃灏侀潰
\frontmatter % 寮濮嬫鏂囦箣鍓嶇殑閮ㄥ垎
@@ -475,7 +478,7 @@
{
\newcommand{\@keywords}{#1}
\hypersetup{pdfkeywords={\@keywords}}
- \cleardoublepage
+ \stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{\@abstracttitletoc}
\ifbachelordegree
@@ -510,7 +513,7 @@
\newenvironment{englishabstract}[1]
{
\newcommand{\@keywords}{#1}
- \cleardoublepage
+ \stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{Abstract}
\ifbachelordegree
@@ -542,7 +545,7 @@
}
\newenvironment{terminology}[1][\@terminologytitle]
{
- \cleardoublepage
+ \stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{#1}
\chapter*{#1}
@@ -552,7 +555,7 @@
}
\newenvironment{Main}
{
- \cleardoublepage
+ \stcleardp
{\linespacing{1.15}%
\song\xiaosihao%
\phantomsection
@@ -589,7 +592,7 @@
\pagestyle{seufrontstyle}} % 鎭㈠鍘熸湁鏍峰紡缁欏悗缁儴鍒
\newenvironment{Thanks}[1][\@thankstitle]
{%
- \cleardoublepage
+ \stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{\@thankstitletoc}
\chapter*{#1}
@@ -606,7 +609,7 @@
}
\newenvironment{Resume}[1][\@resumetitle]
{%
- \cleardoublepage
+ \stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{\@resumetitletoc}
\chapter*{#1}