Articles of table of contents

Elements of TOC styling using memoir class

I have yet another (baffling) question. Suppose I have the figure attached The question is how can I move the chapter numbers to align with the first line of the chapter title ? i.e using the figure, I’d like to move 11 to align with chapter 3 and 9 to align with chapter 2. I […]

Multitoc Package: Center title

I would like to center the title of a 2 column table of contents using the multitoc package. I have searched and read multitoc docs but cannot figure this one out. \documentclass[12pt]{article} \usepackage[toc]{multitoc} \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} \begin{document} \renewcommand*\contentsname{Table of Contents} \tableofcontents \clearpage \section{Question 1} \section{Question 2} \section{Question 3} \section{Question 4} \section{Question A1} \section{Question A2} \section{Question A3} […]

How can I add the bibliography in a report with its own section, including number?

I’m writing my thesis as a report document using TeXShop (pdflatex and bibtex) and want the bibliography to get its own section number and appear in the table of contents. Here’s what I’ve tried so far and the problems arising: \addcontentsline{toc}{section}{References} Does not add the section number, not in the toc and naturally not in […]

Long title in table of content doesn't break properly

My table of contents doesn’t seem to be handling well titles which are just a little bit too long. Here is a screenshot: As you can see some lines are breaking, but some (like the title of section 9.15) are not. Here is the class and packages I use for the document. \documentclass[paper=A5, fontsize=8pt, DIV=calc, […]

Custom table of contents style in ConTeXt

I want to change the style of the table of contents: Chapter entries shouldn’t have a dotted line. (see below) Chapters without a number should have no left spacing. (see below) The dotted line should end at the same “x-position”, no matter if the page number has one or two digits. This is my current […]

Formatting list of custom floats in classic thesis

I am writing a document using classicthesis package, where I have some algorithms written with the clrscode package. I used package float to create a new float named “algorithm”. However when I print the list of algorithms using \listof{algorithm}{List of algorithms} I either get a wrongly formatted list (i.e. with the long series of dots […]

Defining a chapter “outside” the last \part (amsbook)

Currently, I have the following: \documentclass{amsbook} \begin{document} \chapter*{Introduction} \part{First Part} \chapter{1} \chapter{2} \chapter{3} \part{Second Part} \chapter{4} \chapter{5} \chapter*{Conclusion} \end{document} The table of contents is perfect. My only concern is how I see the contents in the side panel of my pdf viewer. Currently it shows: Introduction Part 1 Chapter 1 Chapter 2 Chapter 3 Part […]

How to emulate titletoc with tocloft

I was using titletoc until I realized that it has some incompatibilities with hyperref. The thing is, that titletoc can do the same thing in a easier way, less one. \titlecontents*{subsection}[5.4em] {\small} {\thecontentslabel~ } {} {} [.~\textbullet\ ] [.] this part does the subsection as a paragraph (with section number and without page number). I […]

How do I get a chapter \ref in counting numbers when the ToC uses Roman numerals?

My university’s formatting requirements for theses require Roman numerals for chapters in the table of contents (e.g. “Chapter II ….. Lions”), but for references to chapters within the text, counting numbers are preferred (e.g. “Chapter 2 is about lions.”). When I use the \ref command to generate chapter references (e.g. “Chapter \ref{chap:lions} is about lions”), […]

ToC figures and text overlap

I am using XeLaTeX and memoir to write a longer text with several parts, chapters and sections. When printing the \tableofcontents I get a spacing problem with 2-figure numbers almost overlapping the relevant section name, as per enclosed picture. I am aware that the memoir manual has a section dedicated to this theme, but the […]