\begin{figure}[H]
\centering
\includegraphics[width=14cm]{Text/Images/phi_geometrical.jpg}
\caption{Depiction of Azimuth Angle\begin{math}\;\phi_{geom}\;\end{math} in 2
dimensions}
\label{fig:phi_geometrical}
\end{figure}
我遇到了错误。有人能帮我解决这个问题吗?
答案1
\begin{math}
是脆弱的,应该被\protect
ed 或更好地替换为$
:
\documentclass{article}
\usepackage{here}
\begin{document}
\begin{figure}[H]
\centering
% \includegraphics[width=14cm]{Text/Images/phi_geometrical.jpg}
\caption{Depiction of Azimuth Angle \protect\begin{math}\;\phi_{geom}\;\protect\end{math} in 2
dimensions}
\label{fig:phi_geometrical}
\end{figure}
But why not simply
\begin{figure}[H]
\centering
% \includegraphics[width=14cm]{Text/Images/phi_geometrical.jpg}
\caption{Depiction of Azimuth Angle $\;\phi_{geom}\;$ in 2
dimensions}
\label{fig:phi_geometrical}
\end{figure}
\end{document}