LaTeX will believe that it's in exactly the same Listing as being the editor. There are ways you may alter the default Listing for figures, but we gained’t go into that listed here. This was taken within the Arbitrary LateX reference �?the web site also offers a great comparison http://lvlp1314.emiweb.es/blog/