Hi,
I'm new to latex and I'm using source code listings definition from this link -> https://www.overleaf.com/latex/examples ... de-listing. Everything works fine but I need to have a list of this code listings, something like \listoftables. Maybe there is a way to create own list of listings or to put them to \listoftables.
Any help would be appreciated!
Graphics, Figures & Tables ⇒ Creating list of source code listings
-
- Posts: 2
- Joined: Sat Nov 25, 2017 12:36 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.

Creating list of source code listings
Look for
KR
Rainer
\lstlistoflistings
in the listings documentation.KR
Rainer
-
- Posts: 2
- Joined: Sat Nov 25, 2017 12:36 pm
Creating list of source code listings
Thank You!!
It was enough to do:
\lstlistoflistings
\addcontentsline{toc}{chapter}{Spis listingów}
in main file.
It was enough to do:
\lstlistoflistings
\addcontentsline{toc}{chapter}{Spis listingów}
in main file.