调整缩进,封面夹缝标题带英文

封面夹缝标题带英文

封面夹缝标题带英文
This commit is contained in:
DansYU 2019-06-25 22:51:26 +08:00 committed by Deans Yu
parent e8874343ce
commit 0529b0908f
3 changed files with 498 additions and 443 deletions

View File

@ -36,6 +36,15 @@
location = {南京},
}
```
* 封皮夹缝中文标题带英文
> 夹缝标题中文标题有英文需要对英文进行旋转,使用 *\rotatebox{270}* **注意** ' \rotatebox{270}{GNSS} ' 前后要加空格
```tex
\title{灵犀一指GNSS心法}{灵犀一指 \rotatebox{270}{GNSS} 心法}{灵犀一指}{灵犀一指}{The theory of powerful fingers}{powerful fingers}
```
> 封皮夹缝中文标题仅有中问不需旋转
```tex
\title{灵犀一指心法}{灵犀一指心法}{灵犀一指}{灵犀一指}{The theory of powerful fingers}{powerful fingers}
```
## 编译方式

View File

@ -3,7 +3,7 @@
\UDC{000} %《国际十进分类法UDC》的类号
\secretlevel{公开} %学位论文密级分为"公开"、"内部"、"秘密"和"机密"四种
\studentid{130623} %学号要完整,前面的零不能省略。
\title{灵犀一指心法}{灵犀一指}{The theory of powerful fingers}{powerful fingers}
\title{灵犀一指GNSS心法}{灵犀一指 \rotatebox{270}{GNSS} 心法}{灵犀一指}{灵犀一指}{The theory of powerful fingers}{powerful fingers}
\author{陆小凤}{Phoenix Land, Jr.}
\advisor{夜帝}{教授}{King Night}{Prof.}
\coadvisor{楚留香}{副教授}{Perfume Tsu}{Associate Prof.} % 没有% 可以不填

View File

@ -3,7 +3,6 @@
%% This file provides a LaTeX document class for typesetting thesis of Southeast University, Nanjing, China.
%% Copyright (c) 2007--2012 Xu Yuan, email: xuyuan.cn@gmail.com
%% Copyright (c) 2016 James Fan, email: zhimengfan1990@163.com
%% Copyright (c) 2019 Deans Yu
%% License: GNU General Public License, version 3
%% This file is part of ``seuthesix'' package.
%% ``seuthesix'' is free software: you can redistribute it and/or modify
@ -66,19 +65,19 @@ Document Class `seuthesiY' 1.0.2 by Deans Yu (2019/06/23)}
\newcommand{\qihao}{\fontsize{5.5bp}{6.5bp}\selectfont}
\setCJKmainfont{SimSun}
\ctexset{%
chapter/format=\centering,
chapter/nameformat=\large\heiti,
chapter/numberformat=\large\heiti,
chapter/titleformat=\large\heiti,
chapter/beforeskip=0pt,
section/format=\raggedright,
section/nameformat={\large\bfseries},
section/numberformat={\large\bfseries},
section/titleformat={\sihao\bfseries},
subsection/format=\sihao\mdseries\raggedright,
subsubsection/format=\sihao\mdseries\raggedright,
listfigurename={},
listtablename={}
chapter/format=\centering,
chapter/nameformat=\large\heiti,
chapter/numberformat=\large\heiti,
chapter/titleformat=\large\heiti,
chapter/beforeskip=0pt,
section/format=\raggedright,
section/nameformat={\large\bfseries},
section/numberformat={\large\bfseries},
section/titleformat={\sihao\bfseries},
subsection/format=\sihao\mdseries\raggedright,
subsubsection/format=\sihao\mdseries\raggedright,
listfigurename={},
listtablename={}
}
\RequirePackage[font=small]{caption}
%\RequirePackage{mathptmx}
@ -135,25 +134,25 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\clearpage\thispagestyle{empty} %backcover always at even page.
\begin{picture}(0,0)
\put(-1,-22){ %
\includegraphics[width=\textwidth]{figures/back-cover.png}}
\end{picture}
\includegraphics[width=\textwidth]{figures/back-cover.png}}
\end{picture}
}
\RequirePackage[top=1.2in,bottom=1in,left=2.5cm,right=2.5cm,a4paper]{geometry}
\RequirePackage{fancyhdr}
\fancypagestyle{seustyle}{%
\fancyhf{}
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype}
\fancyhead[CE]{ \xiaowuhao\leftmark}
\fancyfoot[CO,CE]{\thepage}
\fancyhf{}
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype}
\fancyhead[CE]{ \xiaowuhao\leftmark}
\fancyfoot[CO,CE]{\thepage}
}
\pagestyle{seustyle}
\fancypagestyle{nom}{%
\fancyhf{}
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype}
\fancyhead[CE]{ \xiaowuhao\nomname}
\fancyfoot[CO,CE]{\thepage}
\fancyhf{}
\fancyhead[CO]{\xiaowuhao\universityname{}\@thesistype}
\fancyhead[CE]{ \xiaowuhao\nomname}
\fancyfoot[CO,CE]{\thepage}
}
\renewcommand{\headrulewidth}{0.4pt}
@ -162,14 +161,22 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\def\@author{#1}
\newcommand{\@authoreng}{#2}
}
%===============================================================================
%==================================================================
\newcommand{\@titleeng}{}
\newcommand{\@subtitleeng}{}
\renewcommand{\title}[4]{
\newcommand{\@titlev}{} %
\newcommand{\@subtitlev}{} %
\renewcommand{\title}[6]{
\def\@title{#1}
\newcommand{\@subtitle}{#2}
\renewcommand{\@titleeng}{#3}
\renewcommand{\@subtitleeng}{#4}
\renewcommand{\@titlev}{#2}
\newcommand{\@subtitle}{#3}
\renewcommand{\@subtitlev}{#4}
\renewcommand{\@titleeng}{#5}
\renewcommand{\@subtitleeng}{#6}
}
%===============================================================================
\newcommand{\@advisorname}{}
\newcommand{\@advisortitle}{}
\newcommand{\@advisornameeng}{}
@ -248,26 +255,31 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\newcommand\seuthesisthanks[1]{\renewcommand\@seuthesisthanks{#1}\thankstrue}
\newcommand\@thesisthanks{\ifthanks\thispagestyle{thanksstyle}\fi}
\fancypagestyle{thanksstyle}{%
\fancyhf{}
\fancyfoot[L]{\setlength{\baselineskip}{0pt}%
\rule[-2.5pt]{6cm}{.4pt}\\ \small\@seuthesisthanks}
\renewcommand\headrulewidth{0pt}
\fancyhf{}
\fancyfoot[L]{\setlength{\baselineskip}{0pt}%
\rule[-2.5pt]{6cm}{.4pt}\\ \small\@seuthesisthanks}
\renewcommand\headrulewidth{0pt}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%===============================================================================
%================================== ===================================
\newcommand\makebigcover{%generating a3 front cover
\pdfpagewidth=420mm
\pdfpageheight=297mm
\setlength{\paperheight}{297mm}
\setlength{\paperwidth}{420mm}
\thispagestyle{empty}
\pdfpagewidth=420mm
\pdfpageheight=297mm
\setlength{\paperheight}{297mm}
\setlength{\paperwidth}{420mm}
\thispagestyle{empty}
\setlength{\unitlength}{1cm}
\noindent
\begin{picture}(0,0)
\setlength{\unitlength}{1cm}\put(19.5,-8){%
\includegraphics[width=19cm]{figures/front-cover.jpg}}%
\end{picture}
\begin{picture}(0,0)
\put(19.5,0){
\renewcommand{\arraystretch}{1.0}
\setlength{\unitlength}{1cm}\put(19.5,-8){%
\includegraphics[width=19cm]{figures/front-cover.jpg}}%
\end{picture}
\begin{picture}(0,0)
\put(19.5,0){
\renewcommand{\arraystretch}{1.0}
\begin{tabular}{l}
\CoverTopOption{\schoolcodepre}{\schoolcode} \\
\CoverTopOption{\categorynumberpre}{\@categorynumber} \\
@ -276,22 +288,23 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\CoverTopOption{\studentidpre}{\@studentid}
\end{tabular}
}
\end{picture}
\end{picture}
\ifengineering
\begin{picture}(0,0)
\begin{picture}(0,0)
\put(23.2,-7.5){ %
\includegraphics[scale=0.65]{figures/engineering.png}}
\end{picture}
\includegraphics[scale=0.65]{figures/engineering.png}}
\end{picture}
\else \ifmasters
\begin{picture}(0,0)
\begin{picture}(0,0)
\put(24.5,-7.5){ %
\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}
\end{picture}
\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}
\end{picture}
\else \ifphd
\begin{picture}(0,0)
\begin{picture}(0,0)
\put(24.5,-7.5){ %
\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}
\end{picture}
\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}
\end{picture}
\else
\ClassError{seuthesix}{invalid degree type option.}%
{Check your class option of degree type to be one of the following:%
@ -299,43 +312,47 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\fi
\fi
\fi
\begin{picture}(0,0)
\put(35,0){ %
\includegraphics[width=2cm]{figures/seu-color-logo.png}}
\end{picture}
\begin{picture}(0,0)
\includegraphics[width=2cm]{figures/seu-color-logo.png}}
\end{picture}
\begin{picture}(0,0)
\put(-1,-22){ %
\includegraphics[width=\textwidth]{figures/back-cover.png}}
\end{picture}
\begin{picture}(0,0)
\put(18,-11){%
\parbox[c]{\ccwd}{%
\bfseries%
\setlength{\baselineskip}{0pt}
\@title\\
\rule{0pt}{\ccwd}\\
\@subtitle\\
\vspace*{2cm}
\@author\\
\vspace*{2cm}
\universityname
}
}
\end{picture}
\includegraphics[width=\textwidth]{figures/back-cover.png}}
\end{picture}
%===========================================================================
%==============================================================
\begin{picture}(0,0)
\put(18,-11){%
\parbox[c]{\ccwd}{%
\bfseries%
\setlength{\baselineskip}{0pt}
\@titlev\\
\rule{0pt}{\ccwd}\\
\@subtitlev\\
\vspace*{2cm}
\@author\\
\vspace*{2cm}
\universityname
}
}
\end{picture}
%===========================================================================
\vspace*{8cm}
\vspace*{8cm}
\hspace*{20.5cm}
\begin{minipage}{16cm}
\hspace*{20.5cm}
\begin{minipage}{16cm}
\begin{center}
\linespread{1.25}
\yihao\heiti\@title\\
\yihao\heiti\@subtitle
\end{center}
\end{minipage}
\end{minipage}
\hspace*{20.5cm}
\begin{minipage}{16cm}
\hspace*{20.5cm}
\begin{minipage}{16cm}
\begin{center}
\setlength{\tabcolsep}{0pt}
\renewcommand{\arraystretch}{2.0}
@ -385,13 +402,18 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\vfill
\hspace*{20.5cm}
{\songti\sihao\centerline{\today} \par}
\eject
\pdfpagewidth=210mm
\pdfpageheight=297mm
\setlength{\paperheight}{297mm}
\setlength{\paperwidth}{210mm}
{\songti\sihao\centerline{\today} \par}
\eject
\pdfpagewidth=210mm
\pdfpageheight=297mm
\setlength{\paperheight}{297mm}
\setlength{\paperwidth}{210mm}
}
%===============================================================================
%===============================================================================
%================================== ==================================
\newcommand{\makechinesecover}{
\hypersetup{
@ -401,9 +423,10 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
pdfcreator={xetex}
}
\thispagestyle{empty}
\AddToShipoutPictureFG*{\setlength{\unitlength}{1cm}\put(1,26){%
\renewcommand{\arraystretch}{1.0}
\thispagestyle{empty}
\AddToShipoutPictureFG*{
\setlength{\unitlength}{1cm}\put(1,26){%
\renewcommand{\arraystretch}{1.0}
\begin{tabular}{l}
\CoverTopOption{\schoolcodepre}{\schoolcode} \\
\CoverTopOption{\categorynumberpre}{\@categorynumber} \\
@ -411,21 +434,21 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\CoverTopOption{U D C}{\@UDC} \\
\CoverTopOption{\studentidpre}{\@studentid}
\end{tabular}
}
}
}
}
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,23){%
\parbox{\paperwidth}{\centering\includegraphics[width=\paperwidth]{figures/front-cover.jpg}}}}%
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,23){%
\parbox{\paperwidth}{\centering\includegraphics[width=\paperwidth]{figures/front-cover.jpg}}}}%
\ifengineering
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
\parbox{\paperwidth}{\centering\includegraphics[scale=0.65]{figures/engineering.png}}}}%
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
\parbox{\paperwidth}{\centering\includegraphics[scale=0.65]{figures/engineering.png}}}}%
\else \ifmasters
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
\parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}}}%
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
\parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/master-hwzs.pdf}}}}%
\else \ifphd
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ %
\parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}}}%
\parbox{\paperwidth}{\centering\includegraphics[scale=1.1]{figures/doctor-hwzs.pdf}}}}%
\else
\ClassError{seuthesix}{invalid degree type option.}%
{Check your class option of degree type to be one of the following:%
@ -433,8 +456,10 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\fi
\fi
\fi
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){%
\parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}%
\AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){%
\parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}%
\vspace*{8cm}
@ -488,7 +513,7 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\vfill
\setcounter{page}{1}
{\songti\sihao\centerline{\today} \par}
{\songti\sihao\centerline{\today} \par}
\clearpage\thispagestyle{empty}\cleardoublepage%
\thispagestyle{empty}
@ -522,7 +547,7 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre: } &
\underline{\makebox[6cm][s]{
\xiaoerhao\songti\textbf{\@advisorname\quad\@advisortitle} }}
\\
\\
&
\ifcoadvisor
\underline{\makebox[6cm][s]{
@ -533,10 +558,13 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
}
\end{center}
}
%===============================================================================
%===============================================================================
%================================== ==================================
\newcommand{\makeenglishcover}{%
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{empty}
\begin{center}
\begin{center}
~\\
{\fontsize{24pt}{28pt}\selectfont
\MakeUppercase{\@titleeng}\\
@ -574,18 +602,24 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
}%
\end{center}%
}
}
%===============================================================================
\newcommand\makecover{%
\newcommand\makecover{%
\makechinesecover
\makeenglishcover
\seudeclare
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%===============================================================================
%================================ ==================================
\renewenvironment{abstract}[1]
{
\pagenumbering{Roman}
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain}
\pagenumbering{Roman}
\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain}
\newcommand{\@keywords}{#1}
\hypersetup{pdfkeywords={\@keywords}}
\phantomsection
@ -599,22 +633,26 @@ gbpub=false,gbnamefmt=lowercase,gbbiblabel=dot,]{biblatex}
\item[] \@keywords
\end{description}
}
%===============================================================================
%===============================================================================
%================================ ==================================
\newenvironment{englishabstract}[1]
{
\cleardoublepage\thispagestyle{plain}
\cleardoublepage\thispagestyle{plain}
\newcommand{\@keywords}{#1}
\phantomsection
\addcontentsline{toc}{chapter}{Abstract}
\ctexset{%
chapter/nameformat=\large\bfseries,
chapter/titleformat=\large\bfseries
}
\ctexset{%
chapter/nameformat=\large\bfseries,
chapter/titleformat=\large\bfseries
}
\chapter*{Abstract}
\ctexset{%
chapter/nameformat=\large\heiti,
chapter/titleformat=\large\heiti
}
chapter/nameformat=\large\heiti,
chapter/titleformat=\large\heiti
}
}
{
\par
@ -622,50 +660,56 @@ chapter/titleformat=\large\heiti
\item[Keywords:] \@keywords
\end{description}
}
%===============================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand\listofothers{%
\iffigurelist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\fi
\iffigurelist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\fi
\iftablelist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\fi
\iftablelist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\fi
\ifalgorithmlist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listalgorithmname}
\listofalgorithms
\fi
\ifalgorithmlist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listalgorithmname}
\listofalgorithms
\fi
\ifnomlist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\nomname}
\pagestyle{nom}
\printnomenclature[1in]
\fi
\ifnomlist
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\nomname}
\pagestyle{nom}
\printnomenclature[1in]
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\mainmatter}{%
\cleardoublepage
\pagenumbering{arabic}
\pagestyle{seustyle}
\cleardoublepage
\pagenumbering{arabic}
\pagestyle{seustyle}
}
\newcommand{\acknowledgement}{%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{ }
\chapter*{ }
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{ }
\chapter*{ }
}
% \newcommand{\thesisbib}[1]{%
@ -677,17 +721,17 @@ chapter/titleformat=\large\heiti
% }
%=========================================================
\newcommand{\thesisbib}{%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\printbibliography
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\printbibliography
}
%==========================================================
\newcommand{\resume}[1]{%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{#1}
\chapter*{#1}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{#1}
\chapter*{#1}
}
\newcommand{\seuthesix}{%
@ -699,4 +743,6 @@ chapter/titleformat=\large\heiti
\textsc{Thesis}}
}
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% End of file `seuthesix.cls'.