I am using a locally-written class file to format my M.S. thesis. The
class file manages the formatting details for margins, page numbering,
bibliographies, and the like so I'd like to keep using it if possible.
The class file is a modified version on the report class. My thesis is
only one chapter, and the consequence of this is that figures and tables
are numbered as "Table 0.1:" and "Figure 0.1:", both in the list of tables
and figures and in the figure and table captions. I am looking for a way
to change the numbering from 0.1 and 0.2 to simply 1 and 2 so that the
figure and table captions would read "Table 1:" or "Figure 2:" I have been
unsuccessful in figuring out how to do this and would appreciate some help
please.
Thanks.
-Paul Schwarz
sch...@tc.cornell.edu
Attached is a LaTeX file using report.cls that I've been fiddling with.
==============================================================================
\documentclass{report}
\setcounter{secnumdepth}{-2}
\begin{document}
\title{ My thesis title }
\author{ My name }
\maketitle
% Table of Contents, Lists of Tables and Figures ...
\tableofcontents
\listoffigures
\setcounter{page}{1}
\pagenumbering{arabic}
\section{Introduction}
.
blah blah (Figure~\ref{fig1}).
.
\begin{figure}
Figure 1 goes here.
\caption{caption goes here} \label{fig1}
\end{figure}
\end{document}
--
Paul Schwarz
sch...@tc.cornell.edu
PS> Hello,
PS> I am using a locally-written class file to format my M.S. thesis. The
PS> class file manages the formatting details for margins, page numbering,
PS> bibliographies, and the like so I'd like to keep using it if possible.
PS> The class file is a modified version on the report class. My thesis is
PS> only one chapter, and the consequence of this is that figures and tables
PS> are numbered as "Table 0.1:" and "Figure 0.1:", both in the list of tables
PS> and figures and in the figure and table captions. I am looking for a way
PS> to change the numbering from 0.1 and 0.2 to simply 1 and 2 so that the
PS> figure and table captions would read "Table 1:" or "Figure 2:" I have been
PS> unsuccessful in figuring out how to do this and would appreciate some help
PS> please.
\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}}
--
Piet van Oostrum <pi...@cs.ruu.nl>
URL: http://www.cs.ruu.nl/~piet