Menu

#114 listings package

closed
None
5
2009-05-17
2008-06-06
No

Hi,

The listing package is the standard way of including source code into a document an environment should be defined for it.

Examples;

\lstinputlisting[
caption={Example of caption},
label=lst:exampleoflable]
{src.java}

\lstinline|java.text.DateFormat|

thanks guys

Discussion

  • Boris von Loesch

    Support for lstlisting environment (\begin{lstlisting}...\end{lstlisting}) is already implemented since version 1.1.0. I have now also added the \lstinline command and is part of the next release.

     
  • Boris von Loesch

    • milestone: --> Next Release (example)
    • assigned_to: nobody --> borisvl
     
  • Boris von Loesch

    • status: open --> closed
     

Log in to post a comment.