我已经使用了此代码,但标题和图片之间的距离不合适。有人能帮帮我吗?
\documentclass{article}
\usepackage{graphics}
\begin{document}
\begin{figure}
\centering
\includegraphics[width=\columnwidth]{solpro.pdf}
\caption{flowchart of solution procees}
\label{fig:fig1}
\end{figure}
\end{document}
答案1
\documentclass{article}
\usepackage{graphics}
\usepackage[skip=.5em]{caption} %use skip=<whatever you like>
\begin{document}
\begin{figure}
\centering
%\includegraphics[width=\columnwidth]{solpro.pdf}
\rule{34mm}{55mm}% test image
\caption{flowchart of solution procees}
\label{fig:fig1}
\end{figure}
\end{document}