PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Position der caption in \lstinputlisting ...



smoothy
02-02-2006, 14:40
hallo,

hat jemand eine Idee wie ich die Postion des Caption unter das \lstinputlisting bekomme ? Im Moment habe ich es so :


\linespread{0.5}\lstinputlisting[frame=shaddowbox,label=beispielcode,caption=nmap scan des LAN]{logs/nmap.scan.1.log}

aber dann steht das Caption über dem \lstinputlisting

mfg smoothy

mumu
02-02-2006, 14:54
\linespread{0.5}
\lstinputlisting[frame=shaddowbox,label=beispielcode,
captionpos=b,
caption=nmap scan des LAN]{logs/nmap.scan.1.log}

smoothy
02-02-2006, 15:38
hat geklappt , danke