![當每個浮動體小到可以放在一起時,為什麼「endfloat」套件為每個浮動體保留整個頁面?](https://rvso.com/image/390997/%E7%95%B6%E6%AF%8F%E5%80%8B%E6%B5%AE%E5%8B%95%E9%AB%94%E5%B0%8F%E5%88%B0%E5%8F%AF%E4%BB%A5%E6%94%BE%E5%9C%A8%E4%B8%80%E8%B5%B7%E6%99%82%EF%BC%8C%E7%82%BA%E4%BB%80%E9%BA%BC%E3%80%8Cendfloat%E3%80%8D%E5%A5%97%E4%BB%B6%E7%82%BA%E6%AF%8F%E5%80%8B%E6%B5%AE%E5%8B%95%E9%AB%94%E4%BF%9D%E7%95%99%E6%95%B4%E5%80%8B%E9%A0%81%E9%9D%A2%EF%BC%9F.png)
我在文件結束後使用endfloat
package 來堆疊所有浮動,但似乎即使某些浮動足夠小,可以放在一頁中,endfloat
仍然會將每個浮動放在一整頁中。我怎樣才能得到 endfloat
在一頁中放置盡可能多的浮動?
另一個問題。如何在將承載延遲的浮動的最後頁面中增加文字正文(即減少水平和垂直邊距)?
我之所以使用,wrapfig
是因為對於任何建議的解決方案,我都不希望將內部的數字wrapfigure
發送到文件的末尾。
\documentclass[a4paper,12pt]{article}
\usepackage[x11names]{xcolor}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{blindtext}
\usepackage[showframe]{geometry}
\usepackage{ragged2e}
\usepackage[nofiglist, notablist]{endfloat}
\renewcommand{\figureplace}{\floatplace{figure}}
\renewcommand{\tableplace}{\floatplace{table}}
\renewcommand{\floatplace}[1]{
\begin{center}
\color{DodgerBlue3} \normalsize \textbf{
[~\csname #1name\endcsname˜
\csname thepost#1\endcsname~ is about here.~]
}
\end{center}
}
\begin{document}
\begin{wrapfigure}{O}{0.35\linewidth}
\includegraphics[width=\linewidth]{example-image-a}
\centering This is a circuit
\end{wrapfigure}
\blindtext
\begin{figure}
\centering
\includegraphics[width=0.3\linewidth]{example-image-b}
\caption{My Fig}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=0.3\linewidth]{example-image-c}
\caption{My Fig}
\end{figure}
\end{document}