I'm wondering whether there's a way in TikZ to join neatly to lines drawn with different \draw commands. Specifically for me, joining a line to an arc.
Here's my MWE:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (1,0);
\draw (1,0) arc (180:360:0.5);
\draw (2,0) -- (3,0);
\end{tikzpicture}
\end{document}
If you were to zoom in to the join of the arc and the line you can see that there isn't a nice miter-type join. Is there a way to rectify this? To make this one continuous line for example?
Thanks.
\draw (0,0) -- (1,0) arc (180:360:0.5)--(3,0);