I require the custom table number Like that
Table 4.1: Simple linear regression results
.
.
.
Table 4.2.1: dakdsdsfadfasdf
Similarly
Fig. 2.2.1 a: Scatter plot
Fig. 2.4: histogram
Hope get help soon
Graphics, Figures & Tables ⇒ Custom Table and Figure numbers
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Custom Table and Figure numbers
Hi imdadullah,
welcome to the board!
You could use the caption package, it offers many ways for customizing captions and their numbering and it's well documented. Just follow the link to find the manual.
Stefan
welcome to the board!
You could use the caption package, it offers many ways for customizing captions and their numbering and it's well documented. Just follow the link to find the manual.
Stefan
LaTeX.org admin
Re: Custom Table and Figure numbers
I have a different question though.
\caption package did give figure2.1 figure 2.2 etc. for figures under chapter 2.
Then to make all figures in the same document numbering continuously like figure 1, figure 2, ... , figure 15. even though figure 15 belongs to chapter 4.
I tried following code after surfing the internet.
\newcounter{figure}
\def\thefigure{\arabic{figure}}
\def\p@figure{Figure~}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{Figure~\thefigure}
\def\figure{\@isatablefalse\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
However, during compile, I was given the error
! LaTex Error: command \c@figure already defined. Or name \end... illegal, see P.192 of the manual.
And the final result by ignoring this error is:
for each chapter, I have figure 1, figure 2, figure 3 on Chapter 1. I have figure 1, figure 2 on Chapter 4 rather than figure 14, figure 15.
Can anyone help??
\caption package did give figure2.1 figure 2.2 etc. for figures under chapter 2.
Then to make all figures in the same document numbering continuously like figure 1, figure 2, ... , figure 15. even though figure 15 belongs to chapter 4.
I tried following code after surfing the internet.
\newcounter{figure}
\def\thefigure{\arabic{figure}}
\def\p@figure{Figure~}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{Figure~\thefigure}
\def\figure{\@isatablefalse\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
However, during compile, I was given the error
! LaTex Error: command \c@figure already defined. Or name \end... illegal, see P.192 of the manual.
And the final result by ignoring this error is:
for each chapter, I have figure 1, figure 2, figure 3 on Chapter 1. I have figure 1, figure 2 on Chapter 4 rather than figure 14, figure 15.
Can anyone help??