General ⇒ Change reference labels
Change reference labels
Just working on my thesis. I am using the book document style and everything is
set out in chapters.
Currently, my appendix is set up as a chapter as well. Everything looks find but
rather than my figures and tables in appendix being captioned with "Table 6.1: blah"
I need them to be labeled "Table A", "Figure A" etc.
As I am using a template for my thesis I am about confused about how the system works. Is there an easy way to change the numbering of references in one particular chapter.
Any help, or a nudge in the right direction would be great.
Regards,
Dan
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: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Change reference labels
if you want to change the numbering I recommend to use the chngcntr package, it allows numbering within sections or chapters and also to remove this behavior.
Further you could modify a counter by yourself using \setcounter:
Code: Select all
\setcounter{table}{5}
To change the appearance of the table or figure counter redefine \thetable or \thefigure, for example:
Code: Select all
\renewcommand*\thetable{\Alph{table}}
Stefan
Change reference labels
So something like this:
Code: Select all
\documentclass[oneside]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\begin{document}
% Normal part
\chapter{Blah}
Blah blah blah
\appendix % Appendix starts here
\chapter{Blah}
\begin{table}
\caption{Blah.}
\begin{tabular}{|c|c|c|c|c|}
\hline
& & & & \tabularnewline
\hline
\hline
& & & & \tabularnewline
\hline
& & & & \tabularnewline
\hline
& & & & \tabularnewline
\hline
& & & & \tabularnewline
\hline
\end{tabular}
\end{table}
\end{document}
ChE
Change reference labels
Thanks very much for the reply, however I am still having a bit of trouble.
Basically, what I am doing is banging all my figures, listings, tables in chap7.tex
During the other chapters I am using something like:
Code: Select all
\textit{(see Table \ref{table})}
I have tried the \appendix suggestion and I am currently investigating the chngcntr package.
Anymore advise would be appreciated I will let you know if I find the solution

As always, thanks very much.
~ Dan