linguex 和 multicols

linguex 和 multicols
\documentclass{article}
\usepackage{multicol}\raggedcolumns
\usepackage{linguex}

\begin{document}

\begin{multicols}{2}
\ex. Shouldn't/Didn't he $\dots$?\\*
\ex. Shouldn't/Didn't she $\dots$?\\*
\end{multicols}

\end{document}

你好,我嵌入时不断收到错误消息\ex.multicols有什么方法可以避免这些错误吗?

谢谢。

答案1

一个愚蠢的错误。由 \ex. 创建的列表环境必须用一个空行 (\par) 结束。

\documentclass{article}
\usepackage{multicol}\raggedcolumns
\usepackage{linguex}

\begin{document}
\begin{multicols}{2}
\ex. Shouldn't/Didn't he $\dots$?

% An empty line must be inserted.
\ex. Shouldn't/Didn't she $\dots$?
\end{multicols}
\end{document}

相关内容