1
vote
1answer
20 views

Include sections of some chapters but not others in table of contents

The title pretty much says it all. I have a long document, which contains chapters, sections, subsections.... The table of contents should only include sections for most of the chapters, but ...
2
votes
0answers
63 views

Add \paragraph type entries to beamer table of contents

I want a beamer TOC slide like this: SECTION 1 ..Subsection 1 ......Slide Title 1 ..Subsection 2 ......Slide Title 2 ......Slide Title 2 NEXT SECTION ......Another Slide Title In documents I use ...
4
votes
1answer
42 views

How not show on the Table of Contents the subsubsubsection?

I found this little snippet to get subsubsubsection: % -- For subsubsubsections: \setcounter{secnumdepth}{4} \setcounter{tocdepth}{3} \makeatletter \newcounter {subsubsubsection}[subsubsection] ...
2
votes
2answers
99 views

Create new section commands (with correct TOC entries) in KOMA-Script

What is needed to make a new sectioning command which outputs a correct entry in the TOC? For example, a command \foo which outputs something similar to \subsection in the TOC (and in the main ...
3
votes
1answer
103 views

LaTeX - Different section names in TOC from body

Sorry if this question already appears elsewhere, I couldn't find it. Is there a way to label a section in the text but give it a different name in the table of contents? I have very long section ...
4
votes
1answer
66 views

Small caps in section but not in ToC

With LaTeX, I would like to set all my section titles in small capitals but I need the \textsc to be 'cancelled' in my table of content. Is that possible somehow ? I currently do this : ...
4
votes
2answers
97 views

Different names of sections

I wish to name my sections as "Exercise x - name" in the text but as "Exercise x" in the ToC and in the \leftmark. Does anyone have an idea for this? I have tried just manipulating my \leftmark by ...
4
votes
1answer
54 views

Fix spacing from sections in toc, and part title

I've got to fix a friend's work that was done with latex. I've got almost all done, but there are a couple of issues that I couldn't fix, so I would like if you can help me please (an article ...
1
vote
1answer
90 views

How to create inner section like environment with sub-table of contents?

Is there an easy way to create a inner section like environment that can produce a sub-table of contents at a preferred location? The sub-table does not necessarily need to give page numbers, but it ...
6
votes
1answer
249 views

Numbering subsubsections in beamer

I tried using \setbeamertemplate{subsubsection in toc}[subsubsections numbered] but this does not seem to work. Here is a full example: \documentclass{beamer} \setbeamertemplate{section in ...
8
votes
1answer
7k views

Hyperref, Table of Contents and subsections

I have encountered a problem in latex that I have not been able to solve. While the hyperref package generates clickable links in the table of contents, it does not link any subsection to the actual ...
9
votes
1answer
3k views

How to make \subsection not appear in the ToC

How do I get a sub \subsection{title} I choose not not appear in the ToC and not interfere with the counting of the other \subsection's?
6
votes
2answers
3k views

How to remove “zero” preceding section number?

\documentclass[11pt]{book} \usepackage[svgnames]{xcolor} \makeatletter \let\stdl@section\l@section \renewcommand*{\l@section}[2]{% \stdl@section{\textcolor{blue}{#1}}{\textcolor{blue}{#2}}} ...
6
votes
3answers
2k views

Include only paragraph titles in the table of contents

My Latex document has a large number of paragraphs (about 10 per page), and I'd like to build a list of the titles of all these paragraphs. For example, given the following document: ...
18
votes
4answers
2k views

Centering \section* and adding them to the ToC

I'm using LaTeX and the book class and have one problem: I want that my starred sections (only starred sections) appear in the center of the pages instead of the left side of the pages and also these ...