Use subcaption package

Use the subcaption package instead of the outdated subfigure
This commit is contained in:
Gergely Meszaros 2021-07-04 22:26:19 +02:00
parent fa5281d00f
commit 47a93a3856
2 changed files with 4 additions and 4 deletions

View File

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

View File

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