我怎样才能将两张大图片分成两页?我试过了,\newline
但没有成功。
\documentclass[12pt]{book}
\usepackage{subfig}
\usepackage{caption}
\usepackage{graphicx}
\begin{document}
\begin{figure}
%\ContinuedFloat
\centering
\subfloat{
\centering
\includegraphics[width=435pt]{img-molmicros2.png}
}
\newline
\subfloat{
\centering
\includegraphics[width=451pt]{img-molmicros3.png}
}
\caption{sdfsdfsdf}
\label{fgdfg}
\end{figure}
\end{document}
答案1
它们应该位于figure
像这样的单独环境中:
\documentclass[12pt]{book}
\usepackage{subfig}
\usepackage{caption}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\subfloat{%
\centering
\includegraphics[width=435pt]{example-image-a}
}
\caption{sdfsdfsdf}\label{fig:cont}
\end{figure}
\begin{figure}
\ContinuedFloat
\centering
\subfloat{%
\centering
\includegraphics[width=451pt]{example-image-b}
}
\caption{sdfsdfsdf}
\label{fgdfg}
\end{figure}
\end{document}