我想以横向图形模式将两个子图形跨度放置在多个页面上
\begin{sidewaysfigure}[h!]
\centering
\begin{subfigure}[b]{\textwidth}
\caption{\label{fig 4.10.a}figure a}
\centering
\includegraphics[width=\textwidth]{/characterization/j2/Figure 1.a_R1.pdf}
\end{subfigure}
\hfill
\end{sidewaysfigure}
\clearpage
\begin{sidewaysfigure}[H]
\ContinuedFloat
\begin{subfigure}[b]{\textwidth}
\caption{Figure b}
\centering
\includegraphics[width=\textwidth]{/characterization/j2/Figure 1.b_R1.pdf}
\label{fig 4.10.b}
\end{subfigure}
\caption{Figure 10}
\label{fig 4.10}
\end{sidewaysfigure}
但是 PDF 文件中只显示了第一个图形,缺少第二个图形。
答案1
只是为了用可编译代码补充 leandriis 的评论。请不要接受作为答案。
\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{subcaption}
\begin{document}
\begin{sidewaysfigure}
\centering
\begin{subfigure}[b]{\textwidth}
\caption{\label{fig 4.10.a}figure a}
\centering
\includegraphics[width=\textwidth]{example-image-a}
\end{subfigure}
\hfill
\end{sidewaysfigure}
\newpage
\begin{sidewaysfigure}
\ContinuedFloat
\begin{subfigure}[b]{\textwidth}
\caption{Figure b}
\centering
\includegraphics[width=\textwidth]{example-image-b}
\label{fig 4.10.b}
\end{subfigure}
\caption{Figure 10}
\label{fig 4.10}
\end{sidewaysfigure}
\end{document}
答案2
我认为,使用landscape
封装的环境\afterpage{ ...}
比两个连续的环境更简单、更可靠sidewaysfigures
:
\documentclass[12pt,a4paper]{article}
\usepackage{pdflscape}
\usepackage{graphicx}
\usepackage{caption, subcaption}
\usepackage{afterpage}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\afterpage{
\clearpage
\begin{landscape}
\begin{figure}
\centering
\begin{subfigure}{\textwidth}
\caption{figure a}
\label{fig 4.10.a}
\includegraphics[width=\textwidth]{example-image-a}
\end{subfigure}
\end{figure}
%\newpage
\begin{figure}
\centering
\ContinuedFloat
\begin{subfigure}{\textwidth}
\caption{Figure b}
\label{fig 4.10.b}
\includegraphics[width=\textwidth]{example-image-b}
\end{subfigure}
\caption{Figure 10}
\label{fig 4.10}
\end{figure}
\end{landscape}
}
\lipsum[2-11]
\end{document}