
Estoy intentando digitalizar los apuntes de las conferencias de mi profesor.
¿Cómo agrego las flechas y las anotaciones a la ecuación? Sé que esto se puede hacer usando TikZ, pero recién comencé a aprenderlo... así que no tengo idea de cómo hacerlo todavía.
Aquí tenéis las diferentes piezas a montar.
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*}
Respuesta1
Gracias a@Andrés Staceypor la sugerencia! Lo hice funcionar siguiendo las instrucciones deesta páginayesta página. (Tenga en cuenta que también he reemplazado \epsilon
's a
por simplicidad)
{%
\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}