[問題] 自動畫多張並排圖_不能自動換頁

作者: pp61022 (fight)   2018-05-20 23:48:25
我用\foreach 產生迴圈自動畫兩兩並排圖,
但是我的圖全部有10張,兩兩並排只畫出了8張圖,
剩下兩張切掉了,沒有自動換頁繼續畫圖,
我有查到可以用\ContinuedFloat,但是卻沒有反應,
\foreach跟\ContinuedFloat不能一起用嗎?
還是說有版友知道其他方法,可以自動畫出多張並排圖,並自動換頁的方法嗎?
再麻煩好心版友幫幫忙,謝謝。
我的程式碼如下:
\documentclass{article}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{pgffor}
\usepackage{caption}
\usepackage{subfig}
\usepackage{type1cm}
\usepackage{graphics}
\usepackage{lipsum,float}
\textwidth 6.2in
\textheight 9.0in
\topmargin -0.35in
\oddsidemargin -0.25in
\evensidemargin -0.10in
\usepackage[left=1.0cm, right=1.0cm, top=1.0cm, bottom=1.0cm]{geometry}
\begin{document}
\begin{figure}
\ContinuedFloat
\centering
\foreach \t in {0, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8}{%loop
\centering
\subfigure[]{\includegraphics[width=0.5\textwidth]{A\t}}
}
\end{figure}
\newpage
\end{document}
錯誤訊息:
(untitled-1.aux) ABD: EveryShipout initializing macros
*geometry* detected driver: pdftex
! Missing number, treated as zero.
<to be read again>
\[email protected]@save
l.20 \ContinuedFloat
?
Warning:
untitled-1.tex
26
LaTeX Warning: Float too large for page by 198.29964pt on input line 26.
作者: sppmg (sppmg)   2018-05-21 01:22:00
https://tex.stackexchange.com/a/15693底下也有提到其他解

Links booklink

Contact Us: admin [ a t ] ucptt.com