![我正在使用 Texniccenter,由于图片标题中缺少 { 而出现错误,尽管一切看起来都很好](https://linux22.com/image/322219/%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20Texniccenter%EF%BC%8C%E7%94%B1%E4%BA%8E%E5%9B%BE%E7%89%87%E6%A0%87%E9%A2%98%E4%B8%AD%E7%BC%BA%E5%B0%91%20%7B%20%E8%80%8C%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%EF%BC%8C%E5%B0%BD%E7%AE%A1%E4%B8%80%E5%88%87%E7%9C%8B%E8%B5%B7%E6%9D%A5%E9%83%BD%E5%BE%88%E5%A5%BD.png)
我收到了一条关于失踪{的消息,插入标题中
\caption{Schematic of band alignment due to the contact formation between
metal and n-type semiconductor. Here, $\phi_{MS}$ is the difference of
metal work function ($\phi_M$) and semiconductor work function ($\phi_S$),
E$_F$ is the Fermi energy level of metal, E$_F$ is the Fermi energy level
of semiconductor, E$_C$ is the the conduction band (CB) minima, E$_V$ is
the valence band (VB) maxima and $\phi_S^'$ is Shottky barrier
height [Piprek\cite{AB2}].}
并.lof
以文本打开文件
\addvspace {10\p@ }
\contentsline {figure}{\numberline {1.1}{\ignorespaces Schematic of band
alignment due to the contact formation between metal and n-type
semiconductor. Here, $\phi _{MS}$ is the difference of metal work function
($\phi _M$) and semiconductor work function ($\phi _S$), E$_F$ is the
Fermi energy level of metal, E$_F$ is the Fermi energy level of
semiconductor, E$_C$ is the the conduction band (CB) minima, E$_V$ is the
valence band (VB) maxima and $\phi _S^'$ is Shottky barrier height
[Piprek\cite {AB2}].}}{6}{figure.1.1}
有人能帮忙解决这个错误吗
答案1
问题出在 上。LaTeX 在数学模式下将撇号解释为上标素数,因此和$\phi_S^'$
之间没有区别。因此,如果您写,它将被解释为,这是一个双上标并导致您得到的错误。\phi_S'
\phi_S^\prime
\phi_S^'
\phi_S^^\prime
正确的写法是$\phi_S'$
。
也可以看看这篇 TeX.SX 文章。