I have the following code:
\begin{figure}
\centering
\includegraphics[width=1\textwidth]{Fig/cross_section.jpg}
\caption{
Photon's total cross section as a function of energy in Lead. Taken from \cite{phys}. Where:
\newline
$\sigma_{p.e.}$ = Atomic photoelectric effect\\
$\sigma_{Rayleigh}$ = Rayleigh (coherent) scattering\\
$\sigma_{compton}$= Compton (incoherent) scattering\\
$\kappa_{nuc}$ = Pair production, nuclear field\\
$\kappa_{e}$ = Pair production, electron field}
\label{fig:2.1}
\end{figure}
I want to make it so all the text is aligned with respect to the = sign. I tried using align but then my code refused to compile. The same happened when i tried using \hspace and do it manually. Can someone help me out or point out what I am doing wrong?
\captionyou will get into alignment trouble within\listoffigures. – Dec 04 '17 at 13:25\caption[]{}– Sigur Dec 04 '17 at 13:31\caption[..]{...}in order to avoid moving arguments causing an issue and then use whatever you want in the mandatory argument to align your caption and text. – Werner Dec 05 '17 at 01:34