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.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Modify LOF- and LOT-Style in KOMA-Script scrreprt

I have modified my TOC with \DeclareTOCStyleEntry[beforeskip=.2cm]{section}{section} giving me a nice spacing between my section level entries. How can I modify the spacing between entries in the LOF ...
1
vote
1answer
61 views

Table of Contents without Boldface Using KOMA Script tocbasic

I would like to have the complete TOC without setting the top level in boldface. In the past I used tocloft but KOMA throws a warning and suggests to use tocbasic. Unfortunately, I didn't understand ...
0
votes
1answer
94 views

Modify format of chapter number in toc independent of chapter number in heading

I want to format the toc-chapter numbers indpendent of the chapter numbers in the text. The chapter number for the appendix should be in small caps. However, I've modified the \chapterformat in a \...
2
votes
2answers
111 views

KOMA toc equal numsep with exact indentation

I'm trying to format the toc, but I stuggle with the horizontal spacing and indentation. The chapter and part headings should have a minimum numsep of 1em for the longest number while also being ...
1
vote
1answer
59 views

KOMA toc: constant distance between section title and pagenumber

For my toc, lof and lot I would like the page numbers to have a constant distance to the chapter, section, etc. titles, wether they have one or two digits. The option linefill from the KOMA command \...
0
votes
1answer
64 views

Spacing between list of listings and algorithms and their reference numbers with tocbasic

Because of this answer to Extending table of contents dots up to large page numbers I am using tocbasic and would like to add more spacing between the reference numbers in the List of listings ...
1
vote
1answer
32 views

Table of content entry pushes large page number into margin

I have just been playing around with this solution to a question I asked Extending table of contents dots up to large page numbers. I noticed the following behaviour. For some very long Roman page ...
5
votes
1answer
450 views

Replacement minitoc package style by KOMA-script possibilities

I have a long document which uses the KOMA-Script book class scrbook and I would like to add a part-level and chapter-level table of contents, as it is shown on figures below: It works, but KOMA ...
3
votes
1answer
112 views

Changing the place of contents in toc with scrreprt

I need to change “contents” word to the right. How can I do it? \documentclass[listof=numbered]{scrreprt} \begin{document} \tableofcontents \chapter{Chapter 1} \cleardoublepage \pagenumbering{Roman} ...
1
vote
1answer
192 views

Add vertical and horizontal spacing between entries of LOF

Does anyone know how I can add vertical and horizontal spacing between the entries of my LOF? \documentclass[12pt,a4paper,twoside]{report} %openright %Schriftart Arial - ACHTUNG: Compile with ...
0
votes
2answers
537 views

List of Figures & Tables - how to move caption label into caption itself

I'm using the article document class (as a base) and the caption package. I essentially need to change my LoF format from the default List of Figures 1 Multiline caption multiline caption multiline ...
1
vote
2answers
326 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
253 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
123 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
322 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
298 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
209 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
2k 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
179 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
340 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
262 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 ...
9
votes
1answer
1k 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
368 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 ...
6
votes
1answer
1k 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 "...