General ⇒ setting figure number
setting figure number
I want to put in some figures. did so using \includegraphics. but for captions if I use \caption it automatically takes the figure numbers to be 1, 2, 3 ... while I want them to appear as 1.1, 1.2, 1.3,...How do I forcefully do it ? I removed the \caption command and just typed in by hand 1.1: this is a caption. but then i cannot change the width of the text-line of the caption.
Any help?
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
setting figure number
Code: Select all
\usepackage[font=small,labelfont=bf]{caption}
\captionsetup{figurewithin=section,tablewithin=section}
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10