Skip to content

Commit

Permalink
Refactor title page
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexaraWu committed Jul 31, 2020
1 parent a33b4e3 commit 513dfa0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
16 changes: 8 additions & 8 deletions texmf/tex/latex/sjtuthesis/sjtuthesis-graduate.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,13 @@
\def\sjtu@info@fund{\zihao{-5}\sjtu@clist@use{\sjtu@info@fund@zh}{\par}}
\thispagestyle{title}
\begin{center}
\vspace*{40pt}
{\zihao{-2}\sjtu@name@subject@zh}
\vspace*{28pt}
{\zihao{-2}\sjtu@name@subject@zh\par}
\vskip \stretch{4}
{\zihao{2}\heiti\sjtu@info@title@zh \vskip 1pt}
{\zihao{2}\heiti\sjtu@info@title@zh\par}
\vskip \stretch{5}
\begingroup
\zihao{4}
\def\tabcolsep{1pt}
\def\arraystretch{1.25}
\begin{tabular}
{>{\begin{CJKfilltwosides}[t]{6.5\ccwd}\heiti}r<{\end{CJKfilltwosides}}
Expand All @@ -133,6 +132,7 @@
\sjtu@date{\sjtu@date@format@zh}{\sjtu@info@date} \\
\sjtu@name@conferring@zh & \sjtu@name@school@zh \\
\end{tabular}
\par
\endgroup
\vskip 26pt
\end{center}
Expand All @@ -143,14 +143,13 @@
\thispagestyle{title}
\begin{center}
\vspace*{28pt}
{\zihao{-2}\sjtu@name@subject@en \vskip 1pt}
{\zihao{-2}\sjtu@name@subject@en\par}
\vskip \stretch{4}
{\zihao{2}\bfseries\MakeUppercase\sjtu@info@title@en \vskip 1pt}
{\zihao{2}\bfseries\MakeUppercase\sjtu@info@title@en\par}
\vskip \stretch{5}
\begingroup
\zihao{4}
\def\tabcolsep{1pt}
\def\arraystretch{1.3}
\def\arraystretch{1.25}
\begin{tabular}
{>{\bfseries}l<{:~}p{.45\textwidth}}
\sjtu@name@author@en & \sjtu@info@author@en \\
Expand All @@ -166,6 +165,7 @@
\sjtu@date{\sjtu@date@format@en}{\sjtu@info@date} \\
\sjtu@name@conferring@en & \sjtu@name@school@en \\
\end{tabular}
\par
\endgroup
\vskip 26pt
\end{center}
Expand Down
31 changes: 17 additions & 14 deletions texmf/tex/latex/sjtuthesis/sjtuthesis-undergraduate.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -116,30 +116,32 @@
\begin{center}
\kaishu
\vspace*{48pt}
\includegraphics[height=96pt]{sjtu-vi-name-\sjtu@style@title@logo@color.pdf}
\vskip 28pt
{\fontsize{32}{32}\sjtu@name@subject@zh}
\vskip 16pt
{\zihao{-2}\MakeUppercase\sjtu@name@subject@en}
\begingroup
\includegraphics[height=96pt]%
{sjtu-vi-name-\sjtu@style@title@logo@color.pdf}
\par
\endgroup
{\fontsize{32}{42}\selectfont\sjtu@name@subject@zh\par}
\vskip 6pt
{\zihao{-2}\MakeUppercase\sjtu@name@subject@en\par}
\vskip 16pt
\includegraphics[height=86pt]{sjtu-vi-badge-\sjtu@style@title@logo@color.pdf}
\begingroup
\includegraphics[height=86pt]%
{sjtu-vi-badge-\sjtu@style@title@logo@color.pdf}
\par
\endgroup
\vskip \stretch{2}
\begingroup
\zihao{2}
\begin{tabular}{r@{:}l}
论文题目 &
\begin{minipage}[t]{280pt}
\zihao{-2}
\begin{center}
\sjtu@uline\sjtu@info@title@zh
\end{center}
\end{minipage}
\parbox[t]{280pt}{\centering\zihao{-2}\sjtu@uline\sjtu@info@title@zh}
\end{tabular}
\par
\endgroup
\vskip \stretch{1}
\begingroup
\zihao{3}
\def\arraystretch{1.1}
\begin{tabular}
{>{\begin{CJKfilltwosides}{4.2\ccwd}}r<{\end{CJKfilltwosides}}@{:}c}
\sjtu@name@author@zh & \sjtu@info@author@zh \\\cline{2-2}
Expand All @@ -152,8 +154,9 @@
\sjtu@name@supervisor@zh & \sjtu@info@supervisor@zh \\\cline{2-2}
\sjtu@name@department@zh & \sjtu@info@department@zh \\\cline{2-2}
\end{tabular}
\par
\endgroup
\vskip 40pt
\vskip 32pt
\end{center}
}
\endinput
Expand Down

0 comments on commit 513dfa0

Please sign in to comment.