Skip to content

Commit

Permalink
fix(PT): cover fix #144
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Jun 7, 2022
1 parent bb7d3c9 commit df76cba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
6 changes: 4 additions & 2 deletions templates/paper-translation/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
% 从原有主题继承自定义主题
\fancypagestyle{BIThesisCustom}[BIThesis]{
% 定义页眉、页码
\fancyhead[C]{\zihao{4}\ziju{0.08}\songti{北京理工大学本科生毕业设计(论文)外文翻译覆盖}}
\fancyhead[C]{\zihao{4}\ziju{0.08}\songti{北京理工大学本科生毕业设计(论文)外文翻译}}
}
% 设置章节格式
\ctexset{chapter={
Expand All @@ -52,8 +52,10 @@
\addbibresource{misc/ref.bib}

% 在这里填写你的外文翻译中英文题目
\newcommand{\paperTransOriginTitle}{\strut{}填写你的外文翻译原英文题目\\文本超过一行请换行}
\newcommand{\paperTransOriginTitle}{填写你的外文翻译原英文题目}
\newcommand{\paperTransOriginTitleExtra}{文本超过一行请换行}
\newcommand{\paperTransTitle}{填写你的外文翻译中文题目}
% \newcommand{\paperTransTitleExtra}{文本超过一行请换行}

% 在这里填写你的论文中英文题目
\newcommand{\thesisTitle}{北京理工大学本科生毕业设计(论文)题目}
Expand Down
15 changes: 10 additions & 5 deletions templates/paper-translation/misc/0_cover.tex
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,26 @@

\zihao{2}\textbf{\songti{本科生毕业设计(论文)外文翻译}}

\vspace{7mm}
\vspace{8mm}

{

\flushleft
\begin{spacing}{1.8}
\hspace{7mm}\songti\zihao{-3}\selectfont{{\zihao{4}\textbf{\parbox[b]{5em}{\flushright 外文原文题\\目:\hspace{1em}}}}\dunderline[-10pt]{1pt}{\makebox[118mm][c]{\strut{}\shortstack{\paperTransOriginTitle}}}}

\hspace{7mm}\songti\zihao{-3}\selectfont{{\zihao{4}\textbf{\parbox[b]{5em}{\flushright 中文翻译题\\目:\hspace{1em}}}}\dunderline[-10pt]{1pt}{\makebox[118mm][c]{\strut{}\shortstack{\paperTransTitle}}}}
\songti\zihao{-3}\selectfont{{\zihao{4}\textbf{\parbox[b]{7em}{\flushright 外文原文题目:\hspace{1em}}}}\dunderline[-10pt]{1pt}{\makebox[118mm][c]{\strut{}\shortstack{\paperTransOriginTitle}}}}
\ifdefined\paperTransOriginTitleExtra
\songti\zihao{-3}\selectfont{{\zihao{4}\textbf{\parbox[b]{7em}{\flushright \hspace{1em}}}}\dunderline[-10pt]{1pt}{\makebox[118mm][c]{\strut{}\shortstack{\paperTransOriginTitleExtra}}}}
\fi
\songti\zihao{-3}\selectfont{{\zihao{4}\textbf{\parbox[b]{7em}{\flushright 中文翻译题目:\hspace{1em}}}}\dunderline[-10pt]{1pt}{\makebox[118mm][c]{\strut{}\shortstack{\paperTransTitle}}}}
\ifdefined\paperTransTitleExtra
\songti\zihao{-3}\selectfont{{\zihao{4}\textbf{\parbox[b]{7em}{\flushright \hspace{1em}}}}\dunderline[-10pt]{1pt}{\makebox[118mm][c]{\strut{}\shortstack{\paperTransTitleExtra}}}}
\fi

\end{spacing}

}

\vspace{12mm}
\vspace{14mm}

\zihao{2}\textbf{\xihei\thesisTitle}

Expand Down

0 comments on commit df76cba

Please sign in to comment.