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/texmf-dist/doc/latex/seuthesis | |
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/texmf-dist/doc/latex/seuthesis')
15 files changed, 349 insertions, 225 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 |