Skip to content

Instantly share code, notes, and snippets.

@tisba tisba/gist:226086
Created Nov 4, 2009

Embed
What would you like to do?
\documentclass{article}
\usepackage{listings}
\begin{document}
\lstinputlisting[numbers=left,firstline=4,lastline=6]{sandbox.tex}
\end{document}
% this gives me smth like that:
%
%
% 1 \begin{document}
% 2 \lstinputlisting[numbers=left,firstline=4,lastline=6]{sandbox.tex}
% 3 \end{document}
%
% and not...
%
% 4 \begin{document}
% 5 \lstinputlisting[numbers=left,firstline=4,lastline=6]{sandbox.tex}
% 6 \end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.