Skip to content

Commit

Permalink
修复子图索引
Browse files Browse the repository at this point in the history
  • Loading branch information
marquistj13 committed Mar 11, 2018
1 parent dd763b7 commit bd8906d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
相较于老版tongjithesis,我这个版本融合了thuthesis (ThuThesis 2017/12/24 5.4.3)的很多新改动,个人认为比较大的改动如下:
1. 加入更详尽的注释。我甚至将很多宏的用法用例子进行阐述,当然详细的注释主要集中在“宏展开”的部分。这就极大地方便了模板的阅读和理解,期待校友们更多地参与到对此模板的改进。
1. 老版基于book制作,新版基于ctexbook。
1. 新版采用ctex宏集(目前参考的是2018/01/28 v2.4.12《ctex宏集手册》)自带的字体配置,比如在新版windows操作系统上,采用的是中易字库+ 微软雅黑。
1. 新版采用ctex宏集`目前参考的是2018/01/28 v2.4.12《ctex宏集手册》`自带的字体配置,比如在新版windows操作系统上,采用的是中易字库+ 微软雅黑。
1. 页面设置采用geometry宏包。
1. 使用kvoptions宏包,从而可以使用key-value input的方式设置class的option
1. 使用fancyhdr宏包设置页眉页脚
Expand Down
6 changes: 2 additions & 4 deletions data/chap02.tex
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ \subsubsection{多个图形}
和图~\ref{fig:subfig2}。推荐使用 \verb|\subcaption|,不要再用\verb|\subfloat|,\verb|\subfigure| 和 \verb|\subtable|了。
\begin{figure} %[h]
\centering%
\subcaptionbox{第一个小图形}{%
\label{fig:subfig1}
\subcaptionbox{第一个小图形\label{fig:subfig1}}{%
\includegraphics[height=2cm]{tongji-fig-logo.png}}\hspace{4em}%
\subcaptionbox{第二个小图形。如果标题很长的话,它会自动换行,这个 caption 就是这样的例子}{%
\label{fig:subfig2}
\subcaptionbox{第二个小图形。如果标题很长的话,它会自动换行,这个 caption 就是这样的例子\label{fig:subfig2}}{%
\includegraphics[height=2cm]{tongji-text-logo.png}}
\caption{包含子图形的大图形}
\label{fig:big1}
Expand Down

0 comments on commit bd8906d

Please sign in to comment.