我的文本中的公式有错误包inputenc错误:Unicode字符(u + 2061)。一个例子是以下等式。
\begin{equation}
\begin{aligned}
\alpha = -1,38880 + 1,72027920\times10^{-2}t_{e} + 3,199\times10^{-2} sen(\omega t_{e} )- 2,65\times10^{-3} cos(\omega t_{e} ) + 4,05\times10^{-2} sen(2\omega t_{e} ) + 1,525\times10^{-2} cos(\omega t_{e})
\label{eq1}
\end{aligned}
\end{equation}
如何设置它?
sen
和(\omega t_{e} )
以及cos
和(\omega t_{e} )
之间有一些看不见的角色。删除它们,然后代码再次运行。
与问题无关:
cos
你应该使用\cos
。sen
作为意大利语/西班牙语/ \sin
的任何版本,那么这也应该是直立排版。像babel
这样的软件包提供宏\sen
来做到这一点。1,38880
写数字,小数分隔符周围的间距将是错误的。要解决此问题,请使用1{,}38880
或icomma
软件包,或使用siunitx
软件包中的专用宏。\documentclass{article}
\usepackage[spanish]{babel}
\usepackage{mathtools}
\usepackage{icomma}
\begin{document}
\begin{equation}
\alpha = -1,38880 + 1,72027920\times10^{-2}t_{e} + 3,199\times10^{-2} \sen(\omega t_{e} )- 2,65\times10^{-3} \cos(\omega t_{e} ) + 4,05\times10^{-2} \sen(2\omega t_{e} ) + 1,525\times10^{-2} \cos(\omega t_{e})
\label{eq1}
\end{equation}
\end{document}