I want these left-right-arrows to be higher, at center, as the red ones go, but I have no idea how it can be done.
Here's my code:
\documentclass{article}
\usepackage{geometry}
\usepackage[demo]{graphicx}
\usepackage{subfig}
\begin{document}
\begin{figure}[htb]%
\centering
\subfloat[$f(t)$]{{\includegraphics[width=5cm]{pierw1} }}%
\qquad
\subfloat{$\Longleftrightarrow$}%
\qquad
\subfloat[$F(\omega)$]{{\includegraphics[width=5cm]{pierw2} }}%
\subfloat[$F(t)$]{{\includegraphics[width=5cm]{pierw3} }}%
\qquad
\subfloat{$\Longleftrightarrow$}%
\qquad
\subfloat[$2 \pi f(-\omega)$]{{\includegraphics[width=5cm]{pierw4} }}%
\caption{2 Figures side by side}%
\label{fig:example}%
\end{figure}
\end{document}
I tried by making it as a subfloat, but I don't know how I can position it.
And second problem – how can I get rid off these (a) (b) etc. while leaving caption only?
Best Answer
Below I set the images using
adjustbox
'svalign=c
. This places thev
ertical anchor (used foralign
ment) at thec
entre. Since each image is set with the same (fixed) width, the "subcaptions" are set inside a similar-width\makebox
:Without the need for subfloat numbering, you can just set the entire structure inside a
tabular
: