General ⇒ How to change caption style in figure ?
How to change caption style in figure ?
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
How to change caption style in figure ?
one possible solution is provided by the chngcntr package:
Code: Select all
\usepackage{chngcntr}
\counterwithin{figure}{section}
Re: How to change caption style in figure ?
Firstly, big thanks for rapid time of answer

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