Table of content inside text/body

10 views
Skip to first unread message

Hasan Qunoo

unread,
Jun 5, 2011, 8:08:40 PM6/5/11
to latexus...@googlegroups.com
Hi Guys,

How can I include the table of content of a document or a subset of it
within the latex document body.

For example Chapter 3 has the following structure:

3.1 Introduction
3.2 Body
3.3 Conclusion

I can type them myself but I am looking for a way to do it automatically.

Thanks,

Hasan

Werner Grundlingh

unread,
Jun 5, 2011, 8:38:27 PM6/5/11
to latexus...@googlegroups.com
If you're talking about adding a table of contents per chapter, that is doable via the minitoc package, available online CTAN from:

Werner

Ricardo Barros Duarte d'Oliveira

unread,
Jun 5, 2011, 10:03:19 PM6/5/11
to latexus...@googlegroups.com
Pardon???

the /tableofcontents per default already does that, it list nested chapter, sections and subsections, no need to use minitoc

2011/6/5 Werner Grundlingh <wgrun...@gmail.com>
If you're talking about adding a table of contents per chapter, that is doable via the minitoc package, available online CTAN from:

Werner

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/latexusersgroup/-/b1ZZbWliVzlLaE1K.

To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.



--
Ricardo Barros Duarte d'Oliveira
Computer Science @ UNIFACS

Werner Grundlingh

unread,
Jun 6, 2011, 12:15:58 AM6/6/11
to latexus...@googlegroups.com
The OP questioned whether one can include parts of the Table of Contents in the main LaTeX body text. Minitoc can do this. However, there may be other ways of extracting the content written to {\jobname}.aux without using minitoc - I don't know how to do that.

Werner

Peter Flynn

unread,
Jun 6, 2011, 10:16:13 AM6/6/11
to latexus...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages