0
votes
1answer
151 views

How to place the caption of a lstlisting in the margin? (scrreprt, floatrow)

In the following mwe I am using the floatrow package to place the figure captions in the margin. How can I do the same for listings? Update: Some listings are spread over two pages. ...
1
vote
1answer
197 views

caption for listings in margin

The floatrow package enables one to put in the margin captions for figures and tables, but it seems there is missing the possibility of doing the same for the lstlisting environment from listings ...
3
votes
1answer
357 views

Sync listings caption numbers and add all to List of Listings

I want to create a list of all listings. Listings itself allows to add captions and list them in a list using \lstlistoflistings, but they can not float. If I set up such a floating environment using ...