4
votes
1answer
36 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
72 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
35 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
58 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
92 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
5k 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 ...
6
votes
1answer
2k 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?
5
votes
2answers
2k 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}}} ...
5
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 ...