Hi,
I have little problem. In default Latex generate caption from style "Figure" + index of figure in document. I want to have different style, exactly "Figure" + number of section + index of figure in this particular section.
I have been searching Internet trying to find solution, but I failed.
Can anybody help me with this ? I will be grateful for any help.
Best regards
General ⇒ How to change caption style in figure ?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
How to change caption style in figure ?
Hi,
one possible solution is provided by the chngcntr package:
Stefan
one possible solution is provided by the chngcntr package:
Code: Select all
\usepackage{chngcntr}
\counterwithin{figure}{section}
LaTeX.org admin
Re: How to change caption style in figure ?
Hi Stefan,
Firstly, big thanks for rapid time of answer
Secondly, it works great! I am very grateful for help.
Best regards.
Firstly, big thanks for rapid time of answer

Secondly, it works great! I am very grateful for help.
Best regards.