作者csdunhill (MR.阿花)
看板LaTeX
标题[问题] listofXXX program code问题
时间Mon Jul 20 17:30:52 2009
因为我的文章里有放程式码
而老师希望能够把程式码也放在list的目录中
例如:listofcode
但是我知道的只有listoftables,listoffigures
所以想问说latex有办法自创一个listofcode出来吗- -+
不然可能只好用listoftables了
另外在问一下,我用listing来输出我的code
\lstset{language=c++}
\lstset{commentstyle=\textit}
\begin{lstlisting}[frame=trbl]{}
my source code
\end{lstlisting}
那如果用listoftables的话
我该如何把我的code加到listoftables中?
谢搂~
--
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 203.64.125.121