From a09a5ae77cc09d6b791398c4ac7c47b59ad8a727 Mon Sep 17 00:00:00 2001 From: "taha@luxor" Date: Thu, 3 May 2018 14:10:26 +0200 Subject: [PATCH] Added compatibility=false to caption to make it work with subcaption. --- LuaUUThesis.cls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LuaUUThesis.cls b/LuaUUThesis.cls index 1b2d09f..d4880b3 100644 --- a/LuaUUThesis.cls +++ b/LuaUUThesis.cls @@ -157,7 +157,9 @@ \DeclareOption{openright}{ \@UU@openrighttrue } \PassOptionsToPackage{figuresright}{rotating} -\PassOptionsToPackage{font=small,labelfont=bf,nooneline,textfont=it}{caption} +% added compatibility=false to make it work together with subcaption +% https://tex.stackexchange.com/questions/31906/subcaption-package-compatibility-issue#31927 +\PassOptionsToPackage{font=small,labelfont=bf,nooneline,textfont=it,compatibility=false}{caption} \PassOptionsToPackage{linktocpage, breaklinks=true, colorlinks=true, urlcolor=black, linkcolor=black, citecolor=black, filecolor=black, menucolor=black, pdfpagelabels,bookmarksnumbered=true,bookmarks=true}{hyperref} \ProcessOptions