in my TEX document the section numbering is like this:
1.1
1.2
1.3
But I want
1-1
1-2
1-3
How can I do it?

Also, how can I do the same thing for equation numbering?

NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\renewcommand{\thesection}{\thechapter--\arabic{section}}
\renewcommand{\theequation}{\thechapter--\arabic{equation}}
NEW: TikZ book now 40% off at Amazon.com for a short time.