Donate
You find LaTeX Community useful? Please donate! Learn why!
Who is online
In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)Most users ever online was 108 on Tue Jun 08, 2010 3:33 pm
Users browsing this forum: No registered users and 9 guests
Custom List of Listings (listings package) possible?
5 posts
• Page 1 of 1
Custom List of Listings (listings package) possible?I have all my Listings in an Appendix, and I want to add a list of listings at the beginning of that appendix. Obviously this means it should not be section level (rather subsection or no title at all), nor should it appear in the toc. By default (or at least in combination with the other packages I use), it appears in the toc and is considered an unnumbered section. Is there any way to change this?
Here's the list of packages I use:
Re: Custom List of Listings (listings package) possible?Hi,
here's a quick workaround, you could place this where you called \lstlistoflistings:
I just disabled \section* and \addtocontents temporarily. Stefan LaTeX Community Moderator
TeXblog.net
Re: Custom List of Listings (listings package) possible?That almost worked, but it still gets added to the hyperref pdf bookmarks.
Re: Custom List of Listings (listings package) possible?If you want to avoid this bookmark you could disable \addcontentsline too. It should be enough to do this instead of disabling \addtocontents, the workaround changes to:
Stefan LaTeX Community Moderator
TeXblog.net
Re: Custom List of Listings (listings package) possible?Many thanks, it works as desired now.
I changed it to
to get a subsection style heading though.
5 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 9 guests |




