
教授の講義ノートをデジタル化しようとしています。
方程式に矢印と注釈を追加するにはどうすればいいですか? 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}