Added compatibility=false to caption to make it work with subcaption.

main
Taha Ahmed 7 years ago
parent 8c840e069a
commit a09a5ae77c

@ -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

Loading…
Cancel
Save