Skip to content

Commit

Permalink
Fix caption font (Fix #295)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Apr 21, 2021
1 parent 39eb7c0 commit b772e30
Show file tree
Hide file tree
Showing 5 changed files with 273 additions and 241 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- 修正了与 `chapterbib` 宏包的兼容性。
- 去掉 `notoccite` 宏包,防止造成 PDF 书签中页码的错误(#293)。
- 修正了表题的字体(#295)。

## [v3.3.0] - 2021-03-18

Expand Down
9 changes: 4 additions & 5 deletions chapters/floats.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ \chapter{浮动体}
\section{三线表}

三线表是《撰写手册》推荐使用的格式,如表~\ref{tab:exampletable}。
\begin{table}[htb]
\centering\small
\begin{table}[h]
\centering
\caption{表号和表题在表的正上方}
\label{tab:exampletable}
\begin{tabular}{cl}
Expand Down Expand Up @@ -35,7 +35,7 @@ \section{插图}
事实上,这种做法已经过时。
而且每次编译时都要要调用外部工具解析 eps,导致降低编译速度。
所以我们推荐矢量图直接使用 pdf 格式,位图使用 jpeg 或 png 格式。
\begin{figure}[htb]
\begin{figure}[h]
\centering
\includegraphics[width=0.3\textwidth]{ustc-badge.pdf}
\caption{图号、图题置于图的下方}
Expand All @@ -53,8 +53,7 @@ \section{算法环境}
模板中使用 \pkg{algorithm2e} 宏包实现算法环境。关于该宏包的具体用法,
请阅读宏包的官方文档。

\begin{algorithm}[htb]
\small
\begin{algorithm}[h]
\SetAlgoLined
\KwData{this text}
\KwResult{how to write algorithm with \LaTeX2e }
Expand Down
Loading

2 comments on commit b772e30

@ColdPepsi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新模板后出现了表格上方段落行间距消失的问题~

@zepinglee
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新模板后出现了表格上方段落行间距消失的问题~

新开 issue 给个 mwe?

Please sign in to comment.