TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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}
share|improve this question
up vote 5 down vote accepted

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.

share|improve this answer
    
instead of appending prefixing is a bit safer. – percusse Apr 11 '13 at 19:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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