# Overlapping lines get thicker in TikZ

In the following example, I have drawn a couple of arrows in TikZ that are overlapping at one end.

\documentclass[12pt]{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\foreach \x in {1,...,10}
\draw[->] (0,0) -- (\x,0);
\end{tikzpicture}

\end{document}


Since the arrows are drawn separately, TikZ lays them on top of each other making them look thicker than normal. Is there any way to tell TikZ to not thicken lines/borders that are superimposed? Of course, I am looking for a general solution to this problem, not a quick fix for the simple example above.

• Did you try zooming in and out? It's a PDF viewer related anti-aliasing problem. See also tex.stackexchange.com/questions/49614/… – percusse Jun 23 '12 at 1:15
• So, it wouldn't look like this if I print the document? – Ali Jun 23 '12 at 1:21
• Drawing a line on top of itself will only make the line appear thicker if there is a slight offset. In this case, I don't see any offset and since the arrows are not redrawn on top not sure why you would think that the lines could get thicker? – Peter Grill Jun 23 '12 at 1:21
• @peter: The leftmost arrow clearly looks thicker to me than the rightmost one. Is that an illusion?! – Ali Jun 23 '12 at 1:25
• @Ali: Opening it in Acrobat and zooming in to 1600%, the last arrow look the same as the one before. – Peter Grill Jun 23 '12 at 2:00

\input tikz