用Latex写论文时,可能会遇到使用中英文同时命名图表标题的情况(中英文双标题)。
建议使用caption和bicaption(作为caption的扩展包)。或者只使用ccaption包也可以。代码如下:
\usepackage{caption}
\usepackage{bicaption}%属于caption的扩展包,有中英文双语
\usepackage{graphicx,subfigure}%插入图片需要的包
\captionsetup[figure][bi-second]{name=Figure}%设置英文图开头为Figure
\captionsetup{labelsep=space}%bicaption原本是“图:”的格式,现在将冒号改成空格
%下面是插入图片,以四个2*2的图组成一张图为例。
\begin{figure}[htbp]%h,t,b,p分别代表here, top, bottom, page
\centering%居中
\subfigure[小图1名字]{
\begin{minipage}{0.4\textwidth}
\includegraphics[width = 1\textwidth]{需要引用的小图1的文件名称.png}
\end{minipage}
}
\subfigure[小图2名字]{
\begin{minipage}{0.4\textwidth}
\includegraphics[width = 1\textwidth]{需要引用的小图2的文件名称.png}
\end{minipage}
}
\subfigure[小图3名字]{
\begin{minipage}{0.4\textwidth}
\includegraph