Here is a simple file defining a TikZ command with an input for drawing options. That input works for options such as dashed or dotted. But it ignores the rotate and scale options. It runs fine with them, but it runs just as if they were not there.
The actual diagrams I want to draw are much more complicated and would benefit if I could use rotate and scale options. Can I do that somehow?
\documentclass{amsart}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\[\begin{tikzpicture}
\def\line[#1](#2)% Syntax: [draw options] (lefthand endpoint
{\node at (#2) (A) {$\bullet$};
\node at ($(#2)+(1,0)$) (B) {$\bullet$};
\draw[#1] (A) edge[] (B);}
\line[rotate=30,dashed](0,0);
\end{tikzpicture}\]
\end{document}
scope
environment?