
Я пытаюсь разделить одну большую фигуру на две страницы и добавить общую подпись, которая начинается с левой стороны и продолжается с правой. Я прикрепил ниже фигуру, которая иллюстрирует, как я хочу, чтобы это выглядело. Есть ли у кого-то из вас решение этой проблемы или какие-то советы о том, как добиться такого макета?
Фрагмент моего кода показан ниже
\documentclass[12pt,b5paper]{article}
\usepackage{lipsum}
\usepackage{afterpage}
\usepackage{graphicx}
\begin{document}
\section{Headline}
\lipsum[2-8]
\afterpage{%
\clearpage% flush all other floats
\ifodd\value{page}
%\else% uncomment this else to get odd/even instead of even/odd
\expandafter\afterpage% put it on the next page if this one is odd
\fi
{%
\begin{figure}[p]
\centering
\includegraphics[width=\textwidth,height=0.9\textheight]{example-image-a}
\caption{This caption should break apart and continue under the figure on the next page.
\\ \\ \lipsum[5]}
\label{fig:example-image-a}
\end{figure}
\clearpage
\begin{figure}[p]
\centering
\includegraphics[width=\textwidth,height=0.9\textheight]{example-image-b}
\label{fig:example-image-b}
\end{figure}
\clearpage
}%
}
\lipsum[2-7]
\end{document}
решение1
Добро пожаловать в TeX StackExchange. Пожалуйста, всегда включайте MWE проблемы в ваш вопрос, со всем кодом, который нам нужно знать, чтобы понять, где вы находитесь, но только код, относящийся к проблеме, плюс минимальная структура документа, чтобы сделать его воспроизводимым "как есть", только это MWE одно из возможных решений:
\documentclass[twoside]{article}
\usepackage{lipsum} %just for make dummy text
\usepackage{dpfloat,graphicx} % needed for the solution
\begin{document}
\lipsum[1-10] % Dummy text
\begin{figure}[p]% will be the left-side figure
\begin{leftfullpage}
\includegraphics[width=\linewidth, trim=0pt 0pt 5.5cm 0pt,clip]{example-image}
\caption{\lipsum[1][1]\ldots}
\end{leftfullpage}
\end{figure}
\begin{figure}[p]% will be the right-side figure
\begin{fullpage}
\includegraphics[width=\linewidth, trim=5.5cm 0pt 0pt 0pt,clip]{example-image}
\vspace{\abovecaptionskip}\ldots\lipsum[1][3]
\end{fullpage}
\end{figure}
\lipsum[11-40] % Dummy text
\end{document}