From 8a305ce641c0454e47e1d015eb68ff849c3e9c10 Mon Sep 17 00:00:00 2001 From: novacto3 <tomas.novacek@fit.cvut.cz> Date: Mon, 18 Mar 2024 09:00:33 -0400 Subject: [PATCH] Fix of minted label --- ctufit-thesis.cls | 1 + 1 file changed, 1 insertion(+) diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls index 76ed5ce..9fc5a31 100644 --- a/ctufit-thesis.cls +++ b/ctufit-thesis.cls @@ -525,6 +525,7 @@ }{}% \@ifpackageloaded{minted}{% \DeclareRobustCommand{\listingscaption}{\thectufitlistinglabel}% + \SetupFloatingEnvironment{listing}{name=\listingscaption} \DeclareRobustCommand{\listoflistingscaption}{\thectufitlollabel}% \DeclareRobustCommand{\listlistingname}{\thectufitlollabel}% \DeclareRobustCommand{\thectufitlistingscommand}{\listoflistings}% -- GitLab