diff --git a/chapters/chapter1.tex b/chapters/chapter1.tex index 6c19603..c4d0667 100644 --- a/chapters/chapter1.tex +++ b/chapters/chapter1.tex @@ -6,7 +6,7 @@ 在过去的几十年里处理器上的晶体管数量依照摩尔定律\cite{Tan.Du.ea_2021}的预测呈现出指数级的增长趋势,如这张50年间的微处理器的发展趋势图(\cref{fig:processor-trend})所示。 …… - +\chapter{第二章示例} \begin{figure}[htb] \includegraphics[width=0.8 \textwidth]{50-years-processor-trend.png} \caption[处理器发展]{近50年微处理器发展趋势} % 中括号中内容为插图索引中显示内容,可在题注内容过长时使用 diff --git a/chapters/chapter2.tex b/chapters/chapter2.tex index 87082c1..24f6c29 100644 --- a/chapters/chapter2.tex +++ b/chapters/chapter2.tex @@ -43,7 +43,7 @@ \section{跨页表格示例} \endfirsthead % \multicolumn{6}{c}% - {{表 \thetable\ RSM仿真实验规划表 (续)}} \\ + {\fontsize{10.5pt}{10.5pt}\selectfont\heiti{表 \thetable\ RSM仿真实验规划表 (续)}} \\ \toprule 标准序 & 运行序 & $H_{rib}\ \rm{(mm)}$ & $H_{pf}\ \rm{(mm)}$ & $N_{pf}$ & $N_{ac}$ \\ \midrule \endhead diff --git a/main.pdf b/main.pdf new file mode 100644 index 0000000..c3b0b74 Binary files /dev/null and b/main.pdf differ diff --git a/thesis-guet.cls b/thesis-guet.cls index 432b3c5..dc04f0c 100644 --- a/thesis-guet.cls +++ b/thesis-guet.cls @@ -402,12 +402,15 @@ % ===============设置图表格式=============== +\DeclareCaptionFont{bfheiti}{\fontsize{10.5pt}{10.5pt}\selectfont\heiti} \captionsetup{width=\textwidth - 60pt} -\captionsetup[subfigure]{aboveskip=2pt, belowskip=2pt} % width=36pt 设置子图标题的宽度 -\captionsetup[subfoat]{aboveskip=2pt, belowskip=2pt} -\captionsetup[figure]{aboveskip=3pt, belowskip=0pt} %设置标题与插图或表格之间的垂直距离,设置标题与下文之间的附加垂直距离, 如果标题在插图或表格之下;或标题与上文之间的附加垂直距离, 如果标题在插图或表格之上。该参数的默认值是0pt。为6pt,下面为0pt -\captionsetup[table]{aboveskip=0pt, belowskip=6pt} -\captionsetup[longtable]{aboveskip=0pt, belowskip=6pt} +\captionsetup[subfigure]{aboveskip=5.25pt, belowskip=2pt,labelfont=bfheiti,textfont=bfheiti} % width=36pt 设置子图标题的宽度 +\captionsetup[subfoat]{aboveskip=5.25pt, belowskip=2pt,labelfont=bfheiti,textfont=bfheiti} +\captionsetup[figure]{aboveskip=5.25pt, belowskip=0pt,labelfont=bfheiti,textfont=bfheiti} +%设置标题与插图或表格之间的垂直距离,设置标题与下文之间的附加垂直距离, +%如果标题在插图或表格之下;或标题与上文之间的附加垂直距离, 如果标题在插图或表格之上。该参数的默认值是0pt。为6pt,下面为0pt +\captionsetup[table]{aboveskip=5.25pt, belowskip=6pt,labelfont=bfheiti,textfont=bfheiti} +\captionsetup[longtable]{aboveskip=0pt, belowskip=6pt,labelfont=bfheiti,textfont=bfheiti} \setlength{\intextsep}{9pt} % 控制出现在页⾯中间的浮动体(如使⽤了h 选项的浮动体)与上下方文本之间的垂直距离 % \setlength{\textfloatsep}{6pt} % 控制出现在页⾯的顶部或底部的浮动体与⽂本之间的垂直距离 @@ -419,6 +422,7 @@ \def\@floatboxreset{\centering} % } \AtBeginEnvironment{tabular}{\small} %表格字体小五 +\AtBeginEnvironment{tabularx}{\small} %表格字体小五 \AtBeginEnvironment{tabular*}{\small} %表格字体小五 \AtBeginEnvironment{longtable}{\small} %跨页表格字体小五 %\captionsetup{format=hang} %caption工具包在加载时可以修改标题的很多方面,也可以通过 captionsetup命令也可以在工具包选项中修改。\captionsetup[浮动体类型]{参数1=选项, 参数2=选项,…}其中可选参数浮动体类型的选项可以是figure或table,如果省略该参数, 则表示这两种浮动体都适用。format:plain默认值,将标题作为普通段落排版。hang将标题从第二行起悬挂缩进排版,缩进宽度等于标题标志加分隔符的宽度。indention设置从标题第二行起的附加缩进宽度, 例如indention=5mm,其默认值是0pt。