\usepackage[a4paper,nohead]{geometry}
\usepackage{bardiag}
%\usepackage{showkeys}

\usepackage{graphicx}  
\usepackage{subfigure}

\usepackage{verbatim}

\usepackage{makeidx}

\usepackage{listings}

\lstset{
  %language=[LaTeX]TeX,
  basicstyle=\small\ttfamily,
  numbers=left,
  numberstyle=\small,
  stringstyle=\ttfamily,
  commentstyle=\itshape,
  stepnumber=1
}

%\usepackage{xr}
%\externaldocument{bardiag2}


\renewcommand \thefigure {\thesection.\arabic{figure}}
\newcommand{\mysection}[1]{\section{{#1}}\setcounter{figure}{0}}
%-------------------------------------------------------
\newcommand{\barvers}{0.5 }

\newcommand{\bard}{{ \texttt{bardiag} }}
\newcommand{\pst}{{ \texttt{PSTricks}  }}
\newcommand{\figref}[1]{Fig.\ref{#1}}
\newcommand{\pac}[1]{{\texttt{#1}}}

\date{December 10, 2003}
\author{R. Stepanyan\\rstepanyan@yahoo.com}
