This question already has an answer here:

I'm compiling a document with class article, in which I use tikz library with this libraries:


And I have this picture (and nothing more in the document):

\node[abstrtz,very thick,rounded corners=0.3cm] (Msg) 
\node[abstrtz,very thick,rounded corners=0.3cm,right of =Msg, node distance = 3cm] (MsgC) 
\draw[->] (Msg) -- (MsgC);

I'm compiling it with XeLaTeX. If I comment the \draw... line, it compiles perfectly and displays both nodes. abstrtz is a node defined like:

  abstrtz/.style = {
    rectangle, rounded corners=0.5cm,
    draw = BGColoro, fill = BGColor, line width = 2pt,
    minimum height = 2em, inner sep = 10pt,

However trying to compile with that line, it throws the error: ERROR: Argument of \language@active@arg> has an extra }.

I have observed that if I comment the use of the babel package, it works, and properly displays the arrow. Why is this? Is this normal, and is there a way to fix it?

I was using babel package set in spanish:


Changing that line with \usepackage[latin1]{inputenc} apparently works because I was using nothing else of the babel package than being able to type the characters á, é, í, ó, ú...

marked as duplicate by Torbjørn T. tikz-pgf Jul 7 '15 at 17:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Try adding \usetikzlibrary{babel}. – Torbjørn T. Jul 7 '15 at 17:02
  • Use \spanishdeactivate{<,>} command to change the catcode of symbols < and >. – skpblack Jul 7 '15 at 17:05

Browse other questions tagged or ask your own question.