From 47a93a3856822dd359f7f01a0665b6b4daa45651 Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sun, 4 Jul 2021 22:26:19 +0200 Subject: [PATCH] Use subcaption package Use the subcaption package instead of the outdated subfigure --- chapters/user.tex | 4 ++-- elteikthesis.cls | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chapters/user.tex b/chapters/user.tex index 47e302f..f0318a5 100644 --- a/chapters/user.tex +++ b/chapters/user.tex @@ -85,10 +85,10 @@ In non ipsum fermentum urna feugiat rutrum a at odio. Pellentesque habitant morb \begin{figure}[H] \centering - \subfigure[Vestibulum quis mattis urna]{ + \subcaptionbox{Vestibulum quis mattis urna}{ \includegraphics[width=0.45\linewidth]{elte_cimer_szines}} \hspace{5pt} - \subfigure[Donec hendrerit quis dui sit amet venenatis]{ + \subcaptionbox{Donec hendrerit quis dui sit amet venenatis}{ \includegraphics[width=0.45\linewidth]{elte_cimer_szines}} \caption{Aenean porttitor mi volutpat massa gravida} \label{fig:example-2} diff --git a/elteikthesis.cls b/elteikthesis.cls index 6527315..e70fe10 100644 --- a/elteikthesis.cls +++ b/elteikthesis.cls @@ -194,7 +194,7 @@ % Maximális ill. minimális méret megadása ábráknak \RequirePackage[export]{adjustbox} % Több ábra egy figure-on belül -\RequirePackage[center]{subfigure} +\RequirePackage{subcaption} % Ábrák forgatása \RequirePackage{rotating} @@ -374,7 +374,7 @@ % ------------------------------ % Feliratok, tartalomjegyzék, ábrajegyzék, táblázatjegyzék \RequirePackage[justification=centering]{caption} -\RequirePackage[subfigure]{tocloft} +\RequirePackage{tocloft} % ------------------------------