[Tugindia] How to draw Boxes in toc
Anil C R
cr.anil at gmail.com
Fri Jun 4 13:19:01 CEST 2010
Hi,
But, this way I will need to enter the chapters and sections manually. Any
way to do this with \tableofcontents?
Anil
On Fri, Jun 4, 2010 at 4:34 PM, Manjunatha G. <manju at rri.res.in> wrote:
>
> Hi!
> Use the following to get a table like you want..
>
> \documentclass[]{article}
> \begin{document}
> \begin{table}
> \begin{center}
> \begin{tabular}{*{3}{|l}|}
> \hline
> Sl. & Chapter Name & Pg. No.\\
> \hline
> 1 & Chapter 1 & 1 \\
> & 1.1 Subsec 1 & 2\\
> \hline
> 2 & Chapter 2 & 5\\
> \hline
> \end{tabular}
> \caption{..}
> \end{center}
> \end{table}
> \end{document}
>
>
> On Fri, 4 Jun 2010, Anil C R wrote:
>
> Hi all,
>> I need make the toc look like a table...
>> I want it to be something like this:
>> __________________________________
>> |Sl. | Chapter Name | Pg. no |
>> |____|______________|________|
>> |1 | Chapter 1 | 1|
>> | | 1.1subsec1 | 2|
>> |____|______________|________|
>> |2 | Chapter 2 | 5|
>> |____|______________|________|
>>
>> Anil
>> _______________________________________________
>> Home: http://www.tug.org.in/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>>
>> _______________________________________________
> Home: http://www.tug.org.in/
> TeX FAQ: http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>
More information about the tugindia
mailing list