如何将另一个具有其自身前言的 tex 文件引入主 tex 文件

如何将另一个具有其自身前言的 tex 文件引入主 tex 文件

我和我的合著者有一个用于论文的 tex 文件 (main.tex),以及另一个用于表格和图形的 tex 文件 (tables_and_figures.tex)。以前,我们会编译 main.tex,然后编译 tables_and_figures.tex 以从下一页开始。我很好奇是否可以在 main.tex 中引用 tables_and_figures.tex,这样我们只需要编译 main.tex,它就会根据内容启动 tables_and_figures.tex。重要的是,tables_and_figures.tex 有它自己的前言,它似乎与 \include 或 \input 不兼容(如果我根据几篇文章对这些命令的理解是正确的话)。

相关内容