一些命令(\footnote 或\phantom)內嵌於\caption 或\section時會失效,這時加上\protect可以保證不失效。
\section{Higer Order Difference Equations \footnote{See James(2000)}} %\footnote失效
\section{Higer Order Difference Equations \protect\footnote{See James(2000)}}
注意\protect只保護緊跟其后的命令本身,命令的參數並不受到保護,如果要保護參數,需要在參數前加\protect。