TEXでキャプション番号(カウンタ)をコントロール

TEXでキャプション番号(カウンタ)をコントロール
これ→

 \renewcommand{\theequation}{B.\arabic{equation}} 
\renewcommand{\thefigure}{B-\arabic{figure}} 
\setcounter{figure}{0} 

参考
http://kmuto.jp/latex/node56.html