User Tools

Site Tools


latex:listings

listings

 \usepackage{listings}

Exemplo de como incluir log files:

 \newcommand{\LogFile}[1]{
 \begin{singlespace}
    \lstset{basicstyle={\small\small\tt}}
    \lstinputlisting[breaklines=true,breakatwhitespace=true,frame=shadowbox]{#1}
  \end{singlespace}
 }
 \chapter{Log Files}
 \section{QoS resource query, connection activation, modification and deactivation}
 \label{sec:logs-query-act-mod-deact}
 \subsection{Access Router}
 \LogFile{logs-qosal/qos-query-act-mod-deact/qosal-m6.log}
latex/listings.txt · Last modified: 2008/05/28 19:07 by ambs