latex 图片标题居中

1.有一个全局图片标题居中的方法:

\usepackage[justification=centering]{caption}

2.如果排版时有的图标题想左对齐,有的想居中,前一个方法就不好了,这里可以加上引用

\usepackage{caption}

如果还不行,在想居中的行这样设置:

\begin{center}
\includegraphics [width=0.5\textwidth]{pic/throughput_latency_r.eps}
\caption{Latency-throughput for read workload}
\includegraphics [width=0.5\textwidth]{pic/throughput_latency_w.eps}
\caption{Latency-throughput for write workload}
\end{center}

参考 http://tex.stackexchange.com/questions/95207/how-to-center-a-specific-caption

posted @ 2017-05-28 17:27  我是包子  阅读(51485)  评论(0编辑  收藏  举报