我想继续在脚注中使用 gb4e 对正文中的示例进行编号。我猜这与重置脚注中 \ex 的计数器有关,但我不知道该怎么做。我已在下面附上了“问题”的 MWE。
提前致谢
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{gb4e}
\begin{document}
A first example:
\begin{exe}
\ex First test
\gll Dit is een test. \\
this is a test \\
\glt `This is a test.'
\end{exe}
Now a second example in the footnote\footnote{
Below you can find the second example, which restarts from 1 instead of the expected 2:
\begin{exe}
\ex Second test
\gll Dit is {een andere} test. \\
this is another test \\
\glt `This is another test.'
\end{exe}
}.
\end{document}