Skip to content

Commit

Permalink
Set caption font in figure to bold
Browse files Browse the repository at this point in the history
  • Loading branch information
T0nyX1ang committed Mar 31, 2020
1 parent 7ec50e1 commit cff3055
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions WHUBachelor.cls
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@

%%% ---- 图表标题设置 ----- %%%
\RequirePackage[labelsep=quad]{caption} % 序号之后空一格写标题
\captionsetup[table]{textfont=bf} % 设置表格标题字体为黑体
\renewcommand\figurename{\zihao{-4} 图}
% 设置表格标题字体为黑体, 设置图片标题字体为黑体
\captionsetup[table]{textfont=bf}
\captionsetup[figure]{textfont=bf}
\renewcommand\figurename{\bf\zihao{-4} 图}
\renewcommand\tablename{\bf\zihao{-4} 表}

% 使用tabularx创建占满宽度的表格
Expand Down

0 comments on commit cff3055

Please sign in to comment.