-
注意到cls模板中添加了对minted的支持,可以把listing转译为“代码” |
Beta Was this translation helpful? Give feedback.
Answered by
atxy-blip
May 13, 2023
Replies: 2 comments 11 replies
-
没能用下面的例子复现问题,建议重新编译一遍看看。 \documentclass{thuthesis}
\usepackage{minted}
\begin{document}
如代码~\ref{C++top}~所示
\begin{listing}[H]
\mint{C++}/int i = 1;/
\caption{Example of a listing.}
\label{C++top}
\end{listing}
\end{document} |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
Auyuir
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
没能用下面的例子复现问题,建议重新编译一遍看看。