Equation labels (feature request)
Hi! I often want my diagrams to appear in labeled equation environments. It would be useful if the editor included an option to add an equation label and then export the latex code in the form %link \begin{equation}\label{...} DIAGRAM \end{equation}
Otherwise I find myself making several copy and pastes to get the diagram in place and the %link in place without copying over the equation label.
Thanks for all of your work on this!
Why not just put your \textbf{My diagram label} in a cell next to the diagarm?
@seanpkh: is there a reason you don't want the code to be in the following format?
\begin{equation}\label{...}
% link
DIAGRAM
\end{equation}
@FruitfulApproach: \label doesn't add text, but rather allows you to refer to the equation number outside of that environment.
@varkor for either option, it would be convenient to have a toggle in the LaTeX export window alongside the "Center diagram" and "Ampersand replacement" toggles that automatically produces this formatting. Remembering the label would be a bonus! In my opinion having the link outside the environment as suggested by @seanpkh seems the most consistent with existing format options.