Problem using listings package with Lyx

2008-09-03 Thread bar tomas
Hi, I'm very new to Lyx and Latex. I'm trying to use the listings package to format some Python code. I've copied the following sample latex document from the internet that does this: \documentclass{article} \usepackage{listings} \lstset{numbers=left, numberstyle=\tiny, stepnumber=1,

Problem using listings package with Lyx

2008-09-03 Thread bar tomas
Hi, I'm very new to Lyx and Latex. I'm trying to use the listings package to format some Python code. I've copied the following sample latex document from the internet that does this: \documentclass{article} \usepackage{listings} \lstset{numbers=left, numberstyle=\tiny, stepnumber=1,