Skip to content
Snippets Groups Projects
Unverified Commit 216e6636 authored by Vasco-Da-Gama-png's avatar Vasco-Da-Gama-png Committed by GitHub
Browse files

Add longlisting

Add floating environment longlisting for code with a caption which brakes over pages.
parent 6334b0c8
No related branches found
No related tags found
No related merge requests found
......@@ -424,6 +424,8 @@
name=\TransListing{},
listname=\TransListOfListings{},
}
% Create a new environment for breaking code listings across pages.
\newenvironment{longlisting}{\captionsetup{type=listing}}{}
% Setup for referencing the floats correctly is done in `cleveref` settings!
% In code environments, to be able to copy from the PDF (despite that not being a good
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment