使用時:
\begin{listing}
...
\caption{foo}
\end{listing}
キャプションには次のように表示されます: Listing x: foo
. 単語を別の単語に置き換えるにはどうすればよいListing
ですか。
minted を使用している場合 (私は使用しており、私のソースはあなたのものに似ています)、試してみることをお勧めします。
\renewcommand{\listingscaption}{Some fancy listing}
マニュアルを読んでみるといいかもしれません
http://mirror.switch.ch/ftp/mirror/tex/macros/latex/contrib/listings/listings.pdf
32ページ
\begin{listing}[caption=Some fancy listing]
または試す
\begin{listing}[title=Some fancy listing]
または試す
\renewcommand{\lstlistingname}{A funny listing}
私のために働く最小限の例:
\documentclass{article}
\usepackage{listings}
\renewcommand{\lstlistingname}{Something}
\begin{document}
Some text.
\begin{lstlisting}[caption=wwww]
xxxx
\end{lstlisting}
Some more text.
\end{document}