LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2009, 11:08 PM   #1
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Rep: Reputation: 15
Latex: adding column names to Table of contents


I have googled for days together to figure out how to add column headings to table of contents but haven't figured it out yet. I have found only pages describing how to format the contents. I want to add column headings for chapter number, title, and page number.

For example, the output would look like

Code:
                Table of Contents

Chapter No.     Title                 Page No.
                Abstract              iii
1.              Introduction          1
2.              Literature Survey     10

.
.
.
.

Is there any word to do it?

Last edited by Carunkumar; 04-14-2009 at 11:09 PM.
 
Old 04-15-2009, 07:40 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
tabular, tabularx, tabulary

all of the packages can do it

\begin{tabular}{|c|c|c|}
\hline \hline
\textbf{Chapter} && \textbf{Title} && \textbf{Page}\\
\hline
1. && ... && ... \\

\end{tabular}

read about the package tabular and the options {|c|c|c|}
 
Old 04-15-2009, 07:43 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
You do not need tabular apparently

If all sections are well defined it is

\tableofcontents ... you need to do nothing

Read about \bigskip, \medskip, \vspace, etc too

Last edited by amani; 04-15-2009 at 07:45 PM.
 
Old 09-03-2009, 02:04 PM   #4
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks a lot :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sql command to copy column from a table tooparam Programming 1 06-19-2007 05:21 AM
how do you shrink a table in latex? hedpe Programming 1 04-05-2007 01:58 PM
table alignment in LaTeX thelonius Programming 1 10-04-2005 07:41 AM
SQL question: Need to add a column from another table Hivemind Programming 3 09-19-2005 06:02 PM
How to write the contents of a column as a row in linux markraem Linux - Software 4 07-17-2004 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration