diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-29 13:58:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-29 13:58:17 +0000 |
commit | 9af4047aaf9cd4ae3b94d2128e43e037b3547bec (patch) | |
tree | 949db0f8dd2886d0faaa18123c0ef793b4ccb7cb /Master | |
parent | c5730459352a1e11da56d1d630474c99da7d33e9 (diff) |
seuthesis 2.0.0 (20apr10)
git-svn-id: svn://tug.org/texlive/trunk@18045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
21 files changed, 545 insertions, 409 deletions
diff --git a/Master/texmf-dist/doc/latex/seuthesis/a3cover/A3cover.tex b/Master/texmf-dist/doc/latex/seuthesis/a3cover/A3cover.tex index 82f3080eeb6..85054ee8f8a 100644 --- a/Master/texmf-dist/doc/latex/seuthesis/a3cover/A3cover.tex +++ b/Master/texmf-dist/doc/latex/seuthesis/a3cover/A3cover.tex @@ -9,7 +9,7 @@ \begin{document} \includepdf[nup=2x1, noautoscale, delta=14 0, pages={last-last, 1}, pagecommand={% -\begin{picture}(0,0)(-393,654.5)% +\begin{picture}(0,0)(-395,612.2)% \includegraphics{bookspine_res.pdf}% \end{picture}% }]{../seuthesis.pdf} diff --git a/Master/texmf-dist/doc/latex/seuthesis/a3cover/A4cover.tex b/Master/texmf-dist/doc/latex/seuthesis/a3cover/A4cover.tex new file mode 100644 index 00000000000..5a6335a2bd4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/a3cover/A4cover.tex @@ -0,0 +1,21 @@ +\documentclass{article} + +\usepackage[a4paper]{geometry} +\usepackage{graphicx} +\usepackage{pdfpages} + +\pagestyle{empty} + +\newcommand{\mainfile}{../main.pdf} + +\begin{document} + +\includepdf[nup=1x1, noautoscale, pages={last-last}, pagecommand={% +\begin{picture}(0,0)(-470,612.2)% +\includegraphics{bookspine_res.pdf}% +\end{picture}% +}]{\mainfile} +\newpage +\includepdf[nup=1x1, noautoscale, page={1}, offset=-14 0]{\mainfile} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/seuthesis/a3cover/a4cover.bat b/Master/texmf-dist/doc/latex/seuthesis/a3cover/a4cover.bat new file mode 100755 index 00000000000..331220f70de --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/a3cover/a4cover.bat @@ -0,0 +1,10 @@ +pdflatex -interaction=nonstopmode bookspine_hor.tex
+pdflatex -interaction=nonstopmode bookspine_ver.tex
+pdfcrop --margins 2 --clip bookspine_ver.pdf bookspine_res.pdf
+pdflatex -interaction=nonstopmode A4cover.tex
+
+rm *.aux
+
+rm bookspine_hor.pdf
+rm bookspine_ver.pdf
+rm *.log
diff --git a/Master/texmf-dist/doc/latex/seuthesis/a3cover/a4cover.sh b/Master/texmf-dist/doc/latex/seuthesis/a3cover/a4cover.sh new file mode 100644 index 00000000000..ae23189b82a --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/a3cover/a4cover.sh @@ -0,0 +1,10 @@ +pdflatex -interaction=nonstopmode bookspine_hor.tex +pdflatex -interaction=nonstopmode bookspine_ver.tex +pdfcrop --margins 2 --clip bookspine_ver.pdf bookspine_res.pdf +pdflatex -interaction=nonstopmode A4cover.tex + +rm *.aux + +rm bookspine_hor.pdf +rm bookspine_ver.pdf +rm *.log diff --git a/Master/texmf-dist/doc/latex/seuthesis/a3cover/bookspine_hor.tex b/Master/texmf-dist/doc/latex/seuthesis/a3cover/bookspine_hor.tex index 53d8a532352..895eaeaab57 100644 --- a/Master/texmf-dist/doc/latex/seuthesis/a3cover/bookspine_hor.tex +++ b/Master/texmf-dist/doc/latex/seuthesis/a3cover/bookspine_hor.tex @@ -2,7 +2,7 @@ \renewcommand{\rmdefault}{ptm} -\usepackage[a3paper, hmargin=2.5cm, vmargin=2cm]{geometry} +\usepackage[a3paper, hmargin=4cm, vmargin=2cm]{geometry} \usepackage{graphicx} \usepackage{CJKutf8, CJKspace} \usepackage[usebaselinestretch]{CJKvert} diff --git a/Master/texmf-dist/doc/latex/seuthesis/figures/Thumbs.db b/Master/texmf-dist/doc/latex/seuthesis/figures/Thumbs.db Binary files differdeleted file mode 100644 index 510f715baee..00000000000 --- a/Master/texmf-dist/doc/latex/seuthesis/figures/Thumbs.db +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/seuthesis/gind.ist b/Master/texmf-dist/doc/latex/seuthesis/gind.ist new file mode 100644 index 00000000000..8f4cc2db208 --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/gind.ist @@ -0,0 +1,83 @@ +%% +%% This is file `gind.ist', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% doc.dtx (with options: `gind') +%% +%% This is a generated file. +%% +%% Copyright 1993 1994 1995 1996 1997 1998 1999 +%% The LaTeX3 Project and any individual authors listed elsewhere +%% in this file. +%% +%% This file was generated from file(s) of the LaTeX base system. +%% -------------------------------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.2 +%% 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.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% This file may only be distributed together with a copy of the LaTeX +%% base system. You may however distribute the LaTeX base system without +%% such generated files. +%% +%% The list of all files belonging to the LaTeX base distribution is +%% given in the file `manifest.txt'. See also `legal.txt' for additional +%% information. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +%% Package `doc' to use with LaTeX 2e +%% Copyright (C) 1989-1999 Frank Mittelbach, all rights reserved. +%% This is a MAKEINDEX style file which should be used to +%% generate the formatted index for use with the doc +%% package. The TeX commands used below are defined in +%% doc.sty. The commands for MAKEINDEX like `level' +%% `item_x1' are described in `` Makeindex, A General +%% Purpose, Formatter-Independent Index Processor'' by +%% Pehong Chen. + +actual '=' +quote '!' +level '>' +preamble +"\n \\begin{theindex} \n \\makeatletter\\scan@allowedfalse\n" +postamble +"\n\n \\end{theindex}\n" +item_x1 "\\efill \n \\subitem " +item_x2 "\\efill \n \\subsubitem " +delim_0 "\\pfill " +delim_1 "\\pfill " +delim_2 "\\pfill " +% The next lines will produce some warnings when +% running Makeindex as they try to cover two different +% versions of the program: +lethead_prefix "{\\bfseries\\hfil " +lethead_suffix "\\hfil}\\nopagebreak\n" +lethead_flag 1 +heading_prefix "{\\bfseries\\hfil " +heading_suffix "\\hfil}\\nopagebreak\n" +headings_flag 1 +%% +%% +%% End of file `gind.ist'. diff --git a/Master/texmf-dist/doc/latex/seuthesis/sample-bachelor.pdf b/Master/texmf-dist/doc/latex/seuthesis/sample-bachelor.pdf Binary files differnew file mode 100644 index 00000000000..25cfc29b33e --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/sample-bachelor.pdf diff --git a/Master/texmf-dist/doc/latex/seuthesis/sample-doctor.pdf b/Master/texmf-dist/doc/latex/seuthesis/sample-doctor.pdf Binary files differnew file mode 100644 index 00000000000..e882403c76c --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/sample-doctor.pdf diff --git a/Master/texmf-dist/doc/latex/seuthesis/sample-engineering.pdf b/Master/texmf-dist/doc/latex/seuthesis/sample-engineering.pdf Binary files differnew file mode 100644 index 00000000000..d8be300a6bb --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/sample-engineering.pdf diff --git a/Master/texmf-dist/doc/latex/seuthesis/sample-master.pdf b/Master/texmf-dist/doc/latex/seuthesis/sample-master.pdf Binary files differnew file mode 100644 index 00000000000..5cd266a9095 --- /dev/null +++ b/Master/texmf-dist/doc/latex/seuthesis/sample-master.pdf diff --git a/Master/texmf-dist/doc/latex/seuthesis/sample.pdf b/Master/texmf-dist/doc/latex/seuthesis/sample.pdf Binary files differdeleted file mode 100644 index 2526ab13639..00000000000 --- a/Master/texmf-dist/doc/latex/seuthesis/sample.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/seuthesis/sample.tex b/Master/texmf-dist/doc/latex/seuthesis/sample.tex index 2858c4d0ddb..6692a709fb4 100644 --- a/Master/texmf-dist/doc/latex/seuthesis/sample.tex +++ b/Master/texmf-dist/doc/latex/seuthesis/sample.tex @@ -11,7 +11,7 @@ \secretlevel{公开} %学位论文密级分为"公开"、"内部"、"秘密"和"机密"四种 \studentid{050962} %学号要完整,前面的零不能省略。 \title{论文中文标题}{中文副标题}{Thesis Title}{subtitle} -\author{姓~名}{Author's Name} +\author{姓\quad{}名}{Author's Name} \advisor{导师姓名}{教授}{Advisor's Name}{Prof.} \coadvisor{副导师}{副教授}{Co-advisor's Name}{Associate Prof.} % 没有 % 可以不填 diff --git a/Master/texmf-dist/doc/latex/seuthesis/seuthesis.pdf b/Master/texmf-dist/doc/latex/seuthesis/seuthesis.pdf Binary files differindex 36d6666bdca..8e0da7601be 100644 --- a/Master/texmf-dist/doc/latex/seuthesis/seuthesis.pdf +++ b/Master/texmf-dist/doc/latex/seuthesis/seuthesis.pdf diff --git a/Master/texmf-dist/doc/latex/seuthesis/zharticle/zharticle.cls b/Master/texmf-dist/doc/latex/seuthesis/zharticle/zharticle.cls index 7678183f823..f767fa01325 100644 --- a/Master/texmf-dist/doc/latex/seuthesis/zharticle/zharticle.cls +++ b/Master/texmf-dist/doc/latex/seuthesis/zharticle/zharticle.cls @@ -1,223 +1,223 @@ -\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{zharticle}[2008/11/28 0.2 The LaTeX template for general chinese articles]
-\typeout{Document Class `zharticle' v0.2 by Nobel Huang (2008/11/28)}
-
-% 定义选项
-\newif\ifwithdate\withdatefalse
-
-\DeclareOption{withdate}{\withdatetrue \typeout{[zharticle]: With date.}}% 显示日期
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
-\ProcessOptions
-
-% 加载依赖包
-\LoadClass[a4paper, DIV=16, fontsize=9pt, twocolumn]{scrartcl}% 双列排版
-\let\todayeng\today
-
-\RequirePackage{doc}
-\RequirePackage{ifpdf}
-\RequirePackage{CJKutf8}
-\RequirePackage{CJKnumb}
-\ifpdf
-\RequirePackage{hyperref}
-\else
-\RequirePackage[dvipdfmx]{hyperref}
-\fi
-\hypersetup{%
- unicode=true,%
- colorlinks=true,%
- linkcolor=blue,%
- urlcolor=black,%
- citecolor=black,%
- bookmarksopen=true,%
- bookmarksnumbered,%
- pdfpagemode=UseOutlines,%
- pdfstartview=Fit,%
- pdfpagelayout=OneColumn}
-\RequirePackage{caption} % 定义图的标题格式:居中. 使用caption3.0
-\captionsetup{%
- format=plain,%
- labelformat=simple,%
- justification=centering,%
- singlelinecheck=off}
-\RequirePackage[stable, flushmargin, perpage]{footmisc}
-\RequirePackage{indentfirst}
-\RequirePackage[numbers,sort&compress]{natbib} % 修改引用参考文献格式
-\RequirePackage[rm, bf]{titlesec}
-\RequirePackage{paralist}
-\RequirePackage{balance}
-
-% 正文预处理
-\linespread{1.36}% 行距15pt
-\setlength{\parskip}{0pt}% 段落间距 Important
-\renewcommand{\rmdefault}{ptm}% 英文为time new roman
-\setlength{\bibsep}{0ex}% 参考文献间距
-\setlength{\textfloatsep}{1ex}% 浮动体间距
-\setlength{\intextsep}{1ex}
-\setlength{\floatsep}{1ex}
-\titlespacing*{\section}{0pt}{0pt}{0pt}% 节标题间距
-\titlespacing*{\subsection}{0pt}{0pt}{0pt}
-\titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
-\setdefaultenum{1)}{a)}{i.}{A.}% 设置列表模式
-\setdefaultleftmargin{4ex}{}{}{}{}{}
-\setlength{\textheight}{244mm}
-\setlength{\textwidth}{170mm}
-\setlength{\columnsep}{7mm}
-
-\AtBeginDocument{%
- \InputIfFileExists{zharticle.cfg}% 加载配置文件
- {\typeout{[zharticle]: Load zharticle.cfg successfully!}}%
- {\typeout{[zharticle]: Load zharticle.cfg failed!}}%
- \begin{CJK*}{UTF8}{song}\CJKtilde\CJKindent\CJKcaption{zh-Hans}%
- \balance%
-}
-\AtEndDocument{%
- \end{CJK*}
-}
-
-% 命令
-\newcommand{\@authoreng}{}
-\renewcommand{\author}[2]{
- \def\@author{#1}
- \renewcommand{\@authoreng}{#2}
-}
-
-\newcommand{\@address}{}
-\newcommand{\@addresseng}{}
-\newcommand{\address}[2]{
- \renewcommand{\@address}{#1}
- \renewcommand{\@addresseng}{#2}
-}
-
-\newcommand{\@titleeng}{}
-\renewcommand{\title}[2]{
- \def\@title{#1}
- \renewcommand{\@titleeng}{#2}
-}
-
-\newcommand{\@categorynumber}{}% 中图分类号
-\newcommand{\categorynumber}[1]{\renewcommand{\@categorynumber}{#1}}
-
-\newcommand{\@refmark}{}% 文献标识码
-\newcommand{\refmark}[1]{\renewcommand{\@refmark}{#1}}
-
-\newcommand{\@articleid}{}% 文章编号
-\newcommand{\articleid}[1]{\renewcommand{\@articleid}{#1}}
-
-\newcommand{\@abstract}{}
-\newcommand{\@abstracteng}{}
-\newcommand{\@keywords}{}
-\newcommand{\@keywordseng}{}
-\newcommand{\abstractkeyword}[4]{
- \renewcommand{\@abstract}{#1}
- \renewcommand{\@abstracteng}{#2}
- \renewcommand{\@keywords}{#3}
- \renewcommand{\@keywordseng}{#4}
-}
-
-\renewcommand{\@maketitle}{%
- \clearpage
- \let\footnote\thanks
- \ifx\@extratitle\@empty \else
- \noindent\@extratitle \next@tpage \if@twoside \null\next@tpage \fi
- \fi
- \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
- \ifx\@titlehead\@empty \else
- \begin{minipage}[t]{\textwidth}
- \@titlehead
- \end{minipage}\par
- \fi
- \null
- \vskip 28pt%
- \begin{center}%
- \ifx\@subject\@empty \else
- {\subject@font \@subject \par}
- \vskip 1em
- \fi
- {\song\xiaoerhao \textbf{\@title} \par}%
- \vskip 2pt
- {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
- \vskip 6pt
- {\kai\wuhao \@author \par}
- \vspace{0mm}
- {\song\liuhao (\@address) \par}
- \ifwithdate
- \vspace{0mm}
- {\song\liuhao \@date \par}% % Set date in \large size.
- \else
- \fi
- \end{center}%
- \par
- \vspace{-1mm}
-
- \begin{abstract}{\@keywords}
- \@abstract - \end{abstract}
-
- \maketitleeng
- \begin{engabstract}{\@keywordseng}
- \@abstracteng - \end{engabstract}
-
- \vspace{1em}
-
- %设置文件属性
- \GetFileInfo{zharticle.cls}
- \hypersetup{
- pdfauthor={\@author},
- pdftitle={\@title}, %文件标题
- pdfsubject={\@title}, %文件主题
- pdfcreator={The zharticle class (v \fileversion)} % 应用程序
- }
-}
-
-\newcommand{\maketitleeng}{% 请在\maketitle后调用
- \begin{center}%
- \ifx\@subject\@empty \else
- {\subject@font \@subject \par}
- \vskip 1em
- \fi
- {\sihao \textbf{\@titleeng} \par}%
- \vskip 2pt
- {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
- \vskip 6pt
- \vspace{0mm}
- {\wuhao \textit{\@authoreng} \par}
- \vspace{0mm}
- {\liuhao (\@addresseng)\par}
- \end{center}%
- \vspace{-1mm}%
-}
-
-\renewenvironment{abstract}[1]{% 中文摘要, 关键字作为参数
- \kai\xiaowuhao\noindent
- \textbf{\song 摘要:~}\noindent
-}{%
- \par\noindent
- \textbf{\song 关键词:} \@keywords
- \par\noindent
- \textbf{\song 中图分类号:} \makebox[3cm][l]{\@categorynumber}%
- \textbf{\song 文献标识码:} \makebox[1.5cm][l]{\@refmark}%
- \textbf{\song 文章编号:} \makebox[5cm][l]{\@articleid}
- \par
- \hypersetup{pdfkeywords={\@keywords}}
-}
-
-\newenvironment{engabstract}[1]{% 英文摘要
- \xiaowuhao\noindent
- \textbf{Abstract:}\noindent
-}{%
- \par\noindent
- \textbf{Key words:} \@keywordseng
- \par
-}
-
-% 其他
-\let\orig@emph=\emph% 中文强调
-\renewcommand{\emph}[1]{{\orig@emph{\kai#1}}}
-
-% 参考文献
-\let\originalcite=\cite
-\renewcommand{\cite}[1]{\textsuperscript{\originalcite{#1}}}
-\renewcommand{\citet}[1]{\originalcite{#1}}
-
+\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{zharticle}[2008/11/28 0.2 The LaTeX template for general chinese articles] +\typeout{Document Class `zharticle' v0.2 by Nobel Huang (2008/11/28)} + +% 定义选项 +\newif\ifwithdate\withdatefalse + +\DeclareOption{withdate}{\withdatetrue \typeout{[zharticle]: With date.}}% 显示日期 +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions + +% 加载依赖包 +\LoadClass[a4paper, DIV=16, fontsize=9pt, twocolumn]{scrartcl}% 双列排版 +\let\todayeng\today + +\RequirePackage{doc} +\RequirePackage{ifpdf} +\RequirePackage{CJKutf8} +\RequirePackage{CJKnumb} +\ifpdf +\RequirePackage{hyperref} +\else +\RequirePackage[dvipdfmx]{hyperref} +\fi +\hypersetup{% + unicode=true,% + colorlinks=true,% + linkcolor=blue,% + urlcolor=black,% + citecolor=black,% + bookmarksopen=true,% + bookmarksnumbered,% + pdfpagemode=UseOutlines,% + pdfstartview=Fit,% + pdfpagelayout=OneColumn} +\RequirePackage{caption} % 定义图的标题格式:居中. 使用caption3.0 +\captionsetup{% + format=plain,% + labelformat=simple,% + justification=centering,% + singlelinecheck=off} +\RequirePackage[stable, flushmargin, perpage]{footmisc} +\RequirePackage{indentfirst} +\RequirePackage[numbers,sort&compress]{natbib} % 修改引用参考文献格式 +\RequirePackage[rm, bf]{titlesec} +\RequirePackage{paralist} +\RequirePackage{balance} + +% 正文预处理 +\linespread{1.36}% 行距15pt +\setlength{\parskip}{0pt}% 段落间距 Important +\renewcommand{\rmdefault}{ptm}% 英文为time new roman +\setlength{\bibsep}{0ex}% 参考文献间距 +\setlength{\textfloatsep}{1ex}% 浮动体间距 +\setlength{\intextsep}{1ex} +\setlength{\floatsep}{1ex} +\titlespacing*{\section}{0pt}{0pt}{0pt}% 节标题间距 +\titlespacing*{\subsection}{0pt}{0pt}{0pt} +\titlespacing*{\subsubsection}{0pt}{0pt}{0pt} +\setdefaultenum{1)}{a)}{i.}{A.}% 设置列表模式 +\setdefaultleftmargin{4ex}{}{}{}{}{} +\setlength{\textheight}{244mm} +\setlength{\textwidth}{170mm} +\setlength{\columnsep}{7mm} + +\AtBeginDocument{% + \InputIfFileExists{zharticle.cfg}% 加载配置文件 + {\typeout{[zharticle]: Load zharticle.cfg successfully!}}% + {\typeout{[zharticle]: Load zharticle.cfg failed!}}% + \begin{CJK*}{UTF8}{song}\CJKtilde\CJKindent\CJKcaption{zh-Hans}% + \balance% +} +\AtEndDocument{% + \end{CJK*} +} + +% 命令 +\newcommand{\@authoreng}{} +\renewcommand{\author}[2]{ + \def\@author{#1} + \renewcommand{\@authoreng}{#2} +} + +\newcommand{\@address}{} +\newcommand{\@addresseng}{} +\newcommand{\address}[2]{ + \renewcommand{\@address}{#1} + \renewcommand{\@addresseng}{#2} +} + +\newcommand{\@titleeng}{} +\renewcommand{\title}[2]{ + \def\@title{#1} + \renewcommand{\@titleeng}{#2} +} + +\newcommand{\@categorynumber}{}% 中图分类号 +\newcommand{\categorynumber}[1]{\renewcommand{\@categorynumber}{#1}} + +\newcommand{\@refmark}{}% 文献标识码 +\newcommand{\refmark}[1]{\renewcommand{\@refmark}{#1}} + +\newcommand{\@articleid}{}% 文章编号 +\newcommand{\articleid}[1]{\renewcommand{\@articleid}{#1}} + +\newcommand{\@abstract}{} +\newcommand{\@abstracteng}{} +\newcommand{\@keywords}{} +\newcommand{\@keywordseng}{} +\newcommand{\abstractkeyword}[4]{ + \renewcommand{\@abstract}{#1} + \renewcommand{\@abstracteng}{#2} + \renewcommand{\@keywords}{#3} + \renewcommand{\@keywordseng}{#4} +} + +\renewcommand{\@maketitle}{% + \clearpage + \let\footnote\thanks + \ifx\@extratitle\@empty \else + \noindent\@extratitle \next@tpage \if@twoside \null\next@tpage \fi + \fi + \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative + \ifx\@titlehead\@empty \else + \begin{minipage}[t]{\textwidth} + \@titlehead + \end{minipage}\par + \fi + \null + \vskip 28pt% + \begin{center}% + \ifx\@subject\@empty \else + {\subject@font \@subject \par} + \vskip 1em + \fi + {\song\xiaoerhao \textbf{\@title} \par}% + \vskip 2pt + {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}% + \vskip 6pt + {\kai\wuhao \@author \par} + \vspace{0mm} + {\song\liuhao (\@address) \par} + \ifwithdate + \vspace{0mm} + {\song\liuhao \@date \par}% % Set date in \large size. + \else + \fi + \end{center}% + \par + \vspace{-1mm} + + \begin{abstract}{\@keywords} + \@abstrac + \end{abstract} + + \maketitleeng + \begin{engabstract}{\@keywordseng} + \@abstracten + \end{engabstract} + + \vspace{1em} + + %设置文件属性 + \GetFileInfo{zharticle.cls} + \hypersetup{ + pdfauthor={\@author}, + pdftitle={\@title}, %文件标题 + pdfsubject={\@title}, %文件主题 + pdfcreator={The zharticle class (v \fileversion)} % 应用程序 + } +} + +\newcommand{\maketitleeng}{% 请在\maketitle后调用 + \begin{center}% + \ifx\@subject\@empty \else + {\subject@font \@subject \par} + \vskip 1em + \fi + {\sihao \textbf{\@titleeng} \par}% + \vskip 2pt + {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}% + \vskip 6pt + \vspace{0mm} + {\wuhao \textit{\@authoreng} \par} + \vspace{0mm} + {\liuhao (\@addresseng)\par} + \end{center}% + \vspace{-1mm}% +} + +\renewenvironment{abstract}[1]{% 中文摘要, 关键字作为参数 + \kai\xiaowuhao\noindent + \textbf{\song 摘要:~}\noindent +}{% + \par\noindent + \textbf{\song 关键词:} \@keywords + \par\noindent + \textbf{\song 中图分类号:} \makebox[3cm][l]{\@categorynumber}% + \textbf{\song 文献标识码:} \makebox[1.5cm][l]{\@refmark}% + \textbf{\song 文章编号:} \makebox[5cm][l]{\@articleid} + \par + \hypersetup{pdfkeywords={\@keywords}} +} + +\newenvironment{engabstract}[1]{% 英文摘要 + \xiaowuhao\noindent + \textbf{Abstract:}\noindent +}{% + \par\noindent + \textbf{Key words:} \@keywordseng + \par +} + +% 其他 +\let\orig@emph=\emph% 中文强调 +\renewcommand{\emph}[1]{{\orig@emph{\kai#1}}} + +% 参考文献 +\let\originalcite=\cite +\renewcommand{\cite}[1]{\textsuperscript{\originalcite{#1}}} +\renewcommand{\citet}[1]{\originalcite{#1}} + \bibliographystyle{zharticle}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/seuthesis/Makefile b/Master/texmf-dist/source/latex/seuthesis/Makefile index be42cfcf4f4..e9e4e5a66f6 100644 --- a/Master/texmf-dist/source/latex/seuthesis/Makefile +++ b/Master/texmf-dist/source/latex/seuthesis/Makefile @@ -31,7 +31,7 @@ sample: sample.pdf package: ${PACKAGE}.pdf clean: - rm -f *.aux *.log *.toc *.ind *.inx *.gls *.glo *.ist *.idx *.ilg *.out *.bak *.bbl *.brf *.blg *.dvi *.ps + rm -f *.aux *.log *.toc *.ind *.inx *.gls *.glo *.idx *.ilg *.out *.bak *.bbl *.brf *.blg *.dvi *.ps distclean: clean rm -f *.cls *.cfg @@ -42,10 +42,10 @@ ${PACKAGE}.cls: ${SRC} iconv -f utf8 -t gbk ${PACKAGE}-utf8.cfg > ${PACKAGE}-gbk.cfg ${PACKAGE}.idx: ${PACKAGE}.dtx - pdflatex ${PACKAGE}.dtx + xelatex ${PACKAGE}.dtx ${PACKAGE}.bbl: ${PACKAGE}.dtx ${PACKAGE}.bib - pdflatex ${PACKAGE}.dtx + xelatex ${PACKAGE}.dtx bibtex ${PACKAGE} ${PACKAGE}.ind: ${PACKAGE}.idx @@ -53,22 +53,22 @@ ${PACKAGE}.ind: ${PACKAGE}.idx # makeindex -s gglo -o ${PACKAGE}.gls ${PACKAGE}.glo ${PACKAGE}.pdf: ${PACKAGE}.dtx ${PACKAGE}.cls ${PACKAGE}.ind ${PACKAGE}.bbl - pdflatex ${PACKAGE}.dtx - pdflatex ${PACKAGE}.dtx + xelatex ${PACKAGE}.dtx + xelatex ${PACKAGE}.dtx sample.bbl: seuthesis.bib sample.tex - pdflatex sample + xelatex sample bibtex sample sample.pdf: sample.tex ${PACKAGE}.cls sample.bbl - pdflatex sample - pdflatex sample + xelatex sample + xelatex sample # rules of making main (my thesis) main.bbl: main.tex content/reference.bib - pdflatex main + xelatex main bibtex -min-crossrefs=9000 main main.pdf: ${MAIN_SRC} ${PACKAGE}.cls main.bbl - pdflatex main - pdflatex main
\ No newline at end of file + xelatex main + xelatex main
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/seuthesis/seuthesis.dtx b/Master/texmf-dist/source/latex/seuthesis/seuthesis.dtx index ec18e360d41..13f50f1e594 100644 --- a/Master/texmf-dist/source/latex/seuthesis/seuthesis.dtx +++ b/Master/texmf-dist/source/latex/seuthesis/seuthesis.dtx @@ -1,9 +1,8 @@ % \iffalse meta-comment % -% Copyright (C) 2007, 2008, 2009 by Xu Yuan <xuyuan.cn@gmail.com> +% Copyright (C) 2007 - 2010 by Xu Yuan <xuyuan.cn@gmail.com> % Song Yihan <syhannnn@gmail.com> % Nobel Huang <nobel1984@gmail.com> -% $Id$ % % This file is part of the seuthesis package project. % http://seuthesis.googlecode.com/ @@ -37,7 +36,7 @@ % % \iffalse %<*driver> -\ProvidesFile{seuthesis.dtx}[2009/2/19 1.3.0 Southeast University Thesis Template] +\ProvidesFile{seuthesis.dtx}[2010/04/20 2.0.0 Southeast University Thesis Template] \documentclass{seuthesis} \usepackage{color} \usepackage{manfnt} @@ -65,12 +64,12 @@ \secretlevel{公开} %学位论文密级分为“公开”、“内部”、“秘密”和“机密”四种 \studentid{050962} %学号要完整,前面的零不能省略。 -\title{\seuthesis{}~宏包(\fileversion版)} % 中文标题 +\title{\seuthesis{}~宏包(\fileversion{}版)} % 中文标题 {——东南大学学位论文~\LaTeX{}~模板} % 中文副标题 {The \seuthesis{} class (version \fileversion)} % 英文标题 {--- The \LaTeX{} template for thesis of Southeast University}%英文副标题 -\author{许~元}{XU Yuan} +\author{许\quad{}元}{XU Yuan} \advisor{导师姓名}{教授}{Advisor's Name}{Prof.} \coadvisor{副导师}{副教授}{Co-advisor's Name}{Associate Prof.} @@ -130,20 +129,19 @@ \chapter{简介} \label{cha:intro} - 在硕士论文完成之际,\seuthesis{}的第一个完整版也诞生了,同时支 - 持~UNICODE~和~GBK~编码,宋翊涵同学为模板加入了对东南大学本科论文的支 - 持。模板的格式尽量满足东南大学研究生院和教务处的要求,当然由于水平有 - 限其中错漏在所难免,我们已在google建立项 - 目:\url{http://seuthesis.googlecode.com/},欢迎东大的\LaTeX{}er一起参 - 加开发和完善。 + 在硕士论文完成之际,\seuthesis{}的第一个完整版也诞生了,使用CJK实现中 + 文支持,并在在google建立项目:\url{http://seuthesis.googlecode.com/}。 + 之后宋翊涵同学为模板加入了对东南大学本科论文的支持,黄小雨同学在写硕 + 士论文期间对模板进行了完善。 - 如果您对开发和完善\seuthesis{}感兴趣、有任何想法或建议,请与我 - 们联系。 + 模板的格式尽量满足东南大学研究生院和教务处的要求,当然由于水平有限其 + 中错漏在所难免,我们欢迎东大的\LaTeX{}er一起参加开发和完善。如果您对 + 开发和完善\seuthesis{}感兴趣、有任何想法或建议,请与我们联系。 \section{版权声明} \begin{flushleft} \begin{tabular*}{1.0\linewidth}{lcl} - 版权所有\textcopyright 2007, 2008, 2009 & 许元 & (\url{xuyuan.cn@gmail.com}) \\ + 版权所有\textcopyright 2007 - \the\year & 许\quad{}元 & (\url{xuyuan.cn@gmail.com}) \\ & 宋翊涵 & (\url{syhannnn@gmail.com}) \\ & 黄小雨 & (\url{nobel1984@gmail.com}) \\ \end{tabular*} @@ -157,6 +155,7 @@ \section{版本历史} \begin{description} + \item[2.0] 2010/04/20,使用xeCJK,避免字体安装。 \item[1.3] 2009/02/19,增加A3封面制作工具,优化版式。 \item[1.2] 2008/08/12,启用研究生学位论文新封面,完善对东南大学本科论文的支持。 \item[1.1] 2008/05/16,增加对东南大学本科论文的支持。 @@ -184,8 +183,8 @@ 将宏包中的文件与~\TeX{}~主文件放在同一目录下即可,当然也可以安装 到~\TeX{}~系统中,不过需要注意是参考文献样式文件 \texttt{.bst} 必须置于 \texttt{TEXMF/bibtex/bst}目录或子目录下。 - 本模板在~\texttt{texlive2008}~和~\texttt{MiKTex2.7}~下编译通过。如有您在使用中有 - 任何问题,欢迎与我联系。 + 本模板在~\texttt{texlive2009}~和~\texttt{MiKTex2.7}~下使用 XeLaTeX 编译通过。如有 + 您在使用中有任何问题,欢迎与我联系。 \chapter{使用说明} \begin{quote} @@ -227,20 +226,12 @@ \section{例子} 也许一个例子更能说清楚,下面就是使用本宏包的简要例子。 这个例子就是宏包中的~\texttt{sample.tex}~文件,可以使用~\texttt{make - sample}~命令来编译这个例子。 + sample}~或者~\texttt{xelatex sample}~命令来编译这个例子。 \verbatiminput{sample} \section{选项} \label{sec:use:opt} - \subsection{编码选项} - \newcommand{\OPTunicode}{\IndexOpt{unicode}} - \newcommand{\OPTgbk}{\IndexOpt{gbk}} - \begin{description} - \item[\OPTunicode] (默认)使用~UNICODE~编码; - \item[\OPTgbk] 使用~GBK~编码。 - \end{description} - \subsection{学位选项} \newcommand{\OPTbachelor}{\IndexOpt{bachelor}} \newcommand{\OPTmaster}{\IndexOpt{master}} @@ -518,7 +509,7 @@ \begin{flushright} \kai - \makebox[6cm][c]{许~元}\\ + \makebox[6cm][c]{许\quad{}元}\\ 2008年3月19日于东南大学河海院 \end{flushright} \end{Thanks} @@ -526,6 +517,24 @@ \bibliography{seuthesis} \begin{Appendix} + \chapter{常见问题} + + \section{为什么我的 sample.tex 之类的文件打开是乱码?} + + seuthesis 默认为 utf-8 编码。如果您是 windows用户,推荐您也使 + 用 utf-8 编码您的论文,这样做会减少很多问题。 + + \section{在使用seuthesis写论文时,当论文中出现中英文摘要、列出所有图 + 表(\texttt{\textbackslash{}listoftables}、 + \texttt{\textbackslash{}listoffigures}、 + \texttt{\textbackslash{}listoflistings})时出现一些空白页,即使第二 + 页没有内容仍然会产生出来,这样很影响美观。} + + 其实这个不是问题,空白页是因为模板默认为双面打印,插入空白页保证每一 + 章的第一页在奇数页,这样设计是为了美观。如果想去掉加参数就可以 + 了 \texttt{\textbackslash{}documentclass[oneside]{seuthesis}}。 使用 + 时,可以编译一个“电子版” 一个“打印版”。 + \chapter{文件} \begin{itemize} \item 源文件: @@ -549,6 +558,7 @@ \end{itemize} \end{Appendix} +\renewcommand\indexname{索引} \printindex \backcover @@ -557,25 +567,16 @@ %</driver> % %<cls> \NeedsTeXFormat{LaTeX2e}[1999/12/01] -%<cls> \ProvidesClass{seuthesis}[2009/2/19 1.3.0 The LaTeX template for thesis of Southeast University] -%<cls> \typeout{Document Class `seuthesis' v1.3 by Xu Yuan, Song Yihan, Huang Xiaoyu (2009/2/19)} +%<cls> \ProvidesClass{seuthesis}[2010/04/20 2.0.0 The LaTeX template for thesis of Southeast University] +%<cls> \typeout{Document Class `seuthesis' v2.0.0 by Xu Yuan, Song Yihan, Huang Xiaoyu (2010/04/20)} % \fi % % \section{本宏包的选项} -% \begin{macro}{unicode/gbk} -% 默认使用\OPTunicode编码,\OPTgbk作为可选项 -% \begin{macrocode} -%<*cls> -\newif\ifseuunicode\seuunicodetrue -\DeclareOption{gbk}{\seuunicodefalse} -\DeclareOption{unicode}{\seuunicodetrue} -% \end{macrocode} -% \end{macro} -% % \begin{macro}{bachelor/master/doctor} % 默认为申请硕士学位(\OPTmaster),博士(\OPTdoctor)、本科学 % 位(\OPTbachelor)、工程硕士(\OPTengineering)作为可选项。 % \begin{macrocode} +%<*cls> \newif\ifbachelordegree\bachelordegreefalse \newif\ifmasterdegree\masterdegreetrue \newif\ifengineering\engineeringfalse @@ -605,6 +606,16 @@ \DeclareOption{printedition}{\doublecovertrue\nocolorlinkstrue} % \end{macrocode} % \end{macro} +% \begin{macro}{printoneside} +% 单面打印。注意不要使用标准的 \emph{oneside} 选项。 +% \begin{macrocode} +\newif\ifstoneside\stonesidefalse +\DeclareOption{printoneside}{% + \PassOptionsToClass{openany}{scrbook} + \stonesidetrue +} +% \end{macrocode} +% \end{macro} % 将选项传递给\emph{scrbook}类。 % \begin{macrocode} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}} @@ -616,11 +627,10 @@ % \section{依赖的其它宏包} % \begin{macrocode} \RequirePackage{doc} +\RequirePackage{keyval} \RequirePackage{ifpdf} \RequirePackage{ifthen} -\ifpdf -\RequirePackage{ccmap} % 当使用pdflatex编译时生成可拷贝的pdf -\else\fi + \RequirePackage{graphicx} \RequirePackage[dvipsnames]{xcolor} \RequirePackage{indentfirst} @@ -640,20 +650,22 @@ \setdefaultenum{1)}{a)}{i.}{A.}% 设置列表模式 \setdefaultleftmargin{4ex}{}{}{}{}{} % \end{macrocode} -% -% \subsection{编码} -% 选择\OPTgbk编码还是\OPTunicode编码 +% % \begin{macrocode} -\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!}}% @@ -661,20 +673,7 @@ \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} % \end{macrocode} % @@ -698,12 +697,16 @@ % % \subsection{字体} % \begin{macrocode} -\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 % \end{macrocode} % \subsection{字号及间距} % \begin{macrocode} @@ -732,6 +735,17 @@ \newcommand{\linespacing}[1]{\linespread{#1}\selectfont}% 行距命令 % \end{macrocode} % \end{macro} +% \begin{macro}{\stcleardp}\IndexCmd{stcleardp} +% \begin{macrocode} +\newcommand{\stcleardp}{% + \ifstoneside + \clearpage + \else + \cleardoublepage + \fi +} +% \end{macrocode} +% \end{macro} % % \subsection{超文本格式} % \begin{macrocode} @@ -759,20 +773,20 @@ % \end{quote} % \begin{macrocode} \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 } @@ -978,7 +992,7 @@ \pagestyle{empty} \ifdoublecover - \cleardoublepage + \stcleardp \else\fi \chinesecover @@ -986,7 +1000,7 @@ \frontmatter \else \ifdoublecover - \cleardoublepage + \stcleardp \else\fi \englishcover % 英文封面 \frontmatter % 开始正文之前的部分 @@ -1227,7 +1241,7 @@ { \newcommand{\@keywords}{#1} \hypersetup{pdfkeywords={\@keywords}} - \cleardoublepage + \stcleardp \phantomsection \addcontentsline{toc}{chapter}{\@abstracttitletoc} \ifbachelordegree @@ -1267,7 +1281,7 @@ \newenvironment{englishabstract}[1] { \newcommand{\@keywords}{#1} - \cleardoublepage + \stcleardp \phantomsection \addcontentsline{toc}{chapter}{Abstract} \ifbachelordegree @@ -1306,7 +1320,7 @@ % \begin{macrocode} \newenvironment{terminology}[1][\@terminologytitle] { - \cleardoublepage + \stcleardp \phantomsection \addcontentsline{toc}{chapter}{#1} \chapter*{#1} @@ -1322,7 +1336,7 @@ % \begin{macrocode} \newenvironment{Main} { - \cleardoublepage + \stcleardp {\linespacing{1.15}% \song\xiaosihao% \phantomsection @@ -1387,7 +1401,7 @@ % \begin{macrocode} \newenvironment{Thanks}[1][\@thankstitle] {% - \cleardoublepage + \stcleardp \phantomsection \addcontentsline{toc}{chapter}{\@thankstitletoc} \chapter*{#1} @@ -1416,7 +1430,7 @@ % \begin{macrocode} \newenvironment{Resume}[1][\@resumetitle] {% - \cleardoublepage + \stcleardp \phantomsection \addcontentsline{toc}{chapter}{\@resumetitletoc} \chapter*{#1} @@ -1468,7 +1482,7 @@ \newcommand{\@authorizeorganization}{~~东~南~大~学~~} \newcommand{\authorizedatepre}{学位授予日期} \newcommand{\committeechairpre}{答辩委员会主席} -\newcommand{\readerpre}{评~~~~~~~~~阅~~~~~~~~~人} +\newcommand{\readerpre}{评~~~~~~~阅~~~~~~~人} \newcommand{\@abstracttitle}{摘\quad 要} \newcommand{\@abstracttitletoc}{摘要} \newcommand{\@terminologytitle}{本论文专用术语的注释表} @@ -1499,7 +1513,7 @@ \newcommand{\academicdegreeeng}{Doctor of Engineering}\relax \fi \fi -\newcommand{\@academicdegree}{\@degree学位论文} +\newcommand{\@academicdegree}{\@degree{}学位论文} \makeatother % \end{macrocode} % @@ -1520,12 +1534,11 @@ {\hei\sanhao 东南大学学位论文独创性声明} \end{center} - {\CJKindent 本人声明所呈交的学位论文是我个人在导师指导下 - 进行的研究工作及取得的研究成果。尽我所知,除了文中特别加以标注和致 - 谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含 - 为获得东南大学或其它教育机构的学位或证书而使用过的材料。与我一同工 - 作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示了谢 - 意。\par} + { 本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的 + 研究成果。尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包 + 含其他人已经发表或撰写过的研究成果,也不包含为获得东南大学或其它教 + 育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的 + 任何贡献均已在论文中作了明确的说明并表示了谢意。\par} \begin{flushright} 研究生签名:\signline 日~期:\signline @@ -1537,12 +1550,11 @@ {\hei\sanhao 东南大学学位论文使用授权声明} \end{center} - {\CJKindent 东南大学、中国科学技术信息研究所、国家图书馆 - 有权保留本人所送交学位论文的复印件和电子文档,可以采用影印、缩印或 - 其他复制手段保存论文。本人电子文档的内容和纸质论文的内容相一致。除 - 在保密期内的保密论文外,允许论文被查阅和借阅,可以公布(包括刊 - 登)论文的全部或部分内容。论文的公布(包括刊登)授权东南大学研究生 - 院办理。\par} + { 东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位 + 论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。 + 本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文 + 外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。 + 论文的公布(包括刊登)授权东南大学研究生院办理。\par} \begin{flushright} 研究生签名:\signline 导师签名:\signline 日~期:\signline 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 ʽѧλҸڵʦָ - еоȡõоɹ֪رԱע - лĵط⣬вѾдоɹҲ - Ϊöϴѧѧλ֤ʹùIJϡһͬ - ͬ־Աоκιȷ˵ʾл - ⡣\par} + { ʽѧλҸڵʦָ½еоȡõ + оɹ֪رԱעлĵط⣬в + ѾдоɹҲΪöϴѧ + ѧλ֤ʹùIJϡһͬͬ־Աо + κιȷ˵ʾл⡣\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 东南大学学位论文独创性声明} \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.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} % 当使用pdflatex编译时生成可拷贝的pdf -\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} diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 57d831b22f7..751497beab0 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1414,6 +1414,7 @@ $standardinsrunner="latex -interaction=nonstopmode"; 'apprends-latex' => 'NULL', # doc 'bigints' => 'NULL', # doc 'mpman-ru' => 'NULL', # doc + 'seuthesis', => 'NULL', # doc 'tkz-tab', => 'NULL', # doc ); $standardmakeindex='\.ist'; |