I am trying to have a label with the text "I(X;Y)". However, it fails to compile due to the semicolon. Is there any way to escape the semicolon?
Edit: The following code works perfectly
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
\node at (0,0){$I(X;Y)$};
\end{tikzpicture}
\end{document}
However, in my document I had \usepackage{breqn} and compilation does not complete when used with it.
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{breqn}
\begin{document}
\begin{tikzpicture}
\node at (0,0){$I(X;Y)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone} \begin{document} \begin{tikzpicture} \node at (0,0){$I(X;Y)$}; \end{tikzpicture} \end{document}compiles without problems. Which errors do you get? Could you please provide us with a minimal document that starts with\documentclass, ends with\end{document}and illustrates the problem? – Feb 19 '19 at 16:36breqnin my document and I removed it and it worked perfectly. But still, I would like to know why this doesn't work and a possible workaround while using it. – HariKumar K Feb 19 '19 at 17:28