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?

  • 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
  • 3
    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 0:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.