Questions tagged [tocstyle]
{tocstyle} is a package providing control over the typography of the Table of Contents and List of Floats.
54
questions
0
votes
0
answers
46
views
Table of contents with horizontal lines like table
In my thesis, I have to change the table of contents layout according to the following picture. Being not so skilled in latex I can't get a way out. The codes of different people at StackExchange are ...
2
votes
2
answers
316
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
386
views
How to replace tocstyle KOMAlike?
I have been using tocstyle up until now like this:
% table of content styling
\usepackage[tocindentauto]{tocstyle}
\usetocstyle{KOMAlike}
\settocstylefeature{pagenumberbox}{\hbox}
I understand that ...
3
votes
0
answers
163
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
8k
views
missing tocstyle.sty file
I've recently installed Miktex, but when I try to edit a styles.sty file (which includes a toc), it gives me the following error:
! LaTeX Error: File `tocstyle.sty' not found.
Type X to quit or <...
3
votes
1
answer
4k
views
What should I use instead of tocstyle?
I'm using tocstyle in my document:
% table of contents customizations:
\usepackage{tocstyle}
\usetocstyle{standard}
\settocfeature{raggedhook}{\raggedright}
\settocfeature{leaders}{\hfill}
Which ...
5
votes
1
answer
901
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 ...
1
vote
2
answers
425
views
Table of contents: section titles ragged right - 2
The problem of having ragged right toc is described in Table of contents: section titles ragged right for articles. The etoolbox-option seem not to work with the book class, and I am not too ...
2
votes
2
answers
458
views
tocstyle: make word "Chapter 1" bold in TOC, but not chapter title
In the scrreprt class, using the package tocstyle, I would like the word "Chapter 1" to be bold in the TOC, but not the title of the chapter (see image). How do I achieve this? As per default, ...
2
votes
1
answer
274
views
Indent unnumbered chapter in TOC with multitoc (in presence of tocstyle)
I'm having a problem mixing multitoc with tocstyle. What I want is my unnumbered chapters in the TOC to be indented (in this case \addchap{Introduction}).
I figured out that \usepackage[...
1
vote
1
answer
649
views
KOMA Script tocstyle tocline, no indent on second line of large entry
How do I un-indent the second line of a large entry in the table of contents with tocstyle tocline on the KOMA Script class scrartcl? I found the same question here: ToC: How to no-indent the second ...
0
votes
1
answer
116
views
How to change the style of Contents to this when book documentclass is used
To meet the requirements of our school, I need the style of contents table like below:
Preface ..................... I
Abstract .................... II
1 Introduction
1.1 Section 1 ............... ...
1
vote
1
answer
211
views
Second table of contents and spacing
I have a problem with spacing my second table of contents to the publishers demands.
They want two tables of contents, one in front showing only chapters (no chapter numbers, easy). The other one in ...
1
vote
1
answer
152
views
Incompatibility between `tocstyle` and `mwbk`
I am aware that tocstyle may have compatibility problems, but it provides, with a few commands, all the predefined styles I may want. On the other hand, I might use titletoc, but it seems less ...
1
vote
1
answer
152
views
Images not appearing in document
I'm using the online tool shareLatex and trying to compile a document that has many images. The images do not appear.
However, I created another test file and pasted the same preamble of the ...
4
votes
3
answers
1k
views
How to make the figure numbers in list of (LOF) figure right-aligned?
This is what it looks like now
What I want is,to look like this
Figure 1.1.1: xxxxx
Figure 1.1.11: xxxxx
Figure 2.1.1: xxxxxx
I tyied to redefine the Caption-Style:
\usepackage{caption}...
0
votes
1
answer
304
views
How do I exclude some subsections in section, while other subsections within the same chapter not?
I have the following document:
\documentclass[11pt, a4paper, headsepline]{scrbook}
\begin{document}
\tableofcontents
\chapter{Chapter one}
\section{Section one.one}
\subsection{Subsection one....
1
vote
1
answer
419
views
Using tocstyle with ACM acmart style
The recent acmart style (try here if that link is broken) doesn't seem to work properly with tocstyle. If I run pdflatex twice on the following document, the second run fails (see below).
\...
0
votes
2
answers
682
views
TOC Space between heading and contentsname
I want to reduce the spacing between the heading and the contentsname or the contentsname and the TOC.
I am using the scrreprt class and the tocstyle package. I couldn't find a command in the ...
1
vote
2
answers
928
views
koma-script/tocstyle: How to remove section entries indentation in table of contents?
For the following code, how can I remove section entries indentation and print ToC like the desired output?
\RequirePackage{luatex85}
\documentclass{scrbook}
\renewcommand*{\chapterformat}{CHAPTER~\...
5
votes
2
answers
360
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 ...
5
votes
1
answer
7k
views
Insert a line break into a TOC item without breaking the line in the chapter title [duplicate]
I have a chapter title that is too long to fit onto one line in the table of contents, but LaTeX does keep it in one line, producing an overfull line in the TOC. How can I insert a line break into ...
4
votes
1
answer
272
views
What to renew to change LOF/LOT links?
Consider the MWE below. I use TIKZ-customization for nice link underlines. (using renewcommand for ref), which I for this MWE replace by \textcolor{red} (so textcolor is not the goal)
As you can see:
...
0
votes
1
answer
114
views
Formatting TOC in Latex
I am trying to create table of contents with each chapter title underlined. No luck so far. Can somebody help. Thanks
2
votes
1
answer
904
views
Edited book: Multiple authors in one chapter and Table of contents for the same
I want to include the author name before the chapter title. I am using the following:
\documentclass{book}
\usepackage{titlesec}
\usepackage{titletoc}
\usepackage{lipsum}% just to generate some text
...
3
votes
3
answers
2k
views
Small caps/small letters for TOC page numbering
I use both Arabic (1, 2, ...) and Roman page numbering (I, II, ...) in my document. However the normal Roman figures look too dominant in the table of contents (e.g. XXVIII). The lower-case Roman ...
1
vote
1
answer
2k
views
Uppercase, italics and hyperlinks in toc of scrartcl without using tocstyle
The table of contents in my document looks like this at the moment:
This is exactly how it should look like (with hyperlinks) - there is one problem, though. I only got this restult by using the ...
5
votes
1
answer
4k
views
LaTeX list of figures/list of tables with KOMA-Script additions
I am pretty new to the wonderful world of LaTeX and I need your help.
I want to add the prefix "Abb." to each entry of the list of figures, and the prefix "Tab." to each entry of the list of tables. ...
3
votes
4
answers
8k
views
Table of contents in scrbook/komascript: add dots to chapter titles
I need to customize the appearance of my table of contents according to the requirements of a publisher.
Here is a minimal example of what it looks like right now:
\documentclass{scrbook}
\begin{...
1
vote
1
answer
378
views
Second ToC with per-chapter author
I am currently writing a larger document with multiple people. For grading purposes we need to specify one author per chapter/section/...
However, I would like to keep the real ToC clutter free, and ...
3
votes
2
answers
2k
views
Add a dot after chapter and section/figure/table number in ToC/LoF/LoT using tocstyle
I am using package tocstyle package to format my ToC/LoF/LoT lists. I saw already some answers using other packages, but none with tocstyle. And the use of tocstyle is "mandatory". I want to have a ...
1
vote
1
answer
78
views
LaTeX ToC not displaying previous chapters
I am writing a thesis and I cannot get my ToC to display itself or anything that appears before it in the document (i.e. my abstract comes before the ToC, but is not listed in the ToC!).
\...
1
vote
1
answer
2k
views
Latex TOC page number position all to top center
I have one problem with the page number in Table of Content.
My settings are:
\documentclass[12pt,a4paper]{report}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{...
2
votes
1
answer
1k
views
How to add "Appendix" as an ToC entry (documentclass: 'article') before the appendices without a pagenumber
I have tried to add "Appendix" in my ToC between the main work and my appendices. I also don't want any page number to be displayed for this ToC entry.
So far I have managed to bodge in an entry ...
8
votes
1
answer
1k
views
roman numbers too wide in table of contents
Consider the Code below:
\documentclass[%
paper=A4,
twoside=true,
fontsize=12pt,
titlepage=true,
listof=totoc,
bibliography=totoc,
listof=flat,
open=right,
...
15
votes
1
answer
56k
views
Start TOC from chapter 1 and also page numbering
Problem:
Start page numbers from chapter one and also reflect this in the TOC.
Currently the code for TOC is:
\renewcommand{\contentsname}{Table of contents}
\setcounter{secnumdepth}{2}
\...
0
votes
0
answers
33
views
Change the notation of the table of contents [duplicate]
I am creating a document displaying rules. I have managed to change the name of "Chapter" to "Article" and only have one more wish, which is to change the way the table of contents displays the ...
3
votes
1
answer
2k
views
tocstyle style settings for user-defined list
I'm using tocloft and tocstyle using settings standard and nopagecolumn for my book. I'd like these settings to apply to my user-defined list of examples (.loe), but haven't had much luck. I naively ...
3
votes
1
answer
374
views
How to remove page numbers in a short toc, but not from the long toc?
I would like to have a short toc with no page numbers at the beginning of my document, but a long toc with page numbers at the end.
My example :
\documentclass[french,a4paper,12pt,twoside]{report}
\...
2
votes
1
answer
768
views
change the font size of \part (depth -1) to LARGE or Large in tocstyle
I am using tocstyle package to format my TOC. It works nicely.
However, I just want to increase a little bit the title of the \part in the TOC. It seems that tocstyle uses \large font as default for ...
4
votes
2
answers
460
views
how to align page numbers in the toc when parts entries are centered and others are left aligned?
MWE:
\documentclass{scrartcl} %{scrbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tocstyle}
\renewcommand*{\addparttocentry}[2]{%
\addtocentrydefault{part}{}{\protect\parbox{...
3
votes
2
answers
698
views
How do i replace the dots in my table of contents between the text and page number with a horizontal line using the tocstyle package?
Due to some major design changes in our corporate identity, its now up to me to update our existing latex document class according to the new design guidelines.
I´m having troubles cutomizing the ...
3
votes
1
answer
1k
views
Contents and Detailed Table of Contents without repetetion and indent
This question has two parts.
Part 1
First, I'm interested to create two TOCs, with a reference in the first shorter TOC the longer and more detailed TOC. Without the reference appearing in the ...
2
votes
2
answers
904
views
Page range in TOC chapter entry in scrbook
I asked the question KOMA: Page range in TOC chapter entry
Answer linked to Chapterwise page range in the TOC
But i do not get the result for the following code...
\documentclass{scrbook}
\...
4
votes
1
answer
2k
views
Upper case chapter titles Tocstyle?
I would like to make table of contents in Tocstyle (standard package). Here is my code.
\documentclass[fontsize=12pt]{scrreprt}
\usepackage{tocstyle}
\usetocstyle{standard}
\addtokomafont{...
3
votes
2
answers
3k
views
How to remove page number in TOC for Part entry (not page number printed in TOC pages)
I want to remove page number in TOC entry for Part (in this example 3 must be removed)
\documentclass{scrbook}
\usepackage{lmodern}% for sans-serif plus bold plus italic
\renewcommand\partname{...
4
votes
1
answer
2k
views
Format ToC in KOMA-Script
I want to make the page number italic in the ToC.
\documentclass{scrbook}
\usepackage{blindtext}
\usepackage{tocstyle}
\usetocstyle{nopagecolumn}
\begin{document}
\tableofcontents
\blinddocument
...
5
votes
2
answers
748
views
TOC: part name in center with out page number
I want to put part name in center of TOC as MODULE - I with out page number.
\documentclass{scrbook}
\usepackage[english]{babel}
\usepackage{lipsum}
\usepackage{tocstyle}
\renewcommand{\partname}{...
3
votes
0
answers
353
views
Inconsistent OSF in Table of Contents using Microtype, LuaLaTeX and Tocstyle [closed]
My table of contents should have the following properties:
oldstyle figures for page numbers and labels
chapter entries in spaced, lowercase smallcaps
numbers close (en-space) to the entries, no ...
8
votes
1
answer
3k
views
Having a default \tableofcontents with tocstyle package
I am using roman numerals for everything. In my list of tables, my XVIII'th table was encroaching on the name of the table, so I did \usepackage{tocstyle} which completely fixed this problem.
Before ...