Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

FAQ /

TOC

Categories: FAQ, FAQ, TOC
<< | Page list | >>

Frequently Asked Questions about Table of Contents, List of Figures etc.

§1.  How can I get Bibliography, Lists of Figures/Tables and Appendix to appear in the table of contents (TOC)?

  • If you use a KOMA class: use the document option liststotoc
  • Else: use the package tocbibind from CTAN:/, i.e. \usepackage{tocbibind}
  • If you use \usepackage[nottoc]{tocbibind} instead, the toc will not show up in the toc.

§2.  How do I add the index to the TOC?

  • If you use a KOMA-Script class: use the document option idxtotoc.
  • Else,
    • use the package tocbibind from CTAN:/, i.e. \usepackage{tocbibind}, which will add, amongst others, the index to the toc,
    • or add the following to the preamble:
      \let\myIndex\theindex\renewcommand{\theindex}{\cleardoublepage\myIndex\addcontentsline{toc}{section}{\indexname}}
      If you use pdflatex and the PDF bookmark points to a wrong page, do as following instead:
      \let\myIndex\theindex\renewcommand{\theindex}{\cleardoublepage\myIndex\phantomsection\addcontentsline{toc}{chapter}{\indexname}}

§3.  How do I add the nomenclature to the toc in LyX?

  • As noted above if you use a KOMA-Script class you can use the document option idxtotoc to include Bibliography, Lists of Figures/Tables and Appendix. What is not mentioned is that Nomenclature is also included when using this command.
  • Else,
  • Add the following to the preamble:
    \def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname}{\nomname}}

§4.  How do I add additional entries to the table of contents (TOC)?

  • The following LaTeX command:
    \addcontentsline{toc}{chapter}{ABSTRACT}
    will add 'ABSTRACT' to the table of contents and refer to the page where you have inserted this command.
    So this line should be added as ERT to the "page" of the document that you want to appear listed in the table of contents.
This can also be used to include unnumbered sections to the TOC. Just insert the line immediately below the section header.

§5.  How do I ensure/force a blank page after the TOC to get the next section to start on the right (verso) page?

  • Insert \cleardoublepage after the TOC. (Make sure you have "Two-sided document" enabled in Document->Settings->Pagelayout)

FAQ

§6.  How do I use shorter captions in the Lists of Figures and Tables?

Normally, the entire figure or table caption is used as the title for each figure in the list. But if a caption is longer than just a short sentence, it will look out of place in the list. To have a separate short caption that will appear in the list, go to the figure or table, right click in the caption area, and select Insert Short Title.

FAQ TOC

<< | FAQ.PageList | >>

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2014-04-05 16:13 UTC