Sign up ×
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.

I have to use tikz graphics with my PDF file, written in MiKTeX 2.8 LaTeX.

When I write \usepackage{tikz} with \usepackage{devanagari}, LaTeX produces an error

      catcode '\"=12
share|improve this question

1 Answer 1

The loading order is important: load tikz before devanagari, not the other way round. This example works with pdfLaTeX:

Here is devanagari:
{\dn calo devanagarI me likhate hai}

If you change the order of tikz and devanagari in this example, you would get the mentioned error


Btw. XeLaTeX is useful for writing Devanagari, perhaps have look at

share|improve this answer

Your Answer


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.