I hope that this is not a duplicate. Consider the MWE
\documentclass[tikz]{standalone}
\standaloneconfig{border=-3cm 0cm 0cm 0cm}
\begin{document}
\begin{tikzpicture}
\draw(0,-5) grid (10,5);
\foreach \X in {0,...,10}
\node[circle,fill,label=45:{\X}] at (\X,0){};
\node at (5,2) {border=\{$\langle\mbox{length}~(\mbox{left})~\rangle$
$\langle\mbox{length}~(\mbox{right})~\rangle$
$\langle\mbox{length}~(\mbox{bottom})~\rangle$
$\langle\mbox{length}~(\mbox{top})~\rangle$
\}};
\end{tikzpicture}
\end{document}
The image gets cut at the left, which is consistent with the manual (top of page 9)
However, if I do
\standaloneconfig{border=0cm -3cm 0cm 0cm}
instead, I get
i.e. the image gets cut at the bottom (rather than right side).
Overall, I think that the standalone crops according to
border={left bottom right top}
What am I doing wrong?


