Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tocbasic]

{tocbasic} is a package that allows to create or customize lists of something like the list of figures, list of tables or table of contents and to define new {floats} or non-floating environment similar to floats. It also helps avoiding name conflicts for the auxiliary files of such lists. KOMA-Script classes depend on it, but it can be used with other classes too.

0
votes
2answers
68 views

How to let \listoflistings of minted use subsection's subheading and appear in TOC?

I want the \listoflistings of minted to appear as a subsection heading. (My \documentclass is scrartcl.) Things like \printbibliography have a "heading" option, which you can use to define, which ...
1
vote
1answer
103 views

Customizing Sections in Table of Contents

community, I have received great help many times before on this platform and I really do hope that you can help me yet again! I'm trying to customize my ToC in such a way that things like the List of ...
1
vote
1answer
65 views

How to multicol a chapter (and its sections etc.) in table of contents?

Since the second chapter only contains short sections etc. I would like to have only chapter two multicolumned. With BeforeStartingTOC[toc]{\begin{multicols}{2}} \AfterStartingTOC[toc]{\end{...
2
votes
1answer
110 views

How to indent TOC-entries (as indexes) which have no numbers with tocbasic?

Similar to this question here, how can I indent the chapter*-like entries to the same indent as the numbered chapters? section* work with \KOMAoptions{toc=indentunnumbered}. The main difference to ...
1
vote
1answer
129 views

Remove page number for part and define space before page number with tocbasic

I would like to omit the page number of parts from the TOC. The space between --- (\mypagestyle) and the page number differs, since they are raggedright. The space should always be the same. ` \...
3
votes
2answers
167 views

Remove section titles from list of custom environment if section doesn't contain said environment

This is a follow-up question to this one. In the following MWE, how can I remove section and subsection titles from the \listofusecases if said section or subsection doesn't contain a single usecase ...
8
votes
1answer
734 views

Creating new entry style in tocbasic

I want to customize my table of contents and lists of figures and tables using tocbasic. I originally did these customizations with tocloft. I managed to get almost everything done. However there are ...
2
votes
1answer
114 views

KOMA-Script: Pagenumber immediately after heading in table of contents

I want to use scrbook and the internal commands of KOMA-Script to typeset the table of contents and others (LoF, LoT) in a similar style as this screenshot shows: I couldn't find any hints about it ...
3
votes
1answer
244 views

Chapter names in TOC spanning textwidth

I want to set \@tocrmarg to 0pt in the case of chapter to have it spanning across the whole TOC. I am using the tocbasic package (successor of tocstyle), both are parts of KOMA-Script. MWE: \...
5
votes
2answers
149 views

Is there a Hook like \AtEndDocument for the table of contents?

I have written a document class, and I need to change the page numbering. The table of contents should use roman style page numbering, the rest should use arabic. It would be great if it was possible ...
6
votes
1answer
567 views

Koma-Script: Table of Contents in Two Columns

I have a document in two column mode. All works fine (all in two columns) -- except the table of contents (toc). Strangely I found a solution: \unsettoc{toc}{onecolumn} This leads to a toc in two ...
5
votes
1answer
224 views

Adding “diagrams” to figures and tables / duplicate float?

I am writing a paper using KOMA script (scrartcl) and have a lot of tables, figures and diagrams: the latter really are nothing but figures but need to be counted separately and get their own list of ...
5
votes
1answer
814 views

Formatting “List of something” in accordance to KOMA script

I am using scrbook document class. I've created my own environment named example and I wanted to create "List of examples." In that name I've loaded package tocloft. However as much as I try, the "...