Skip to content

Commit

Permalink
fix bachelor thesis abstract font size bug
Browse files Browse the repository at this point in the history
  • Loading branch information
crh19970307 committed May 21, 2019
1 parent 0fd9c47 commit c2f4de7
Showing 1 changed file with 40 additions and 14 deletions.
54 changes: 40 additions & 14 deletions sjtuthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -852,27 +852,53 @@
\newenvironment{abstract}{%
\cleardoublepage
\pdfbookmark[0]{\sjtu@label@abstract}{abstract}
\chapter*{%
\sjtu@value@chinesetitle
\vskip 20pt
\sjtu@label@chineseabstract
}
\zihao{4} \markboth{\sjtu@label@chineseabstract}{}
\ifsjtu@bachelor
\chapter*{%
{\zihao{3} \sjtu@value@chinesetitle}
\vskip 20pt
{\zihao{4} \sjtu@label@chineseabstract}
}
\zihao{5} \markboth{\sjtu@label@chineseabstract}{}
\else
\chapter*{%
\sjtu@value@chinesetitle
\vskip 20pt
\sjtu@label@chineseabstract
}
\zihao{4} \markboth{\sjtu@label@chineseabstract}{}
\fi
}{
\vspace{2ex}\noindent
{\zihao{4} \textbf{\sjtu@label@keywords}{\sjtu@value@keywords}}
\ifsjtu@bachelor
{\zihao{-4} \textbf{\sjtu@label@keywords}}{\zihao{5}{\sjtu@value@keywords}}
\else
{\zihao{4} \textbf{\sjtu@label@keywords}{\sjtu@value@keywords}}
\fi
}
\newenvironment{englishabstract}{%
\cleardoublepage
\chapter*{%
\MakeUppercase\sjtu@value@englishtitle
\vskip 20pt
\MakeUppercase\sjtu@label@englishabstract
}
\zihao{4} \markboth{\sjtu@label@englishabstract}{}
\ifsjtu@bachelor
\chapter*{%
{\zihao{3} \MakeUppercase\sjtu@value@englishtitle}
\vskip 20pt
{\zihao{4} \MakeUppercase\sjtu@label@englishabstract}
}
\zihao{5} \markboth{\sjtu@label@englishabstract}{}
\else
\chapter*{%
\MakeUppercase\sjtu@value@englishtitle
\vskip 20pt
\MakeUppercase\sjtu@label@englishabstract
}
\zihao{4} \markboth{\sjtu@label@englishabstract}{}
\fi
}{
\vspace{2ex}\noindent
{\zihao{4} \textbf{\sjtu@label@englishkeywords}{\sjtu@value@englishkeywords}}
\ifsjtu@bachelor
{\zihao{-4} \textbf{\sjtu@label@englishkeywords}}{\zihao{5} \sjtu@value@englishkeywords}
\else
{\zihao{4} \textbf{\sjtu@label@englishkeywords}{\sjtu@value@englishkeywords}}
\fi
}

% 主要符号对照表
Expand Down

0 comments on commit c2f4de7

Please sign in to comment.