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.
38
questions
0
votes
1
answer
46
views
New Section Command for new TOC
I have the following structure in my document:
TOC1
Section1
Section2
Subsection2.1
Subsection2.2
Section3
TOC2
Subsection3.1
Subsubsections3.1.x
Subsection3.2
Subsubsections3.2.x
I want the TOC1 ...
2
votes
1
answer
40
views
Spacing and punctuation problems when customizing the list of figures
I am required to modify the appearance of the list of figures and tables so that the indexed elements appear in the form:
Figure X.X: Figure caption...... page
(and the same with the tables).
I'm ...
0
votes
0
answers
11
views
Expanding Multiple Lists beyond four lists with tocbasic
I am using package tocbasic under report, and have successfully expanded the lists to include two new ones, however, I need a third new list. I have entered \DeclareNewTOC successfully and get the new ...
1
vote
1
answer
49
views
Alignt ToC around space between chapter titles and page numbers
Is there a way to center the ToC around the space between the chapter titles and the page number as in this pictures (not aligned to the right of the page, but the whole thing relatively centered, or ...
1
vote
1
answer
71
views
Access to the current section number inside `DeclareTOCStyleEntry`
I'm using KOMA-Script and I want to show additional information inside the TOC.
Imagine the following code:
\section{S}
\immediate\write\@auxout{\global\noexpand\@namedef{@info-\arabic{section}}{Cool ...
1
vote
1
answer
229
views
List of Listings (lstlistings) style in KOMA-Script
This post suggests that scrhack is required to format a list if listings consistently: How to have the list of code listings also in twocolumn? I would like to format my List of Listings consistently ...
0
votes
1
answer
52
views
How to insert extra space between chapters in the LoF/LoT in the komabook class without calling \chapter{...}?
I am using the kaobook template for my PhD thesis. It can be found here on Overleaf.
Due to design reasons, I do not call \chapter{...}, but simply increment the chapter counter manually. Because I ...
2
votes
2
answers
574
views
move from tocstyle to tocbasic
I have been using tocstyle until it was removed.
Here is my definition
\usepackage[%
%%% toc width calculation
tocindentauto, % all widths at the TOCs are calculated by tocindentauto
%%% ...
0
votes
1
answer
185
views
Format Prefix of Custom Float Environment entry in Custom List of Figures
I am working on a document with complex formatting based on report class.
I defined a new List of Figures for Photographs using \DeclareFloatingEnvironment from newfloat package based on this answer. ...
3
votes
0
answers
197
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 ...
1
vote
1
answer
271
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 ...
1
vote
1
answer
74
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 ...
1
vote
1
answer
304
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 ...
0
votes
0
answers
100
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/...
1
vote
1
answer
165
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 ...