Graphics, Figures & TablesGNUMERIC Tables: Issues

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

GNUMERIC Tables: Issues

Post by sw3quant »

Hello.

I am new to Latex. I am using MikTex 2.8, WinEdt 6, JABREF 2.6 and Windows Vista. I am creating PDFs, working from a template:
http://www-h.eng.cam.ac.uk/help/tpl/tex ... PSnPDF.zip

I have a number of very large tables of data, so I am using GNUMERIC to save the tables as tex files and then doing "\input{Chapter1/Chapter1Tables/Table1A.tex}".
This works well and I can see my tables in the compiled PDF.

In my main tex file I write "\listoftables". I would like this to do what "\listoffigures" does:
1. Place a name next to each Table, like "Table 1A"
2. Compile a list of these tables under the heading "list of tables" at the start of these and link to each table

At the moment, List of tables appears at the front of the thesis but without any mention of the inserted tex file.

I am guessing somehow I need to tell Latex that the tex file I have inserted is actually a table

Many thanks

hugh

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

GNUMERIC Tables: Issues

Post by php1ic »

A table is a float like a figure so you need to have a \begin{table}..\end{table} somewhere for it to appear in the \listoftables. What does Table1A.tex contain, only a tabular environment?

You could try

Code: Select all

\begin{table}[thb]
\input{Chapter1/Chapter1Tables/Table1A.tex}
\end{table}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

GNUMERIC Tables: Issues

Post by localghost »

sw3quant wrote:[…] I am new to Latex. I am using MikTex 2.8, WinEdt 6, JABREF 2.6 and Windows Vista. I am creating PDFs, working from a template:
http://www-h.eng.cam.ac.uk/help/tpl/tex ... PSnPDF.zip […]
Instead of always introducing your problems with a link to that ZIP archive you should better prepare a proper minimal working example (MWE) that reproduces a problem clearly.


Thorsten
Post Reply