1

我文本中的方程式有错误 Package inputenc Error: Unicode char (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}

我怎样才能设置它工作?

4

1 回答 1

1

sen⁡(\omega t_{e} )cos和之间有一些看不见的字符⁡(\omega t_{e} )。删除它们,代码再次工作。

与问题无关:

  • 而不是cos你应该使用\cos.

  • 如果sen用作意大利语/西班牙语/任何版本的\sin,那么这也应该是直立的。像这样的包babel提供了执行此操作的宏\sen

  • 如果你写的数字1,38880在小数点分隔符周围有空格是错误的。要修复此使用1{,}38880icomma包或使用包中的专用宏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}
于 2019-03-06T16:13:35.990 回答