My figure is somehow centered, but not exactly centered. Why?
A more general question would be: If I have a TikZ picture with already-computed coordinates, that I can't easily re-compute, how can I reduce and translate the picture so the result fits in the available width and is horizontally centered?
I found some similar problems on this site, with different suggestions ("Overfull \hbox" warning, ...), but I still don't understand.
Remarks:
- I'm compiling with LuaTeX.
- I don't have an "Overfull \hbox" warning (but if I use a bigger scalebox factor, I have the warning)
- Even if I give TikZ some very-translated-to-the-right coordinates, it displays me the same triangle
- I used many-digits decimal, because I thought there might be some rounding errors, but that doesn't seem to make any difference
- My example is contrived, but is just a simplification of a bigger picture where I had the same problem
\documentclass[article]{jlreq}
\usepackage[a5paper,paperheight=1.00000cm,paperwidth=1.00000cm,top=0.00000cm, bottom=0.00000cm, left=0.00000cm, right=0.00000cm, twoside=false]{geometry}
\usepackage{tikz}
\begin{document}
\begin{figure}[h!]
\centering
\scalebox{0.455400}{
\begin{tikzpicture}
\filldraw [fill=red, draw=none] (12.00000, 1.50000cm) -- (11.00000cm, 1.00000cm) -- (13.00000cm, 1.00000cm);
\end{tikzpicture}
}
\end{figure}
\end{document}

