I've read the other questions on this site corresponding to the same error and I just don't understand why I can't resolve the issue on my machine. Here is essentially what my code looks like:

\usepackage{xcolor, listings}


\mathbb{0} \arrow[d, “!”] \arrow[r, “!”] & \mathbb{1} \arrow[d, “\bot”] \\
\mathbb{1} \arrow [r, “\top”] & \Omega


The specific error I get reads:

! Missing \endcsname inserted.
<to be read again> 
l.91 \end{tikzcd}

Is there a problem with my library declarations? I can't tell what about my diagram might be off. Troubleshooting suggestions appreciated.

1 Answer 1


You need straight ascii " not left and right double quotes:

\mathbb{0} \arrow[d, "!"] \arrow[r, "!"] & \mathbb{1} \arrow[d, "\bot"] \\
\mathbb{1} \arrow [r, "\top"] & \Omega
  • Ahh, interesting. Can this be adjusted in the editor I'm using? I'm in TeXWorks, my keyboard just defaults to the left and right double quotes.
    – Mnifldz
    Mar 27, 2021 at 0:13
  • sorry I know nothing about texworks but I would be very surprised if any editor designed for tex makes it hard to insert " @Mnifldz Mar 27, 2021 at 0:16
  • Thanks, got it working. It was in fact some formatting preset in the editor.
    – Mnifldz
    Mar 27, 2021 at 0:20

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.