qinglee / wrapstuff

Wrapping text around stuff
https://ctan.org/pkg/wrapstuff
LaTeX Project Public License v1.3c
11 stars 4 forks source link

绕排的正文中不能使用 \footnote #10

Open Sophanatprime opened 1 year ago

Sophanatprime commented 1 year ago

绕排的正文中不能使用 \footnote

版本:wrapstuff 2022/08/05 v0.3

MWE:

\documentclass{article}
\usepackage{wrapstuff}
\begin{document}

\begin{wrapstuff}
\rule{1cm}{1cm}
\end{wrapstuff}

I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me. \footnote{footnote}
I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me.
I can eat glass, it doesn't hurt me.

\end{document}

但可以使用 \footnotemark \footnotetext 的方式。

jasperhabicht commented 1 year ago

The returned error is

! LaTeX kernel Error: Not in vertical mode.

For immediate help type H <return>.
 ...                                              

l.18 

Starting a paragraph with \RawIndent or \RawNoindent
(or \para_raw_indent: or \para_raw_noindent:) is only allowed
if LaTeX is in vertical mode.