Include the word "table" in the "List of tables", "Appendix" in the table of contents, etc.

I need to include the word “Table” at the beginning of each row in my list of tables. That is, instead of:

  LIST OF TABLES
 1   The first table   ........... 10
 2   The second table  ........... 20

I need him to say:

  LIST OF TABLES
 Table 1   The first table   ........... 10
 Table 2   The second table  ........... 20

Yes, I know this is ugly, but these are the rules.

I also need a table of contents to say:

  Table of Contents
 1  The first Chapter             ...... 1

 Appendices

 Appendix A  The A appendix     ........  10

Any idea how to do this in a simple and consistent way?

+3
source share
1 answer

To answer three questions:

  • The table prefix in the table list, put the following in the preamble:

    \ usepackage {tocloft}

    \ newlength \ tablelen

    \ settowidth \ tablelen {table}

    \ addtolength \ cfttabnumwidth {\ tablelen}

    \ renewcommand \ cfttabpresnum {table}

  • "" "", \appendix:

    \ addcontentsline {TOC} {} {}

  • "" , .

http://for.mat.bham.ac.uk/pgweb/thesisfiles/bhamthesisman.pdf http://for.mat.bham.ac.uk/pgweb/thesisfiles/bhamthesis.dtx

, \renewcommand {\ appendix}, addtocontents.

+2

Source: https://habr.com/ru/post/1730776/


All Articles