【发布时间】:2019-03-04 04:32:17
【问题描述】:
我正在尝试将我的列表拆分为多个页面,但很遗憾,它不起作用。
我已阅读如果您设置breaklines=true,它应该会自动工作。我不能。在不创建多个列表的情况下还有其他选择吗?
\lstset{numbers=left,
columns=fullflexible,
stepnumber=1,
basicstyle=\footnotesize\ttfamily,
numberstyle=\color{lineNumberColor}\tiny,
inputencoding=utf8,
showtabs=false,
extendedchars=true,
showstringspaces=false,
showspaces=false,
tabsize=4,
postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{pred}\hookrightarrow\space}},
commentstyle=\slshape\color{commentColor},
keywordstyle=\color{keywordColor}\bfseries,
stringstyle=\color{stringColor}\ttfamily,
breaklines=true,
breakatwhitespace=true,
}
【问题讨论】:
-
设置好了,但页面没有中断。