1

I want to have have ":" in the name of one node but my compiler hanged when I put ":" there. I mean the following code in okay

\begin{tikzpicture} 
\node[] at (5.1,-1) {$Z_t^{1 N}$};
\end{tikzpicture}

But the following one doesn't work

\begin{tikzpicture} 
\node[] at (5.1,-1) {$Z_t^{1:N}$};
\end{tikzpicture}

Any idea?

MS-SPO
  • 11,519
m0_as
  • 311
  • Colon or semicolon? I have no problem with the code, can you add a minimal example reproducing the issue? – egreg May 20 '16 at 23:19
  • 1
    Both colon and semicolon work fine, if the snippet is expanded to a MWE (\documentclass{article}\usepackage{tikz}\begin{document}...\end{document}). – Heiko Oberdiek May 20 '16 at 23:21
  • I don't know why it hangs whenever I run the code. – m0_as May 20 '16 at 23:29
  • With the latest version of TeXLive, the MWE wrapper as suggested by @HeikoOberdiek works fine for me, too. – user2943160 May 20 '16 at 23:36
  • It also works for me when I put that part of my original code in a new tex file. But when I put : in my original code, that problem occurs. – m0_as May 20 '16 at 23:38
  • 4
    Then something in your original code which you haven't shown here causes the problem. What that is we can't know. That's why you need to provide a complete example which reproduces the issue. – cfr May 21 '16 at 00:35
  • Try to delete temporary files created by LaTeX? – jiaopjie May 21 '16 at 04:01
  • Yes, the problem was with this package \usepackage{breqn}. I removed that from my original code and this solved the issue. Thanks all. – m0_as May 22 '16 at 04:41
  • There are many questions that have the topic of TikZ and breqn. Consensus seems to be to not use breqn anymore and replace it with better packages. – Qrrbrbirlbel Aug 30 '22 at 12:27

0 Answers0