4

Is there a way to use (disable) \MakeOuterQuote{"} in tikz while using \usetikzlibrary{quotes}?

MWE:

\documentclass{article}

\usepackage{csquotes}
%\MakeOuterQuote{"} %breaks tikz library

\usepackage{tikz}
\usetikzlibrary{quotes}

\begin{document}
\tikz \node ["abc" draw] {node};
\end{document}
5

Add

\tikzset{every picture/.prefix code=\DisableQuotes}

or

\tikzset{every picture/.prefix style={execute at begin picture=\DisableQuotes}}

after loading TikZ.
The first one is executed a little bit earlier then the second when a TikZ picture is started.

The macro \DeleteQuotes can also be used.

  • instead of appending prefixing is a bit safer. – percusse Apr 11 '13 at 19:40

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.