We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RT,想在附录里插入代码,并以Python样式语法高亮。在.dtx文件里面发现了LaTeX的引用格式设置,但是在论文正文的tex文件里调用\lstinputlisting 或者\begin{listings}均提示Undefined control sequence。尝试在main.tex里面加\usepackage{listings},报错变成了Package Listings Error: Couldn't load requested style. 想请教一下,如何修改,才能插入代码。
\lstinputlisting
\begin{listings}
Undefined control sequence
\usepackage{listings}
Package Listings Error: Couldn't load requested style.
The text was updated successfully, but these errors were encountered:
可以尝试在 \usepackage{listings} 后重新定义列表样式
Sorry, something went wrong.
感谢。问题已解决。也许我之后可以尝试写到dtx里面去?
No branches or pull requests
RT,想在附录里插入代码,并以Python样式语法高亮。在.dtx文件里面发现了LaTeX的引用格式设置,但是在论文正文的tex文件里调用
\lstinputlisting
或者\begin{listings}
均提示Undefined control sequence
。尝试在main.tex里面加\usepackage{listings}
,报错变成了Package Listings Error: Couldn't load requested style.
想请教一下,如何修改,才能插入代码。
The text was updated successfully, but these errors were encountered: