Не могу найти ошибку, хоть убей

Не могу найти ошибку, хоть убей

У меня есть этот блок текста на обороте с уравнением внизу, и я не могу найти, почему overleaf не компилируется. Он говорит, что у меня отсутствует $ или {, но я не вижу в этом проблемы. Overightharp — это пакет, который я импортировал, и он работает нормально, так что проблема не в этом. Что здесь не так?

The stiffness matrix $\bf{K}$ of the physical reservoir 
is a function of $\overrightharp{x}$, where 
$\overrightharp{x}=\[x_1(t), x_(t),...,x_D(t)\]$ 
is a collection of all displacements for $D$ 
masses/nodes/neurons. Since the mass displacements 
vary as a function of time, the stiffness matrix 
dies as well. Consequently, the system's eigenvalues 
and eigenfrequencies vary as a function of time. Using 
the discretized time-scale $m=1,2,3,...,M$ with time-step 
$dt$, the system's eigenvalues $\overrightharp{\lambda}(m)$ 
and eigenfrequencies $\overrightharp{\omega}(m)$  are found 
analytically for each time step by solving the by solving the 
Quadratic Eigenvalue Problem (QEP) shown below, where 
$\overrightharp{v}(m)$ are the eigenvectors at each each 
time-step $m$. There are a total of $2D$ eigenvalues, unlike 
traditional eigenvalue problems where there are $D$ eigenvalues \cite{QEP}.

\begin{equation}
   \left(\bf{M} \overrightharp{\lambda^2}(m)+\bf{C}\overrightharp{\lambda}(m)
   +\bf{K}\right)\overrightharp{v}(m) = 0
\end{equation}

решение1

Параметр \overrightharpнабирается в текстовом режиме (см.https://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/harpoon/harpoon.pdf), поэтому использование $\overrightharp{\lambda}$не работает, так как это было бы похоже на написание \lambdaтекста. Вместо этого вы можете использовать \overrightharp{$\lambda$}.

Например, измените $\overrightharp{\lambda}(m)$на \overrightharp{$\lambda$}$(m)$.

Редактировать: это работает, но гарпун будет немного уродливым. Пакет, accentsвероятно, работает лучше, см.https://tex.stackexchange.com/a/426353/319442.

Связанный контент