
교수님 강의노트를 디지털화 하려고 합니다.
방정식에 화살표와 주석을 어떻게 추가합니까? TikZ를 사용하여 이 작업을 수행할 수 있다는 것을 알고 있지만 이제 막 시작하기 시작했기 때문에 아직 어떻게 해야 할지 모르겠습니다.
조립할 다양한 부품은 다음과 같습니다.
begin{align*}
L &= T - V \\
&= \frac{1}{2} m \sum_{n=1}^N \dot{q}_n^2 - \frac{1}{2} \kappa \sum_{n=1}^N (q_{n+1} - q_n)^2
\end{align*}
\begin{equation*}
\dot{x}_n (t) = \dot{q}_n (t)
\end{equation*}
It's only the difference in the displacements of the masses from their equilibrium position that contributes to the potential energy
\begin{align*}
\big( x_{n+1} (t) - x_n (t) \big) - \epsilon &= ( n + 1 ) \epsilon + q_{n+1} (t) - n \epsilon - q_n (t) - \epsilon \\
&= q_{n+1} (t) - q_n (t)
\end{align*}
답변1
덕분에@앤드류 스테이시제안을 위해! 나는의 지시에 따라 작동하게했습니다.이 페이지그리고이 페이지. ( 단순화를 위해 \epsilon
'를 로 대체했습니다 .)a
{%
\begin{textblock*}{2in}(0.88in,1.25in)%
\begin{minipage}[h!]{2in}
\begin{equation*}
\tikzmarknode{xdot}{\boxed{\dot{x}_n (t) = \dot{q}_n (t)}}
\end{equation*}
\end{minipage}%
\end{textblock*}%
}
{%
\begin{textblock*}{3in}(2.7in,1.1in)%
\begin{minipage}[h!]{3in}
\noindent It's only the difference in the displacements of the masses from their equilibrium position that contributes to the potential energy
\begin{align*}
\big( x_{n+1} (t) - x_n (t) \big) - a &= ( n + 1 ) \epsilon + q_{n+1} (t) \\
&\quad - n a - q_n (t) - a \\
&= q_{n+1} (t) - q_n (t)
\end{align*}
\end{minipage}%
\end{textblock*}%
}
\noindent The Lagrangian of this system is
\begin{align*}
L &= T - V \\
&= \frac{1}{2} m \sum_{n=1}^N \tikzmarknode{qdot}{\dot{q}_n^2} - \frac{1}{2} \kappa \sum_{n=1}^N \underbrace{ {(q_{n+1} - q_n)}^2 }
\end{align*}
\begin{tikzpicture}[overlay, remember picture]
\draw[overlay,->] (xdot) -- (qdot.south);
\end{tikzpicture}