%%
%% macros.tex -- latex commands
%%

\newcommand{\chapref}[1]{Chapter~\ref{#1}}
\newcommand{\secref}[1]{section~\ref{#1}}
\newcommand{\figref}[1]{figure~\ref{#1}}
\newcommand{\appref}[1]{Appendix~\ref{#1}}

\newcommand{\type}[1]{``{\tt #1}''}

\newcommand{\cmd}[2]{\subsection*{{#1} {#2}}}
\newcommand{\parm}[1]{\mbox{$<\!$ {#1} $\!>$}}
\newcommand{\optparm}[1]{\mbox{[{#1}]}}
\newcommand{\icmd}[1]{{\bf {#1}}}
\newcommand{\iin}{{\rm in}}
\newcommand{\ord}{{\rm ord}}


\newcommand{\Macaulay}{{\it Macaulay\/}}
\newcommand{\std}{standard}
\newcommand{\Std}{Standard}

\newcommand{\hey}[1]{\marginpar{\em #1}}
\newcommand{\fix}{\hey{~~FIX! FIX!}}

\newcommand{\capt}[1]{\begin{center}
	#1
	\end{center}}

\newcommand{\Grobner}{Gr\"{o}bner}
\newcommand{\return}{{\tt <return>}}
\newcommand{\bslash}{$\backslash$}

\newcommand{\kn}{\mbox{$k[x_1,\ldots,x_n]$}}
\newcommand{\k}[2]{\mbox{$k[{#1}_1, \ldots, {#1}_{#2}]$}}
\newcommand{\row}[2]{\mbox{${#1}_1,\ldots,{#1}_{#2}$}}
\newcommand{\rowz}[2]{\mbox{${#1}_0,\ldots,{#1}_{#2}$}}

\newcommand{\Proj}{{\mbox{Proj}}}
\newcommand{\proj}[1]{\mbox{${\bf P}^{#1}$}}
\newcommand{\affine}[1]{\mbox{${\bf A}^{#1}$}}
