Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
64 views

What is the equivalent of \usetocstyle in tocbasic

Miktex considers the tocstyle package to be obsolete and suggests using tocbasic instead. However, with tocbasic I get undefined control sequence at \usetocstyle. I found that \DeclareTOCStyleEntries ...
user avatar
1 vote
1 answer
24 views

retaining \listoffigures and \listoftables in \tableofcontents when they are controlled by tocbasic

How can the List of Figures and List of Tables be included in the Table of Contents when they have been placed under the control of the tocbasic package? Ordinarily, these listings can be included by ...
user avatar
  • 7,564
1 vote
1 answer
26 views

replicating the vertical spacing of \listoffigures in a custom list made with tocbasic

I have used tocbasic to create a custom environment. The appearance of this environment's listing, however, differs from the default listings (i.e., \listoffigures and \listoftables). Differences in ...
user avatar
  • 7,564
1 vote
1 answer
68 views

adding custom list to table of contents

How can a list for a custom environment, created using KOMA script's \DeclareNewTOC, be included in the table of contents? In the example below, the 'List of Photos' does not appear in the table of ...
user avatar
  • 7,564
0 votes
0 answers
62 views

Latest release of koma-script: compilation hangs at tocbasic

I had been using a modified version of this template https://www.overleaf.com/latex/templates/my-resume/qxsxdtmknkfr for my resume without problems (class file at https://github.com/...
user avatar
  • 21
1 vote
1 answer
62 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 ...
user avatar
  • 111
1 vote
1 answer
149 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 ...
user avatar
  • 2,680
0 votes
1 answer
145 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 \...
user avatar
  • 508
2 votes
2 answers
197 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 ...
user avatar
  • 508
1 vote
1 answer
81 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 \...
user avatar
  • 508
0 votes
1 answer
185 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 ...
user avatar
  • 2,407
1 vote
1 answer
81 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 ...
user avatar
  • 2,407
5 votes
1 answer
659 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 ...
user avatar
  • 3,516
3 votes
1 answer
148 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} ...
user avatar
  • 934
1 vote
1 answer
229 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 ...
user avatar
0 votes
2 answers
801 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 ...
user avatar
1 vote
2 answers
615 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 ...
user avatar
  • 910
1 vote
1 answer
367 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 ...
user avatar
  • 379
1 vote
1 answer
181 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{...
user avatar
2 votes
1 answer
482 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 ...
user avatar
2 votes
1 answer
353 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. ` \...
user avatar
3 votes
2 answers
224 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 ...
user avatar
  • 3,772
8 votes
1 answer
3k 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 ...
user avatar
  • 48.7k
3 votes
1 answer
216 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 ...
user avatar
  • 3,224
3 votes
1 answer
381 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: \...
user avatar
  • 2,782
5 votes
2 answers
320 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 ...
user avatar
  • 105
9 votes
1 answer
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 ...
user avatar
4 votes
1 answer
443 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 ...
user avatar
  • 4,863
6 votes
1 answer
2k 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 "...
user avatar
  • 5,473