But I'm not naming a path L\s and the code seems to work, but when I tell TikZ to draw that path, it just returns a blank.
My guess is that \L1 is not what this path is called?
Thanks!
-Dan
Code: Select all
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \s in {0,...,1} {
\path[save path=\L\s] (0,0) -- (1,\s);
};
\draw[use path=\L1];
\end{tikzpicture}
\end{document}