I use listing package and want to define a short (in-line) listing in a footnote. For example: \footnote{Java uses the |break| keyword...}. However, the compilation of the file fails, because "Argument of \lst@temp has an extra }." How can I overcome this problem?
Moreover, is there any way to use a short listing in a caption?
listingspackage. It works like verbatim but it also "highlights" the code according to the some programming language dependent rules. – Jan Hlavacek Jan 23 '11 at 17:10