Skip to content

Commit

Permalink
调整图表索引格式,模板笔误勘正
Browse files Browse the repository at this point in the history
1. 取消图表索引中章之间的垂直间隔
2. 在图表索引中加入图表名称(表*.* 图*.*)
3. 修改模板英文封面The Date of Defence
4. 中图分类号后面加一个冒号
  • Loading branch information
y-yating committed Jan 4, 2018
1 parent 02b333d commit d6f3ddd
Show file tree
Hide file tree
Showing 11 changed files with 202 additions and 126 deletions.
226 changes: 131 additions & 95 deletions BIT-thesis-manual/BIT-thesis-grd.cls

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions BIT-thesis-manual/chapters/ch3-eqnFigAndTab.tex
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ \subsection{长标题的换行}
\begin{figure}
\centering
\begin{minipage}[b]{0.6\textwidth}
\captionstyle{\centering}
\centering
\includegraphics[width=10cm]{figures/pic2}
\caption{BIT是我国历史最悠久的高等学府之一,是教育部直属、工信部共建的全国重点大学,985,211}
Expand All @@ -231,7 +230,6 @@ \subsection{长标题的换行}
\begin{figure}
\centering
\begin{minipage}[b]{0.6\textwidth}
\captionstyle{\centering}
\centering
\includegraphics[width=10cm]{figures/pic2}
\caption{BIT是我国历史最悠久的高等学府之一,是教育部直属、工信部共建的全国重点大学,985,211}
Expand Down
19 changes: 10 additions & 9 deletions BIT-thesis-manual/manual.lof
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
\hypersetup {hidelinks}
\addvspace {10.0pt}
\contentsline {figure}{\numberline {1.1}{\ignorespaces BIT-thesis-run.bat脚本运行}}{2}{figure.1.1}
\contentsline {figure}{\numberline {1.2}{\ignorespaces 生成文档demo.pdf的目录}}{3}{figure.1.2}
\contentsline {figure}{\numberline {1.1}{\ignorespaces BIT-thesis-run.bat脚本运行\relax }}{2}{figure.caption.4}
\contentsline {figure}{\numberline {1.2}{\ignorespaces 生成文档demo.pdf的目录\relax }}{3}{figure.caption.5}
\addvspace {10.0pt}
\addvspace {10.0pt}
\contentsline {figure}{\numberline {3.1}{\ignorespaces BIT-thesis-grd模板demo示例中第一章的图一}}{15}{figure.3.1}
\contentsline {figure}{\numberline {3.2}{\ignorespaces 校徽以及计算机学院LOGO}}{16}{figure.3.2}
\contentsline {figure}{\numberline {3.3}{\ignorespaces 插入eps图像和pdf图像}}{16}{figure.3.3}
\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {EPS Figure}}}{16}{figure.3.3}
\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {PDF Figure}}}{16}{figure.3.3}
\contentsline {figure}{\numberline {3.4}{\ignorespaces BIT是我国历史最悠久的高等学府之一,是教育部直属、工信部共建的全国重点大学,985,211}}{17}{figure.3.4}
\contentsline {figure}{\numberline {3.5}{\ignorespaces BIT是我国历史最悠久的高等学府之一,是教育部直属、工信部共建的全国重点大学,985,211}}{17}{figure.3.5}
\contentsline {figure}{\numberline {3.1}{\ignorespaces BIT-thesis-grd模板demo示例中第一章的图一\relax }}{16}{figure.caption.8}
\contentsline {figure}{\numberline {3.2}{\ignorespaces 校徽以及计算机学院LOGO\relax }}{17}{figure.caption.9}
\contentsline {figure}{\numberline {3.3}{\ignorespaces 插入eps图像和pdf图像\relax }}{17}{figure.caption.10}
\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {EPS Figure}}}{17}{figure.caption.10}
\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {PDF Figure}}}{17}{figure.caption.10}
\contentsline {figure}{\numberline {3.4}{\ignorespaces BIT是我国历史最悠久的高等学府之一,是教育部直属、工信部共建的全国重点大学,985,211\relax }}{18}{figure.caption.11}
\contentsline {figure}{\numberline {3.5}{\ignorespaces BIT是我国历史最悠久的高等学府之一,是教育部直属、工信部共建的全国重点大学,985,211\relax }}{18}{figure.caption.12}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
Expand Down
13 changes: 7 additions & 6 deletions BIT-thesis-manual/manual.lot
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
\hypersetup {hidelinks}
\addvspace {10.0pt}
\addvspace {10.0pt}
\contentsline {table}{\numberline {2.1}{\ignorespaces 章节设置关键字}}{10}{table.2.1}
\contentsline {table}{\numberline {2.2}{\ignorespaces 交叉引用类型}}{10}{table.2.2}
\contentsline {table}{\numberline {2.1}{\ignorespaces 章节设置关键字\relax }}{11}{table.caption.6}
\contentsline {table}{\numberline {2.2}{\ignorespaces 交叉引用类型\relax }}{11}{table.caption.7}
\addvspace {10.0pt}
\contentsline {table}{\numberline {3.1}{\ignorespaces BIT-thesis-grd模板demo示例中第一章的表一}}{19}{table.3.1}
\contentsline {table}{\numberline {3.2}{\ignorespaces L-B模型中参数的物理意义}}{19}{table.3.2}
\contentsline {table}{\numberline {3.3}{\ignorespaces 指向一个表格的表目录索引}}{20}{table.3.3}
\contentsline {table}{\numberline {3.4}{\ignorespaces 出现在表目录的标题}}{20}{table.3.4}
\contentsline {table}{\numberline {3.1}{\ignorespaces BIT-thesis-grd模板demo示例中第一章的表一\relax }}{20}{table.caption.13}
\contentsline {table}{\numberline {3.2}{\ignorespaces L-B模型中参数的物理意义\relax }}{20}{table.caption.14}
\contentsline {table}{\numberline {3.3}{\ignorespaces 一个标准的三线表格\relax }}{21}{table.caption.15}
\contentsline {table}{\numberline {3.4}{\ignorespaces 一个带有脚注的表格的例子\relax }}{21}{table.caption.16}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
Expand Down
Binary file modified BIT-thesis-manual/manual.pdf
Binary file not shown.
10 changes: 8 additions & 2 deletions BIT-thesis-manual/manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@

% 目录
\tableofcontents
%\listoffigures
%\listoftables

%增加图、表索引
\let\origaddvspace\addvspace
\renewcommand{\addvspace}[1]{}
\listoffigures
\listoftables
\renewcommand{\addvspace}[1]{\origaddvspace{#1}}


% 主要符号、缩略词对照表
% \include{body/symbol}
Expand Down
24 changes: 15 additions & 9 deletions BIT-thesis-template-grd/BIT-thesis-grd.cls
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%==================================================
%% BIT-thesis-grd.cls for BIT Thesis
%% modified by yang yating
%% version: 1.0
%% last update: Sep 1st, 2016
%% version: 1.2
%% last update: Jan 1st, 2018
%%==================================================

%% math packages -- conflict with xunicode
Expand Down Expand Up @@ -42,7 +42,7 @@
\def\BIT@label@major{学~~~~科~~~~专~~~~业}
\def\BIT@label@title{论文题目}
\def\BIT@label@author{作~~~~者~~~~姓~~~~名}
\def\BIT@label@classification{中图分类号}
\def\BIT@label@classification{中图分类号}
\def\BIT@label@confidential{密级}
\def\BIT@label@UDC{UDC\!分类号:}
\def\BIT@label@serialnumber{编号}
Expand Down Expand Up @@ -113,7 +113,7 @@
\def\BIT@label@englishdegree{Degree Applied:}
\def\BIT@label@englishmajor{Major:}
\def\BIT@label@englishschool{Degree by:}
\def\BIT@label@englishdate{The Data of Defence:}
\def\BIT@label@englishdate{The Date of Defence:}


%%
Expand Down Expand Up @@ -172,9 +172,7 @@ footskip=0.7cm% 页脚 1.8cm %
%设置行距,大概为22榜,较麻烦
\RequirePackage{setspace}
\setstretch{1.523}
%==============删除默认模板(book.cls )在章之间引入的垂直间隔。要放在hyperref 之前才会生效。===============
\patchcmd{\@chapter}{\addtocontents{lof}{\protect\addvspace{10\p@}}}{}{}{} % lof
\patchcmd{\@chapter}{\addtocontents{lot}{\protect\addvspace{10\p@}}}{}{}{} % lot

%% 设置章节格式
\ctexset{chapter={
name = {第,章},
Expand Down Expand Up @@ -233,6 +231,14 @@ footskip=0.7cm% 页脚 1.8cm %
{\thecontentslabel\hspace{\ccwd}}{}
{\hspace{.5em}\titlerule*{.}\contentspage}

\titlecontents{figure}[0pt]{\songti\zihao{-4}}
{\figurename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
{\hspace{.5em}\titlerule*{.}\contentspage}

\titlecontents{table}[0pt]{\songti\zihao{-4}}
{\tablename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
{\hspace{.5em}\titlerule*{.}\contentspage}

%% 选择编译
\RequirePackage{ifthen}

Expand Down Expand Up @@ -827,8 +833,8 @@ footskip=0.7cm% 页脚 1.8cm %

\renewenvironment{thanks}
{\chapter{\BIT@label@thanks}
 \fangsong
 }
\fangsong
}
{}

\newenvironment{symbolnote}
Expand Down
12 changes: 12 additions & 0 deletions BIT-thesis-template-grd/demo.lof
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\hypersetup {hidelinks}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\contentsline {figure}{\numberline {1.1}{\ignorespaces 热塑性形状记忆聚氨酯的形状记忆机理示意图\relax }}{1}{figure.caption.7}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\contentsfinish
12 changes: 12 additions & 0 deletions BIT-thesis-template-grd/demo.lot
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\hypersetup {hidelinks}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\contentsline {table}{\numberline {1.1}{\ignorespaces 水系聚氨酯分类\relax }}{2}{table.caption.8}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\addvspace {10.0pt}
\contentsfinish
Binary file modified BIT-thesis-template-grd/demo.pdf
Binary file not shown.
10 changes: 7 additions & 3 deletions BIT-thesis-template-grd/demo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,15 @@
% 加入目录
\tableofcontents

% 加入表格索引
%\listoftables

% 加入插图索引
%加入图、表索引(同时取消图表索引中章之间的垂直间隔)
%\let\origaddvspace\addvspace
%\renewcommand{\addvspace}[1]{}
%\listoffigures
%\listoftables
%\renewcommand{\addvspace}[1]{\origaddvspace{#1}}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 正主体部分
Expand Down

0 comments on commit d6f3ddd

Please sign in to comment.