我正在使用一个模板来完成我的论文,它将每个章节的单独.tex 文件导入到main.tex中。
使用 linguex 时,我的示例开始从 (1) 开始重新编号,而我似乎无法使用 \setcounter 解决这个问题。有什么办法吗?
谢谢!
答案1
只需将ExNo
计数器从重置列表中排除即可chapter
。
\documentclass{book}
\usepackage{linguex}
\counterwithout{ExNo}{chapter}
\begin{document}
\chapter{first}
\ex. This is the first level of embedding
\a. This is the second level
\b. This is still the second level, but:
\a. This is the third level
\b. This is not the end.
\b. This is the end
\chapter{second}
\ex. This is the first level of embedding
\a. This is the second level
\b. This is still the second level, but:
\a. This is the third level
\b. This is not the end.
\b. This is the end
\end{document}