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

看板LaTeX (論文排版)作者 (fight)時間7年前 (2018/05/20 23:48), 編輯推噓1(100)
留言1則, 1人參與, 7年前最新討論串1/1
我用\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> \c@subfigure@save l.20 \ContinuedFloat ? Warning: untitled-1.tex 26 LaTeX Warning: Float too large for page by 198.29964pt on input line 26. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.194.153.123 ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1526831308.A.623.html

05/21 01:22, 7年前 , 1F
https://tex.stackexchange.com/a/15693底下也有提到其他解
05/21 01:22, 1F
文章代碼(AID): #1R0PZCOZ (LaTeX)
文章代碼(AID): #1R0PZCOZ (LaTeX)