Commit aa21da2f authored by liziwl's avatar liziwl
Browse files

重新定义副标题,并配置副标题格式

parent b51dddb8
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
\thusetup{
  %******************************
  % 注意:
  %   1. 配置里面不要出现空行
  %   1. 配置里面不要出现**空行**
  %   2. 不需要的配置信息可以删除
  %   3. 建议先阅读文档中所有关于选项的说明
  %******************************
@@ -17,11 +17,12 @@
  %
  % 标题
  %   可使用“\\”命令手动控制换行
  %   如果需要使用副标题,自行添加 “\\{\Large 可选的副标题}” 或者 “\\{\Large optional subtitle}”,
  %   如不需要,直接删除上述引号内的部分即可(\color{gray} 仅作展示用,使用时请删去)。
  %   如果需要使用副标题,取消 subtitle 和 subtitle* 的注释即可(\color{gray} 仅作展示用,使用时请删去)。
  %
  title  = {南方科技大学学位论文 \LaTeX{} 模板 (Support English) 使用示例文档 v\version},
  title* = {An Introduction to \LaTeX{} Thesis Template of Southern University of Science and Technology v\version},
  % subtitle = {\color{gray} 可选的副标题可选的副标题可选的副标题可选的副标题可选的副标题可选的副标题},
  % subtitle* = {\color{gray} optional subtitle optional subtitle optional subtitle optional subtitle optional subtitle optional subtitle},
  %
  % 学位
  %   1. 学术型
+31 −0
Original line number Diff line number Diff line
@@ -1469,6 +1469,13 @@
    default = {Title},
    name    = title@en,
  },
  subtitle = {
    default = {},
  },
  subtitle* = {
    default = {},
    name    = subtitle@en,
  },
  author = {
    default = {姓名},
  },
@@ -1663,11 +1670,23 @@
    \vspace{2cm}

    % 24 bp*1.3默认行距比例*1.25行距 = 39
    % 20 bp*1.3默认行距比例*1.25行距 = 32.5
    {\fontsize{24bp}{39bp} \rmfamily \siyuanheiti \thu@title \\}
    \ifx\thu@subtitle\empty
      \relax%
    \else
      {\fontsize{20bp}{32.5bp} \rmfamily \siyuanheiti \thu@subtitle \\}
    \fi
    \vspace{1em}

    % 18 bp*1.3默认行距比例*1.25行距 = 29.25
    % 16 bp*1.3默认行距比例*1.25行距 = 26
    {\fontsize{18bp}{29.25bp}\selectfont \textbf{\thu@title@en \\} }
    \ifx\thu@subtitle@en\empty
      \relax%
    \else
      {\fontsize{16bp}{26bp}\selectfont \textbf{\thu@subtitle@en \\} }
    \fi
    \vfill

      {\fontsize{18bp}{23.4bp} \siyuansongti@en \siyuansongti %
@@ -1775,7 +1794,13 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%

    \vspace{1.5cm}
    % 24 bp*1.3默认行距比例*1.25行距 = 39
    % 18 bp*1.3默认行距比例*1.25行距 = 29.25
    {\fontsize{24bp}{39bp}\selectfont \heiti \thu@title \\}
    \ifx\thu@subtitle\empty
      \relax%
    \else
      {\fontsize{18bp}{29.25bp}\selectfont \heiti \thu@subtitle \\}
    \fi

    \vfill
      {\sihao%
@@ -1828,7 +1853,13 @@ Thesis for the degree of \degree@level@en@noun \ of \thu@degree@domain@en%
    \parbox[t]{30em}{
      \centering
      % 24 bp*1.15默认行距比例*1.25行距 = 34.5
      % 18 bp*1.15默认行距比例*1.25行距 = 25.875
      {\fontsize{24bp}{34.5bp}\selectfont \textbf{\thu@title@en \\}}
      \ifx\thu@subtitle@en\empty
        \relax%
      \else
        {\fontsize{18bp}{25.875bp}\selectfont \textbf{\thu@subtitle@en \\}}
      \fi
      }
    \par