Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

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.