quiver icon indicating copy to clipboard operation
quiver copied to clipboard

Export equations? (feature request)

Open benjamin-macadam opened this issue 5 years ago • 5 comments

This app is fantastically useful. Would it be possible to export labelled equations rather than math-mode diagrams for those who like to reference diagrams using \ref or \cref?

benjamin-macadam avatar Mar 11 '21 18:03 benjamin-macadam

Could you give an example? Do you mean that \begin{tikzcd} ... \end{tikzcd} would be wrapped inside a \begin{equation} ... \end{equation}, or do you mean you have a 1-dimensional diagram that you want to export (e.g. using \rightarrow instead of TikZ arrows)?

varkor avatar Mar 11 '21 20:03 varkor

Yes - wrapping up the diagram in a \begin{equation}\label{-} ... \end{equation} rather than the math-mode \[ ...\]. (And perhaps a text field for the label?)

benjamin-macadam avatar Mar 11 '21 21:03 benjamin-macadam

For now, you could write \begin{equation}\label{-} ... \end{equation} in LaTeX first, and then paste the diagram inside (unchecking the "Centre diagram" checkbox). Perhaps it would be worth adding this feature to quiver itself, but I'm not sure how much value it adds compared to the extra complexity in having more options.

varkor avatar Mar 11 '21 22:03 varkor

Totally fair!

benjamin-macadam avatar Mar 11 '21 22:03 benjamin-macadam

I'm going to leave this issue open so that others can leave feedback if they also think it would be particularly useful.

varkor avatar Mar 13 '21 18:03 varkor