使用带有多页表的 TikZ

使用带有多页表的 TikZ

我正在使用tikz文件插入图形。我想连续添加 3 个具有相同图形标题的图形:

我使用这个代码:问题是最后一个图在页面底部,一半缺失。我如何将它放在下一页并附上标题: ... continued from previous page ...

\begin{figure}
\begin{longtable}{c}
\subfigure[]{\input{VD1m.tikz}}  \\\ 
\subfigure[]{\input{VD1m.tikz}} \\\ 
\subfigure[]{\input{VD1m.tikz}} \\\
\end{longtable}
\caption{this are my figures (a)subfigure1  (b) subfigure2 (c) Ssubfigure3 }
\label{VD1m}

答案1

大概caption包可以做到这一点,但我从未使用过。memoir类很简单(代码里面有一些注释)

\documentclass{memoir}
\usepackage{mwe} %Don't need it, included to provide images.
\usepackage{graphicx}

\newsubfloat{figure} %Now figure float will have subfloat captions

\begin{document}

\begin{figure}
\centering
\includegraphics{example-image-a}
\subbottom{Subfigure a)}

\includegraphics{example-image-b}
\subbottom{Subfigure b)}

\caption{These are my figures a, b and c}
\end{figure}

%You have to break your float where you want (or need). LaTeX won't do it for you.

\begin{figure}
\centering
\includegraphics{example-image-c}
\subbottom{Subfigure c)}

%\contcaption will use same figure number from previous \caption command.
\contcaption{continue from previous page}
\end{figure}
\end{document}

在此处输入图片描述

相关内容