\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{depD-format}

\usepackage{cleveref}

\renewcommand\figurename{Fig. }
\renewcommand\tablename{Table }
\renewcommand\theequation{\thesection-\arabic{equation}}
\renewcommand\thefigure{\thesection-\arabic{figure}}
\renewcommand\thetable{\thesection-\arabic{table}}

\crefdefaultlabelformat{#1}
\crefname{figure}{Fig.}{Fig.}
\Crefname{figure}{Fig.}{Fig.}
\crefname{table}{Table}{Tables}
\Crefname{table}{Table}{Tables}
\crefname{section}{section}{sections}
\Crefname{section}{Section}{Sections}
\crefname{equation}{Eq.}{Eq.}
\Crefname{equation}{Eq.}{Eq.}
\creflabelformat{equation}{(#1)}

\newcommand\resetrefcounter{
    \setcounter{equation}{0}
    \setcounter{figure}{0}
    \setcounter{table}{0}
}
