Graphics, Figures & Tables ⇒ Custom Table and Figure numbers
Custom Table and Figure numbers
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
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: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Custom Table and Figure numbers
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
Re: Custom Table and Figure numbers
\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??