I would like to add a citation in a legend entry in combination with using tikzexternalize. It seems like tikzexternalize is causing some errors here. The \cite{} command is not properly converting the bibitem to the desired citation.

Here is a MWE



@Book{test, title = "Title"}

\addplot {x^2};
\addlegendentry{Differentiator from {\cite{test}}}


Removing the two lines


yields the desired output. Is there a workaround to use the \cite{} command in combination with tikzexternalize?



You must log in to answer this question.

Browse other questions tagged .