I am trying to draw a double line with different color by tikzpicture like this:
\begin{tikzpicture}
\draw[red] (0, 0 + .01) -- (1, 0 + .01);
\draw[blue] (0, 0 - .01) -- (1, 0 - .01);
\end{tikzpicture}
However, it is annoying to calculate the coordinate by myself for each time. Thus is there a way to write a macro for this like:
\tikzstyle{...}
?