Sourcefabric Manuals

 English |  Español |  Français |  Italiano |  Português |  Русский |  Shqip

Booktype 1.6 for Authors and Publishers

Table of Contents Style

You can also change the style of the Table of Contents at the front of the book. To do this you must open the Advanced CSS panel and look at the Booktype CSS field:

 

Here you can find a lot of CSS that defines some advanced items including the Table of Contents. If you scroll down this window you will find the ToC CSS:

 /* TOC ******************************/
table {
  float: none;
}

table.toc {
  font-size: 1.1em;
  width: 95%;
}

table.toc td{
  vertical-align:top
  padding-left: 0.5em;
}

td.chapter {
  padding: 0 0.5em;
  text-align: right;
}

table.toc td.pagenumber {
  text-align: right;
  vertical-align:bottom;
}

td.section {
  padding-top: 1.1em;
  font-weight: bold;
}
/* End TOC **************************/
You can change any element here and it will have an effect on the look and feel of the Table of Contents.

There has been error in communication with Booktype server. Not sure right now where is the problem.

You should refresh this page.