I am using the following code borrowed from here with some modifications:
\documentclass[10pt]{article}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{figure}
\begin{minipage}[b][5cm][s]{.45\linewidth}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\vspace*{1cm}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\vspace*{1cm}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\vspace*{1cm}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\end{minipage}
\begin{minipage}[b][5cm][s]{.45\linewidth}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\vspace*{1cm}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\vspace*{1cm}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\vspace*{1cm}
\begin{tikzpicture}[
pool/.style={
circle, draw=blue!50, fill=blue!20, thick,
inner sep=0pt, minimum size=10mm
}
]
\node[pool] (A) {A};
\node[pool] (B) [right=of A] {B};
\draw [<->] (A) -- (B);
\end{tikzpicture}
\end{minipage}
\caption{Numerous images.}
\end{figure}
\end{document}
The \caption
is not inserted properly as seen in the image below:
How to fix this?