latex 用 subfigure排版一行两个子图,但是子图标题一直左对齐,如何居中?

2019-12-02 11:55发布

\begin{figure}[!htb]%图1 \centering \subfigure{a}{ \centering \includegraphics[width=3in]{fig1a.pdf}}...

\begin{figure}[!htb]%图1 \centering \subfigure{a}{ \centering \includegraphics[width=3in]{fig1a.pdf}} \subfigure{b}{ \centering \includegraphics[width=3in]{fig1b.pdf}} \caption{船舶挂靠港口顺序} \end{figure}[![](http://tieba.baidu.com/photo/p?kw=latex&ie=utf-8&flux=1&tid=5842750507&pic_id=999b93cad1c8a7868e85da3a6a09c93d71cf50df&pn=1&fp=2&see_lz=1)](http://tieba.baidu.com/photo/p?kw=latex&ie=utf-8&flux=1&tid=5842750507&pic_id=999b93cad1c8a7868e85da3a6a09c93d71cf50df&pn=1&fp=2&see_lz=1)
3条回答
把 `\centering` 去掉.

作者追问:2019-12-02 12:20

你好,我试了一下,去掉了\centering之后,图片都不居中显示了,而且标题还是左对齐,是缺少了什么包吗

一周热门 更多>