Possible Duplicate:
Label and caption without float
Create caption without float AND without caption-package?
Here is an example of LaTeX document being compiled with pdflatex having
- table with caption
- hyperlinked list of tables
:
\documentclass[a5paper,12pt,twoside,openany]{report}
\usepackage[a5paper]{geometry}
\usepackage{fullpage}
\usepackage[colorlinks]{hyperref}
\begin{document}
\begin{table}[htbp]
\begin{center}
\label{mytable}
\caption{mytable}
\begin{tabular}{ll}
\hline
A & B \\
C & D \\
\hline
\end{tabular}
\end{center}
\end{table}
\listoftables
\end{document}
How to make a table, without \begin{table}...\end{table} float, preserving style of table (table having caption, label), and appearing in hyperlinked \listoftables ?
(Situation: Currently I work on document where I have such tables, and I would like to put some of them without floats to force placement or tables and footnotes relating to them.)