How can I make comments inside an long equation, something like:

```
\begin{equation}
G(r)
% comment here
= \frac{A}{B}
= \frac{\frac{t_c}{3}}{2 \cdot \frac{2t_b + t_v + t_c}{r}} = \frac{t_c}{6 \cdot (2t_b + t_v + t_c)} \cdot r
\end{equation}
```

Skip to content
# [Tex/LaTex] How to make comments inside an equation

amsmathequations

How can I make comments inside an long equation, something like:

```
\begin{equation}
G(r)
% comment here
= \frac{A}{B}
= \frac{\frac{t_c}{3}}{2 \cdot \frac{2t_b + t_v + t_c}{r}} = \frac{t_c}{6 \cdot (2t_b + t_v + t_c)} \cdot r
\end{equation}
```

## Best Answer

Do you mean something like this? If you are referring to setting source code (LaTeX listings) you should clarify that a bit in your question.