1

I would like to change the arrow size of a diagram. I would like to have a small arrow. Looking at the code:

\begin{tikzpicture}[
every text node part/.style={align=center}, 
]
\node (a) at (0,0) {Economically Liberal States};
\node[below=of a] (b) {Free Trade Policies};
\node[below=of b] (c) {Protect and Support Industries};
\node[left=of a] (d) {Karl Polanyi};
\draw[->] (d.east)--(a.west);
\draw[->] (a.south)--(b.north);
\draw[->] (b.south)--(c.north);
\end{tikzpicture}

I got: enter image description here

I would like to get an arrow length like this one: enter image description here

2
  • I think you don't want to change the arrow length, but rather the distances between nodes. Try setting node distance=1cm as property of the tikzpicture.
    – TeXnician
    Feb 15, 2017 at 5:23
  • Thank you @TeXnician. I didn't know it was the distance rather the length. :) Feb 15, 2017 at 6:11

1 Answer 1

4

Distance rather than the length.

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{positioning}


\begin{document}
\begin{tikzpicture}[
every text node part/.style={align=center}, node distance=0.3cm
]
\node (a) at (0,0) {Economically Liberal States};
\node[below=of a] (b) {Free Trade Policies};
\node[below=of b] (c) {Protect and Support Industries};
\node[left=of a] (d) {Karl Polanyi};
\draw[->] (d.east)--(a.west);
\draw[->] (a.south)--(b.north);
\draw[->] (b.south)--(c.north);
\end{tikzpicture}
\end{document}

Thanks to @TeXnician

4
  • Please, can you add the complete MWE? With Papeeria I have several errors. Package PGF Math Error: Unknown function of' (in 'of a'). [\node[below=of a]].
    – Sebastiano
    Feb 15, 2017 at 8:43
  • @Sebastiano \usetikzlibrary{positioning}
    – Ignasi
    Feb 15, 2017 at 11:06
  • @Sebastiano Updated! :) Feb 15, 2017 at 14:03
  • @MaximilianoRodriguez Ok!!!!!!!!!!!!!!!!!!!!!!!!!. Thanks to you and Ignasi. There is, but, another mode to build your picture with tikz-cd.
    – Sebastiano
    Feb 15, 2017 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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