I am attempting to draw some pictures using tikz, with the decorations library, and am encountering a `Dimension too large' error. I have read the 20+ other questions/answers about this error, and have not found them to contain a solution that works in my case. (Apologies if I missed something.) In particular, most of those question seem to have to do with using pgf to do computations, whereas I am just using it to draw, and the error is coming in some process internal to tikz calculating its line paths.
Cutting to the chase, here is a MWE:
\documentclass{amsart}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
%\usetikzlibrary{fpu}
%\pgfkeys{/pgf/fpu=true, /pgf/fpu/output format=fixed}
\tikzset{
fuzzleft/.style={
preaction={draw,line width=2.5pt,black!25,decorate,decoration={curveto,raise=1.25pt}}}
}
\begin{document}
\begin{tikzpicture}
\draw[fuzzleft] (0,.5) arc (0:180:.2);
\end{tikzpicture}
\begin{tikzpicture}
\draw[fuzzleft] (0,.5) arc (0:180:.17);
\end{tikzpicture}
\end{document}
The first tikzpicture compiles, the second does not. When I put in the fpu and \pgfkeys lines (commented out above), as suggested in various answers, I then get an `ill-formatted floating point' error.
(Solutions that involve modifying the picture code itself (eg scaling and changing the numbers to get the same image, changing the specific drawing commands or method, etc) will not help me --- I was coming up with such hacks on each individual picture, but eventually the hacks themselves became unworkable on my actual more elaborate pictures.)
