-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
包含浮动体和 longtable 环境的页面,内容从底部溢出 #40
Comments
已解决,去掉 |
去掉 |
对你提供的例子做了个精简,看起来是
精简后的完整例子 \documentclass{article}
\usepackage{longtable}
% helper pkg
\usepackage[pass, showframe]{geometry}
\usepackage{lipsum}
\begin{document}
\begin{figure}[t]
a\\b\\c\\d
\end{figure}
\lipsum[1] % optional
\begin{longtable}{l}
cell
\end{longtable}
\lipsum
\end{document} |
@annProg @Liam0205 @leo-liu @qinglee |
done |
@muzimuzhi 非常感谢 |
@annProg 可以试试,默认使用
|
(题外话)
@annProg 上条建议实践起来可能有一些困难,因为
看起来没有万全之策。在 pandoc 导出的 |
@muzimuzhi 是的,目前只能使用longtable。 我在尝试使用gist里的修复方案,以上精简的例子可以修复,但是多几个 \documentclass{article}
\usepackage{longtable}
% helper pkg
\usepackage[pass, showframe]{geometry}
\usepackage{lipsum}
\usepackage{listings}
\begin{document}
\begin{lstlisting}[float=htbp]
hello
\end{lstlisting}
\begin{figure}[t]
a\\b\\c\\d
\end{figure}
\begin{lstlisting}[float=htbp]
hello2
\end{lstlisting}
\lipsum[1] % optional
\begin{lstlisting}[float=htbp]
hello3
\end{lstlisting}
\begin{longtable}{l}
cell
\end{longtable}
\begin{lstlisting}[float=htbp]
hello4
\end{lstlisting}
\lipsum
\end{document} |
我的能力不足,无法修复这个 bug。涉及 longtable 的 bug 还有不少,使用 longtable 而又希望无需人工调整地自动生成 pdf,有相当的风险。
PS:以下面的方式
插入 markdown 中的 fenced code blocks,可以让 |
@muzimuzhi 谢谢。我尝试一下让pandoc不生成 |
ctexbook
文类,没有自动换页,是否是bug?以下是代码
The text was updated successfully, but these errors were encountered: