I was trying to follow the instructions on this answer, but I cannot make it work, because babel
. My MWE:
\documentclass[justified]{tufte-handout}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[main=spanish,english]{babel}
\usepackage{tikz}
\usetikzlibrary{babel}
\begin{document}
% Globally, I need it to work:
% \tikzset{>=latex}
\begin{figure}
\centering
\begin{tikzpicture}
% Locally it works
\tikzset{>=latex}
\draw [->] (-2,0) -- (-2.5,0);
\end{tikzpicture}
\end{figure}
\end{document}
So, the problem is I need babel, and I need to be able to configure the arrow heads just once, since I need to draw a lot of figures with that head, is there a way I could use this configuration outside the tikzpicture
?
Thanks in advance!
tikzpicture
options, put them into document preamble.