usepackage{multicol} 给出未定义的控制序列错误

usepackage{multicol} 给出未定义的控制序列错误

我正在尝试使用该multicol包排版两列。我已确保.sty样式文件在我的路径中可用。我甚至复制了它pwd以确保万无一失。

\begin{multicols}{2}
Column 1
\columnbreak
Column 2
\end{multicols}

但我仍然收到以下错误。

ERROR: Undefined control sequence.

--- TeX said ---
<argument> \multicol 

当我删除该\usepackage{multicol}文档时,编译正常,所以错误一定出在这里。

好像这个包没有安装在我的系统上。但我的 mac os x 上有一个完整可用的 tex 发行版。以下是版本信息:

pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017)
kpathsea version 6.2.3
Copyright 2017 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.29; using libpng 1.6.29
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 3.04

这里发生什么事了?

谢谢

相关内容