I have a figure with some variable names in it. At the moment i use a floatfoot from floatrow to add the explanation for the variable names and i really like the looks of it, but it has multiple problems.
Here the code:
\documentclass[a4paper,12pt]{article}
\usepackage{floatrow}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{x-ray-tube}
\floatfoot{
\begin{center}
$U_h$ heating potential, $U_a$ acceleration potential, $K$ cathode, $A$ anode,\\
$W_{in}$ cooling water inlet, $W_{out}$ cooling water outlet, $C$ cooler
\end{center}}
\caption{Schematic x-ray tube.\\
Source: \textit{Citation Source here}}
\label{fig:x-ray-tube}
\end{figure}
\end{document}
it throws an error (besides working great?) whenever i add either \centering or as in the example a begin center.
i would love to have the float in between the figure and its caption since it is somehow part of the figure.
At the moment it is:
(Image)
Fig 1: Caption
Floating infos
And i want it to be:
(Image)
Floating infos
Fig 1: Caption
- i'd like to then reduce the spacing a little bit, at the moment it seems very clunky.
LaTeX Error: Something's wrong--perhaps a missing \item.
If you want to test it, here is the image.
Image (from wikipedia):