首页 前端知识 elsevier的latex模板双栏的图片及标题不居中

elsevier的latex模板双栏的图片及标题不居中

2024-01-28 12:01:34 前端知识 前端哥 244 123 我要收藏

elsevier的latex模板双栏的图片及标题不居中

\begin{figure*}[!t]
	\centering
	\subfloat[]{\includegraphics[width=2.5in]{ALCORLfigure/result/without_shadow/reward_16x3}%
		\label{M_result_a}}
	\hfil
	\subfloat[]{\includegraphics[width=2.5in]{ALCORLfigure/result/without_shadow/time_16x3}%
		\label{M_result_b}}
	\caption{Training curves of different methods in $Manhattan_{16x3}$ data sets. (a) Reward. (b) Average traveling time.}
	\label{M_result}
\end{figure*}

首先去掉\begin{figure*}[!t]后面的[!t]就能让图片居中了 如果标题还没有居中 就把caption部分改为\caption{\centering{Training curves of different methods in M a n h a t t a n 16 x 3 Manhattan_{16x3} Manhattan16x3 data sets. (a) Reward. (b) Average traveling time.}}

最终修改好的:
\begin{figure*}
\centering
\subfloat[]{\includegraphics[width=2.5in]{ALCORLfigure/result/without_shadow/reward_16x3}%
\label{M_result_a}}
\hfil
\subfloat[]{\includegraphics[width=2.5in]{ALCORLfigure/result/without_shadow/time_16x3}%
\label{M_result_b}}
\caption{\centering{Training curves of different methods in M a n h a t t a n 16 x 3 Manhattan_{16x3} Manhattan16x3 data sets. (a) Reward. (b) Average traveling time.}}
\label{M_result}
\end{figure*}

转载请注明出处或者链接地址:https://www.qianduange.cn//article/636.html
标签
python
评论
发布的文章
大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!